💄 Better article

This commit is contained in:
2024-02-24 18:29:29 +08:00
parent f9fcae6c7c
commit ea50f739b3
9 changed files with 27 additions and 21 deletions

View File

@ -109,7 +109,7 @@ export default function AppShell({ children }: {
<Image src="/smartsheep.svg" alt="Logo" width={32} height={32} />
</IconButton>
<Typography variant="h6" component="div" sx={{ flexGrow: 1 }}>
<Typography variant="h6" component="div" sx={{ flexGrow: 1, fontSize: "1.2rem" }}>
<Link href="/">
{SITE_NAME}
</Link>

View File

@ -1,7 +1,7 @@
"use client";
import MuiMarkdown from "mui-markdown";
import Markdown from "react-markdown";
export default function PostContent({ content }: { content: string }) {
return <MuiMarkdown>{content}</MuiMarkdown>;
return <Markdown>{content}</Markdown>;
}