From a56e0e5f64600e23d48caa89fe435a81955ca83c Mon Sep 17 00:00:00 2001 From: SkyWT Date: Tue, 6 Feb 2024 23:54:04 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E2=9C=A8=20=E4=BC=98=E5=8C=96=E5=BA=95?= =?UTF-8?q?=E9=83=A8=20Footer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/not-by-ai-dark.svg | 31 +++++++++++++++++++ public/{not-by-ai.svg => not-by-ai-light.svg} | 0 src/components/CCBadge.astro | 12 ------- src/components/Footer.astro | 20 +++++------- src/components/badges/CC.astro | 29 +++++++++++++++++ src/components/badges/NotByAI.astro | 16 ++++++++++ 6 files changed, 83 insertions(+), 25 deletions(-) create mode 100644 public/not-by-ai-dark.svg rename public/{not-by-ai.svg => not-by-ai-light.svg} (100%) delete mode 100644 src/components/CCBadge.astro create mode 100644 src/components/badges/CC.astro create mode 100644 src/components/badges/NotByAI.astro diff --git a/public/not-by-ai-dark.svg b/public/not-by-ai-dark.svg new file mode 100644 index 00000000..1ce51c17 --- /dev/null +++ b/public/not-by-ai-dark.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/not-by-ai.svg b/public/not-by-ai-light.svg similarity index 100% rename from public/not-by-ai.svg rename to public/not-by-ai-light.svg diff --git a/src/components/CCBadge.astro b/src/components/CCBadge.astro deleted file mode 100644 index 0a29ba0d..00000000 --- a/src/components/CCBadge.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- - ---- - - -
- - - - - -
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 40be762e..90928062 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,19 +1,19 @@ --- -import CCBadge from "./CCBadge.astro"; +import CC from "./badges/CC.astro"; +import NotByAI from "./badges/NotByAI.astro"; import ThemeToggle from "./ThemeToggle.astro"; ---