From 82b133a1a9a100157623877c9391c3640eada4a8 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Fri, 15 Dec 2023 20:49:17 +0000 Subject: [PATCH] update announcement pill --- .vitepress/constants.ts | 8 ++++---- .vitepress/theme/components/Feedback.vue | 24 ++++++++++++++++++------ index.md | 4 ++-- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/.vitepress/constants.ts b/.vitepress/constants.ts index 93440e350..b8e01c256 100644 --- a/.vitepress/constants.ts +++ b/.vitepress/constants.ts @@ -13,10 +13,10 @@ export const commitRef = process.env.COMMIT_REF process.env.COMMIT_REF }">${process.env.COMMIT_REF.slice(0, 8)}` : process.env.CF_PAGES - ? `${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}` - : "dev"; + ? `${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}` + : "dev"; export const socials: DefaultTheme.SocialLink[] = [ { icon: "github", link: "https://github.com/fmhy/FMHYEdit" }, diff --git a/.vitepress/theme/components/Feedback.vue b/.vitepress/theme/components/Feedback.vue index 5dca5adc6..228a75ee1 100644 --- a/.vitepress/theme/components/Feedback.vue +++ b/.vitepress/theme/components/Feedback.vue @@ -57,7 +57,10 @@ async function handleSubmit(type?: FeedbackType["type"]) {
- @@ -73,14 +76,23 @@ async function handleSubmit(type?: FeedbackType["type"]) {
-