diff --git a/src/pages/index.js b/src/pages/index.js
deleted file mode 100644
index affcd90..0000000
--- a/src/pages/index.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import React 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 styles from './index.module.css';
-
-function HomepageHeader() {
- const {siteConfig} = useDocusaurusContext();
- return (
-
- );
-}
-
-export default function Home() {
- const {siteConfig} = useDocusaurusContext();
- return (
-
-
-
-
-
-
- );
-}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
new file mode 100644
index 0000000..24f72c7
--- /dev/null
+++ b/src/pages/index.tsx
@@ -0,0 +1,126 @@
+import React from 'react';
+import clsx from 'clsx';
+import Link from '@docusaurus/Link';
+import Translate, {translate} from '@docusaurus/Translate';
+import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
+import Layout from '@theme/Layout';
+import HomepageFeatures from '@site/src/components/HomepageFeatures';
+import useBaseUrl, {useBaseUrlUtils} from '@docusaurus/useBaseUrl';
+import Heading from '@theme/Heading';
+import styles from './styles.module.css';
+
+function HomepageHeader() {
+ const {siteConfig} = useDocusaurusContext();
+ return (
+
+ );
+}
+
+function TopBanner() {
+ return (
+
+
+ {'🎉\xa0'}
+
+
+ {'我们即将开源!️'}
+
+
+ {'\xa0🥳'}
+
+
+
+
+ 包括框架代码、以及十万字以上的技术文档
+
+
+
+
+
+
+ );
+}
+
+function HeroBanner() {
+ return (
+
+
+
+
+ self-evolving and interoperable system for future digital world',
+ description:
+ 'Home page hero title, can contain simple html tags',
+ }),
+ }}
+ />
+
+
+
+ Whitepaper
+
+
+ Documentation
+
+
+
+
+
+
+
+ );
+}
+
+export default function Home(): JSX.Element {
+ const {siteConfig} = useDocusaurusContext();
+ return (
+
+
+
+
+
+
+
+ );
+}
diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css
index d318799..ed3e63b 100644
--- a/src/pages/styles.module.css
+++ b/src/pages/styles.module.css
@@ -232,3 +232,28 @@ html[data-theme='dark'] .topBannerTitleText {
.test-marker-site-index-page {
content: 'site-index-page';
}
+
+
+
+
+
+
+
+.heroBanner {
+ padding: 4rem 0;
+ text-align: center;
+ position: relative;
+ overflow: hidden;
+}
+
+@media screen and (max-width: 996px) {
+ .heroBanner {
+ padding: 2rem;
+ }
+}
+
+.buttons {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}