From 32e963833ef1d77915a11383a69a8f22d097520b Mon Sep 17 00:00:00 2001 From: isboyjc <214930661@qq.com> Date: Fri, 13 Dec 2024 04:54:40 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20update=20docs=20home=20p?= =?UTF-8?q?age?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/components/CustomLayout.vue | 26 +++ docs/.vitepress/theme/components/HomePage.vue | 154 ++++++++++++++++++ docs/.vitepress/theme/locale/en.js | 9 + docs/.vitepress/theme/locale/index.js | 21 +++ docs/.vitepress/theme/locale/zh.js | 9 + docs/index.md | 31 +--- docs/package.json | 4 +- docs/zh/index.md | 30 +--- .../views/rich-text-page/rich-text-page.vue | 19 ++- pnpm-lock.yaml | 8 +- 10 files changed, 255 insertions(+), 56 deletions(-) create mode 100644 docs/.vitepress/theme/components/HomePage.vue create mode 100644 docs/.vitepress/theme/locale/en.js create mode 100644 docs/.vitepress/theme/locale/index.js create mode 100644 docs/.vitepress/theme/locale/zh.js diff --git a/docs/.vitepress/theme/components/CustomLayout.vue b/docs/.vitepress/theme/components/CustomLayout.vue index 2a0e49c..11f70bc 100644 --- a/docs/.vitepress/theme/components/CustomLayout.vue +++ b/docs/.vitepress/theme/components/CustomLayout.vue @@ -53,6 +53,32 @@ provide("toggle-appearance", async ({ clientX: x, clientY: y }) => {