Remove custom component styles and use shadcn components instead, then format the code.

This commit is contained in:
PrinOrange
2023-12-29 20:28:13 +08:00
parent 986c8f891c
commit 9b9055e4b1
12 changed files with 60 additions and 51 deletions

View File

@@ -65,7 +65,9 @@ const ReaderPage = (props: ReaderPageProps) => {
{props.frontMatter?.title}
</h2>
{props.frontMatter?.subtitle && (
<div className={`${fontFangZhengXiaoBiaoSongCN.className} my-1 flex justify-center text-xl font-bold capitalize`}>
<div
className={`${fontFangZhengXiaoBiaoSongCN.className} my-1 flex justify-center text-xl font-bold capitalize`}
>
{props.frontMatter.subtitle}
</div>
)}