diff --git a/assets/fonts/fzxbs.woff2 b/assets/fonts/FangZhengXiaoBiaoSong-CN.woff2 similarity index 100% rename from assets/fonts/fzxbs.woff2 rename to assets/fonts/FangZhengXiaoBiaoSong-CN.woff2 diff --git a/assets/fonts/sypxzs.woff2 b/assets/fonts/SourceSerifScreen-CN.woff2 similarity index 100% rename from assets/fonts/sypxzs.woff2 rename to assets/fonts/SourceSerifScreen-CN.woff2 diff --git a/components/homepage/HomeCover.tsx b/components/homepage/HomeCover.tsx index fce5642..d9ad99c 100644 --- a/components/homepage/HomeCover.tsx +++ b/components/homepage/HomeCover.tsx @@ -1,6 +1,6 @@ import { SocialIcons } from "@/components/utils/SocialIcons"; import { Config } from "@/data/config"; -import { fontFzxbs, fontSypxzs } from "@/styles/font"; +import { fontFangZhengXiaoBiaoSongCN, fontSourceSerifScreenCN } from "@/styles/font"; export const HomeCover = () => { return ( @@ -19,11 +19,11 @@ export const HomeCover = () => { src={Config.AvatarURL} /> -
{Config.Nickname}
+
{Config.Nickname}
{Config.Sentence && (
-

{Config.Sentence}

+

{Config.Sentence}

)} diff --git a/components/mdx/H2.tsx b/components/mdx/H2.tsx index 7806e1d..328c0d9 100644 --- a/components/mdx/H2.tsx +++ b/components/mdx/H2.tsx @@ -1,8 +1,8 @@ -import { fontFzxbs } from "@/styles/font"; +import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font"; export const H2 = (props: JSX.IntrinsicElements["h2"]) => { return ( -

+

{props.children}

); diff --git a/components/utils/NavBar.tsx b/components/utils/NavBar.tsx index 788e2af..bec4209 100644 --- a/components/utils/NavBar.tsx +++ b/components/utils/NavBar.tsx @@ -1,6 +1,6 @@ import { Sheet, SheetContent, SheetTrigger } from "@/components/ui/sheet"; import { Config } from "@/data/config"; -import { fontFzxbs } from "@/styles/font"; +import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font"; import { nanoid } from "nanoid"; import { useTheme } from "next-themes"; import Link from "next/link"; @@ -40,7 +40,7 @@ export const NavBar = () => {