2025-03-03 21:04:32 +08:00
|
|
|
|
import type {ReactNode} from 'react';
|
|
|
|
|
|
import clsx from 'clsx';
|
|
|
|
|
|
import Link from '@docusaurus/Link';
|
|
|
|
|
|
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
|
|
|
|
|
import Layout from '@theme/Layout';
|
|
|
|
|
|
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
|
|
|
|
|
import Heading from '@theme/Heading';
|
|
|
|
|
|
|
|
|
|
|
|
import styles from './index.module.css';
|
|
|
|
|
|
|
|
|
|
|
|
function HomepageHeader() {
|
|
|
|
|
|
const {siteConfig} = useDocusaurusContext();
|
|
|
|
|
|
return (
|
|
|
|
|
|
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
|
|
|
|
|
<div className="container">
|
|
|
|
|
|
<Heading as="h1" className="hero__title">
|
|
|
|
|
|
{siteConfig.title}
|
|
|
|
|
|
</Heading>
|
|
|
|
|
|
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
2025-10-02 17:20:17 +08:00
|
|
|
|
<div>
|
|
|
|
|
|
实验室位置:弘毅楼 716
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<br/>
|
2025-03-03 21:04:32 +08:00
|
|
|
|
<div className={styles.buttons}>
|
|
|
|
|
|
<Link
|
|
|
|
|
|
className="button button--secondary button--lg"
|
|
|
|
|
|
to="/docs/intro">
|
2025-09-24 22:14:59 +08:00
|
|
|
|
查看阅前须知
|
2025-03-03 21:04:32 +08:00
|
|
|
|
</Link>
|
|
|
|
|
|
</div>
|
2025-03-04 23:30:03 +08:00
|
|
|
|
<h3> </h3>
|
2025-10-02 18:31:26 +08:00
|
|
|
|
<div className={styles.buttons}>
|
|
|
|
|
|
<Link
|
|
|
|
|
|
className="button button--secondary button--lg"
|
|
|
|
|
|
to="/docs/exam/intro">
|
|
|
|
|
|
2025届电子竞赛实验室招新信息 🧑🏼💻
|
|
|
|
|
|
</Link>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<h3> </h3>
|
2025-03-04 23:30:03 +08:00
|
|
|
|
<div className={styles.buttons}>
|
|
|
|
|
|
<Link
|
|
|
|
|
|
className="button button--secondary button--lg"
|
2025-09-27 22:03:13 +08:00
|
|
|
|
to="/docs/2025-03-03_prize-of-history">
|
2025-03-04 23:30:03 +08:00
|
|
|
|
获奖统计 🏆
|
|
|
|
|
|
</Link>
|
|
|
|
|
|
</div>
|
2025-03-03 21:04:32 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</header>
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export default function Home(): ReactNode {
|
|
|
|
|
|
const {siteConfig} = useDocusaurusContext();
|
|
|
|
|
|
return (
|
|
|
|
|
|
<Layout
|
2025-03-03 22:53:14 +08:00
|
|
|
|
title={`${siteConfig.title}`}
|
2025-03-03 21:04:32 +08:00
|
|
|
|
description="Description will go into a meta tag in <head />">
|
|
|
|
|
|
<HomepageHeader />
|
|
|
|
|
|
<main>
|
|
|
|
|
|
<HomepageFeatures />
|
|
|
|
|
|
</main>
|
|
|
|
|
|
</Layout>
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|