diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 6c2747c..f439f72 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -98,5 +98,23 @@ export default defineConfig({ "/CLI/": { base: "/CLI/", items: sidebarCLI() }, "/SPL-Token/": { base: "/SPL-Token/", items: sidebarSPL() }, }, + docFooter: { + prev: "上一页", + next: "下一页", + }, + outline: { + label: "页面导航", + }, + editLink: { + pattern: "https://github.com/Fankouzu/solana-basic-ui/edit/main/docs/:path", + text: "在 GitHub 上编辑此页面", + }, + lastUpdated: { + text: "最后更新于", + formatOptions: { + dateStyle: "short", + timeStyle: "medium", + }, + }, }, -}); \ No newline at end of file +}); diff --git a/docs/img/solanaLogo.svg b/docs/img/solanaLogo.svg new file mode 100644 index 0000000..08ec87c --- /dev/null +++ b/docs/img/solanaLogo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/img/solanaLogoMark.svg b/docs/img/solanaLogoMark.svg new file mode 100644 index 0000000..0205433 --- /dev/null +++ b/docs/img/solanaLogoMark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 3750c96..6912824 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,12 +6,47 @@ hero: text: 由崔棉大师@MasterCui为您带来的Solana开发入门教学. tagline: solana,web3,blockchain,bitcoin,ethereum actions: - - theme: brand - text: 开始 - link: /start - theme: alt text: View on GitHub link: https://github.com/Fankouzu/solana-basic-ui + image: + src: /img/solanaLogo.svg + alt: VitePress +features: + - icon: + title: Solana介绍 + details: 概念,租金,钱包... + link: /Introduction/overview + - icon: + title: CLI命令行工具 + details: 链接,质押,部署... + link: /CLI/connecting-to-a-cluster + - icon: + title: SPL Token + details: 发行,铸造,非同质化... + link: /SPL-Token/index --- -测试嵌入视频 - + + +