From 78297bb2495544d9feac831b2b644c0bc554062b Mon Sep 17 00:00:00 2001 From: Yufan Sheng Date: Tue, 15 Oct 2024 22:42:16 +0800 Subject: [PATCH] feat: add not by ai badge. --- src/assets/styles/globals.css | 6 +++ src/components/header/Header.astro | 85 ++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/src/assets/styles/globals.css b/src/assets/styles/globals.css index 9b040c1..f8b0210 100644 --- a/src/assets/styles/globals.css +++ b/src/assets/styles/globals.css @@ -2044,6 +2044,12 @@ a:hover .overlay { } } +.not-by-ai { + display: block; + margin-bottom: 10px; + width: 120px; +} + .site-submenu { -ms-flex-negative: 0; flex-shrink: 0; diff --git a/src/components/header/Header.astro b/src/components/header/Header.astro index 20055eb..86f1f2c 100644 --- a/src/components/header/Header.astro +++ b/src/components/header/Header.astro @@ -28,6 +28,91 @@ import options from '@/options';
+ { options.socials.map((social) => { if (social.type === 'qrcode') {