diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 7f5d48f..e2dca16 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -9,6 +9,7 @@ import ArticleInfo from './components/ArticleInfo.vue' import { FooterData } from '../../home-footbar.mts' import { HomeFooter, + HomeUnderline, ShareButton } from '@theojs/lumen' import { @@ -99,5 +100,9 @@ export default { } }, } as Options) + + // [配置] 首页下划线 + // docs: https://lumen.theojs.cn/guide/homeunderline + app.component('Home', HomeUnderline) } } satisfies Theme diff --git a/docs/index.md b/docs/index.md index f2553b2..df7a9c7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,8 @@ layout: home hero: name: "就这么弄" - text: "简单步骤与实用技巧" + text: "简单步骤" + textsuffix: "与实用技巧" image: src: /assets/logo.svg alt: VitePress @@ -30,6 +31,8 @@ hero: # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit --- + + ::: warning 🚧 施工中 很高兴见到你!但很抱歉,这个项目还在施工中。