From ebed1799dc5b2e864cc24d673e938256ece7365a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= Date: Fri, 14 Mar 2025 01:27:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=85=8D=E7=BD=AE=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E4=B8=8B=E5=88=92=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/index.ts | 5 +++++ docs/index.md | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 🚧 施工中 很高兴见到你!但很抱歉,这个项目还在施工中。