From c1820a580937f18f4add615e3b38f5453d4c2faa Mon Sep 17 00:00:00 2001 From: PrinOrange Date: Sat, 6 Jan 2024 23:27:37 +0800 Subject: [PATCH] fix tagbadge ui problem in darkmode --- components/utils/Footer.tsx | 3 +++ components/utils/TagBadge.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/utils/Footer.tsx b/components/utils/Footer.tsx index 8b66c7c..283de3d 100644 --- a/components/utils/Footer.tsx +++ b/components/utils/Footer.tsx @@ -25,6 +25,9 @@ export const Footer = () => {
+ + {"Source Code"} + {"Sponsor"} diff --git a/components/utils/TagBadge.tsx b/components/utils/TagBadge.tsx index 1075795..d3a1c0c 100644 --- a/components/utils/TagBadge.tsx +++ b/components/utils/TagBadge.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; export const TagBadge = (props: { name: string; size: "sm" | "md"; count?: number }) => { return ( -
+
{`${props.name}${props.count ? ` (${props.count})` : ""}`}