Skip to content

Commit

Permalink
feat(site/blog): improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
qhanw committed Feb 29, 2024
1 parent 9d64cd5 commit 2bcb845
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 751 deletions.
10 changes: 5 additions & 5 deletions site/blog/app/(web)/components/Bizk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
];
Expand Down
2 changes: 1 addition & 1 deletion site/blog/app/(web)/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default ({ className }: FooterProps) => (
className
)}
>
<Link className="text-brand" href="/">
<Link className="text-brand" href="/" aria-label="Qhan W">
<span className="i-logos-sakura w-4 h-4 logo-rotate" />
</Link>

Expand Down
3 changes: 2 additions & 1 deletion site/blog/app/(web)/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const nav = [
},
{
name: "Bizk",
href: "http://bizk.qhan.wang/",
href: "https://bizk.qhan.wang",
icon: (props: any) => (
<span
{...props}
Expand Down Expand Up @@ -73,6 +73,7 @@ export default () => (
{...(/^http(s?):\/\//.test(item.href)
? { target: "_blank" }
: {})}
aria-label={item.name}
>
<item.icon
className="flex-shrink-0 h-4 w-4 "
Expand Down
Loading

0 comments on commit 2bcb845

Please sign in to comment.