Skip to content

Commit

Permalink
Update and rename index.mdx to index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SilianZ authored Jun 14, 2024
1 parent 043aa97 commit 9e766af
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 33 deletions.
41 changes: 41 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import Layout from "@theme/Layout";
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/react";
import Link from "@docusaurus/Link";
import styles from "./index.module.css";
import HomepageFeatures from "@site/src/components/HomepageFeatures";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
import React from "react";

export default function HomePage() {
return (
<Layout title="主页">
<div className={styles.hero}>
<div className={styles.heroInner}>
<Heading as="h1" className={styles.heroProjectTagline}>
<img
width="300"
className={styles.heroLogo}
src="./img/logo.svg"
alt="logo"
/>
<div className={styles.heroTitle}>
<Translate id="homepage.title">
<b>跨系统</b><b>轻量</b>的 OpenBMCLAPI Python 版本
</Translate>
</div>
</Heading>
<div className={styles.buttons}>
<Link className="button button--primary" to="/docs/introduction">
<Translate id="homepage.button">快速开始 ⚡ </Translate>
</Link>
</div>
</div>
</div>
<HomepageFeatures />
<Analytics />
<SpeedInsights />
</Layout>
);
}
33 changes: 0 additions & 33 deletions src/pages/index.mdx

This file was deleted.

0 comments on commit 9e766af

Please sign in to comment.