diff --git a/docs/website/components/index/index.tsx b/docs/website/components/index/index.tsx index 57e985da10..e9e05e68b1 100644 --- a/docs/website/components/index/index.tsx +++ b/docs/website/components/index/index.tsx @@ -101,9 +101,9 @@ export default function Index({ {/* FEATURES */} -
+
-

+

{featuresTitle.split(' ').slice(0, -1).join(' ')}{' '} {featuresTitle.split(' ').slice(-1)}

@@ -114,12 +114,18 @@ export default function Index({ className="flex flex-col items-center justify-center md:items-start md:justify-start" >
- features logo + features logo

{feature.title}

-

+

{feature.description}

diff --git a/docs/website/theme.config.tsx b/docs/website/theme.config.tsx index 17eb6f0a61..856b3cdec3 100644 --- a/docs/website/theme.config.tsx +++ b/docs/website/theme.config.tsx @@ -7,7 +7,7 @@ import { useConfig } from 'nextra-theme-docs' const theme: DocsThemeConfig = { docsRepositoryBase: 'https://github.com/rooch-network/rooch/blob/main/docs/website', nextThemes: { - defaultTheme: 'light', + defaultTheme: 'system', }, logo: (
@@ -56,49 +56,52 @@ const theme: DocsThemeConfig = { ? 'Unlocking infinite utility for the Bitcoin Economy' : '开启比特币经济的无限可能' return ( - <> - - - - {/* MULTI-LANGUAGES */} - - - - - - {/* WEBSITE */} - - - - - {/* TWITTER */} - - - - - - - - {/* FAVICON */} - - - - - + <> + + + + {/* MULTI-LANGUAGES */} + + + + + + {/* WEBSITE */} + + + + + {/* TWITTER */} + + + + + + + + {/* FAVICON */} + + + + + ) }, - project: { - link: 'https://github.com/rooch-network', + project: { + link: 'https://github.com/rooch-network', }, chat: { link: 'https://discord.gg/rooch',