Added full CJK font support

This commit is contained in:
PrinOrange
2024-04-17 12:48:35 +08:00
parent 2f4590db82
commit f95e595db5
286 changed files with 4105 additions and 71 deletions

View File

@@ -1,13 +0,0 @@
import { fontSourceSerifScreenCN } from "@/styles/font";
export const TagBadge = (props: { name: string; size: "sm" | "md"; count?: number }) => {
return (
<div
className={`mx-1 my-1 ${fontSourceSerifScreenCN.className} ${
props.size === "sm" ? "text-sm" : "text-base"
} border-2 border-black px-2 dark:border-white dark:text-white`}
>
{`${props.name}${props.count ? ` (${props.count})` : ""}`}
</div>
);
};