From b6088dd331d3351ec9665f9c93141a616f6d8408 Mon Sep 17 00:00:00 2001 From: isboyjc <214930661@qq.com> Date: Tue, 4 Jun 2024 18:38:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B:=20update=20footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.js | 25 +++++++++++++--------- .vitepress/theme/components/CustomHome.vue | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.vitepress/config.js b/.vitepress/config.js index 4d93d39..a5edc9b 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -1,5 +1,5 @@ /* - * @LastEditTime: 2024-06-04 17:53:48 + * @LastEditTime: 2024-06-04 18:37:43 * @Description: ... * @Date: 2023-09-19 19:04:57 * @Author: isboyjc @@ -100,6 +100,13 @@ export default defineConfig({ } ] }, + socialLinks: [ + { icon: icons.mail, link: `Mailto:${mail}` } + ], + footer: { + psf: publicSecurityFiling, + icp: icp, + }, }, }, en: { @@ -160,18 +167,16 @@ export default defineConfig({ } ] }, + socialLinks: [ + { icon: icons.mail, link: `Mailto:${mail}` } + ], + footer: { + psf: publicSecurityFiling, + icp: icp, + }, }, } }, - themeConfig: { - socialLinks: [ - { icon: icons.mail, link: `Mailto:${mail}` } - ], - footer: { - psf: publicSecurityFiling, - icp: icp, - }, - }, markdown: { lineNumbers: true, }, diff --git a/.vitepress/theme/components/CustomHome.vue b/.vitepress/theme/components/CustomHome.vue index f905482..c5ef387 100644 --- a/.vitepress/theme/components/CustomHome.vue +++ b/.vitepress/theme/components/CustomHome.vue @@ -34,7 +34,7 @@ const price = ref({ :enter="{ opacity: 1, y: 0, scale: 1 }" :delay="0" :duration="400" - href="https://islenote.com" + :href="routerPath(lang, '/docs/testing')" target="_blank" class="h-34px font-semibold text-primary rounded-full px-5 text-sm leading-6 border-2 border-solid border-primary flex-center duration-200 no-underline!" uno-hover="bg-primary text-[var(--vp-c-neutral-inverse)]!"