rename the font

This commit is contained in:
PrinOrange
2023-12-29 20:07:19 +08:00
parent aa94563763
commit 986c8f891c
16 changed files with 39 additions and 37 deletions

View File

@@ -1,8 +1,8 @@
import { fontFzxbs } from "@/styles/font";
import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font";
export const H2 = (props: JSX.IntrinsicElements["h2"]) => {
return (
<h2 className={`${fontFzxbs.className} mt-3 mb-1 scroll-mt-20`} id={props.id}>
<h2 className={`${fontFangZhengXiaoBiaoSongCN.className} mt-3 mb-1 scroll-mt-20`} id={props.id}>
{props.children}
</h2>
);