From 2bcb8454109deab4f2e37aa0336da5e3fbf8bc52 Mon Sep 17 00:00:00 2001 From: qhan Date: Thu, 29 Feb 2024 12:38:27 +0800 Subject: [PATCH] feat(site/blog): improve performance --- site/blog/app/(web)/components/Bizk.tsx | 10 +- site/blog/app/(web)/components/Footer.tsx | 2 +- site/blog/app/(web)/components/Header.tsx | 3 +- site/blog/app/styles/brand.scss | 744 ---------------------- 4 files changed, 8 insertions(+), 751 deletions(-) delete mode 100644 site/blog/app/styles/brand.scss diff --git a/site/blog/app/(web)/components/Bizk.tsx b/site/blog/app/(web)/components/Bizk.tsx index b747224..fadac15 100644 --- a/site/blog/app/(web)/components/Bizk.tsx +++ b/site/blog/app/(web)/components/Bizk.tsx @@ -3,27 +3,27 @@ import Link from "next/link"; const kits = [ { name: "Components", - href: "http://bizk.qhan.wang/components", + href: "https://bizk.qhan.wang/components", icon: "i-ri:shapes-line", }, { name: "Hooks", - href: "http://bizk.qhan.wang/hooks", + href: "https://bizk.qhan.wang/hooks", icon: "i-ri:circle-line", }, { name: "utils", - href: "http://bizk.qhan.wang/utils", + href: "https://bizk.qhan.wang/utils", icon: "i-ri:tools-line", }, { name: "Store", - href: "http://bizk.qhan.wang/store", + href: "https://bizk.qhan.wang/store", icon: "i-ri:store-line", }, { name: "Regexps", - href: "http://bizk.qhan.wang/regexps", + href: "https://bizk.qhan.wang/regexps", icon: "i-ri:magic-line", }, ]; diff --git a/site/blog/app/(web)/components/Footer.tsx b/site/blog/app/(web)/components/Footer.tsx index b757ce8..a8e11e8 100644 --- a/site/blog/app/(web)/components/Footer.tsx +++ b/site/blog/app/(web)/components/Footer.tsx @@ -13,7 +13,7 @@ export default ({ className }: FooterProps) => ( className )} > - + diff --git a/site/blog/app/(web)/components/Header.tsx b/site/blog/app/(web)/components/Header.tsx index ebd8f83..28f8fff 100644 --- a/site/blog/app/(web)/components/Header.tsx +++ b/site/blog/app/(web)/components/Header.tsx @@ -37,7 +37,7 @@ const nav = [ }, { name: "Bizk", - href: "http://bizk.qhan.wang/", + href: "https://bizk.qhan.wang", icon: (props: any) => ( ( {...(/^http(s?):\/\//.test(item.href) ? { target: "_blank" } : {})} + aria-label={item.name} >