✨ feat: 完善内容
This commit is contained in:
@@ -6,15 +6,15 @@ import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
const config: Config = {
|
||||
title: '湖南科技学院 电子竞赛实验室',
|
||||
tagline: '公网文档',
|
||||
tagline: '公网文档(未完成...)',
|
||||
favicon: 'img/favicon.ico',
|
||||
|
||||
// Set the production url of your site here
|
||||
// url: 'https://huse-lab.online',
|
||||
url: ' https://sayurinana.github.io',
|
||||
url: 'https://huse-lab.online',
|
||||
// url: ' https://sayurinana.github.io',
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: '/huse-lab_public',
|
||||
baseUrl: '/',
|
||||
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
@@ -83,7 +83,7 @@ const config: Config = {
|
||||
},
|
||||
// {to: '/blog', label: 'Blog', position: 'left'},
|
||||
{
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
href: 'https://github.com/sayurinana/huse-lab_source',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
},
|
||||
@@ -96,38 +96,50 @@ const config: Config = {
|
||||
title: 'Docs',
|
||||
items: [
|
||||
{
|
||||
label: 'Tutorial',
|
||||
label: '快速引导',
|
||||
to: '/docs/intro',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Community',
|
||||
items: [
|
||||
{
|
||||
label: 'Stack Overflow',
|
||||
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
||||
label: '实验室守则',
|
||||
to: '/docs/%E5%AE%9E%E9%AA%8C%E5%AE%A4%E5%AE%88%E5%88%99/%E5%AE%9E%E9%AA%8C%E5%AE%A4%E5%AE%88%E5%88%99%E8%AF%95%E8%A1%8C%E7%89%88',
|
||||
},
|
||||
{
|
||||
label: 'Discord',
|
||||
href: 'https://discordapp.com/invite/docusaurus',
|
||||
},
|
||||
{
|
||||
label: 'X',
|
||||
href: 'https://x.com/docusaurus',
|
||||
label: '获奖统计',
|
||||
to: '/docs/%E8%8E%B7%E5%A5%96%E7%BB%9F%E8%AE%A1/2025-03-03_%E5%BE%80%E5%B1%8A%E8%8E%B7%E5%A5%96%E7%BB%9F%E8%AE%A1',
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// title: 'Community',
|
||||
// items: [
|
||||
// {
|
||||
// label: 'Stack Overflow',
|
||||
// href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
||||
// },
|
||||
// {
|
||||
// label: 'Discord',
|
||||
// href: 'https://discordapp.com/invite/docusaurus',
|
||||
// },
|
||||
// {
|
||||
// label: 'X',
|
||||
// href: 'https://x.com/docusaurus',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
title: 'More',
|
||||
items: [
|
||||
{
|
||||
label: 'Blog',
|
||||
to: '/blog',
|
||||
},
|
||||
// {
|
||||
// label: 'Blog',
|
||||
// to: '/blog',
|
||||
// },
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
href: 'https://github.com/sayurinana/huse-lab_source',
|
||||
},
|
||||
{
|
||||
label: '门户页',
|
||||
href: 'https://kdocs.cn/l/cb7Vib8JKlgk',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type {ReactNode} from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import clsx from 'clsx';
|
||||
import Heading from '@theme/Heading';
|
||||
import styles from './styles.module.css';
|
||||
@@ -10,39 +10,48 @@ type FeatureItem = {
|
||||
};
|
||||
|
||||
const FeatureList: FeatureItem[] = [
|
||||
{
|
||||
title: 'Easy to Use',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Docusaurus was designed from the ground up to be easily installed and
|
||||
used to get your website up and running quickly.
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Focus on What Matters',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Docusaurus lets you focus on your docs, and we'll do the chores. Go
|
||||
ahead and move your docs into the <code>docs</code> directory.
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Powered by React',
|
||||
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
description: (
|
||||
<>
|
||||
Extend or customize your website layout by reusing React. Docusaurus can
|
||||
be extended while reusing the same header and footer.
|
||||
</>
|
||||
),
|
||||
},
|
||||
// {
|
||||
// title: 'Easy to Use',
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
|
||||
// description: (
|
||||
// <>
|
||||
// Docusaurus was designed from the ground up to be easily installed and
|
||||
// used to get your website up and running quickly.
|
||||
// </>
|
||||
// ),
|
||||
// },
|
||||
// {
|
||||
// title: 'Focus on What Matters',
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
|
||||
// description: (
|
||||
// <>
|
||||
// Docusaurus lets you focus on your docs, and we'll do the chores. Go
|
||||
// ahead and move your docs into the <code>docs</code> directory.
|
||||
// </>
|
||||
// ),
|
||||
// },
|
||||
// {
|
||||
// title: 'Powered by React',
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
// description: (
|
||||
// <>
|
||||
// Extend or customize your website layout by reusing React. Docusaurus can
|
||||
// be extended while reusing the same header and footer.
|
||||
// </>
|
||||
// ),
|
||||
// },
|
||||
// {
|
||||
// title: '由 Docusaurus && React 强力驱动',
|
||||
// Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
|
||||
// description: (
|
||||
// <>
|
||||
// 使用 <a href='https://docusaurus.io/zh-CN/'>Docusaurus</a> 构建的内容核心网站
|
||||
// </>
|
||||
// ),
|
||||
// },
|
||||
];
|
||||
|
||||
function Feature({title, Svg, description}: FeatureItem) {
|
||||
function Feature({ title, Svg, description }: FeatureItem) {
|
||||
return (
|
||||
<div className={clsx('col col--4')}>
|
||||
<div className="text--center">
|
||||
|
||||
@@ -21,7 +21,7 @@ function HomepageHeader() {
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="/docs/intro">
|
||||
Docusaurus Tutorial - 5min ⏱️
|
||||
进入快速引导
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@ export default function Home(): ReactNode {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
title={`${siteConfig.title}`}
|
||||
description="Description will go into a meta tag in <head />">
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
|
||||
1
static/CNAME
Normal file
1
static/CNAME
Normal file
@@ -0,0 +1 @@
|
||||
huse-lab.online
|
||||
Reference in New Issue
Block a user