Clean Blog system

- Improved the blog posts
- Add a test to visit the blog index
- Add Tailwind Typography for the markdown blog posts
This commit is contained in:
Michael
2022-01-19 12:47:38 +01:00
parent 6e319c0527
commit a85e672f9f
14 changed files with 83 additions and 45 deletions

View File

@@ -9,7 +9,7 @@ type Properties = {
const PostBody = ({ code }: Properties): JSX.Element => {
const BlogPost = useMemo(() => getMDXComponent(code), [code]);
return (
<div className="max-w-2xl mx-auto">
<div className="max-w-2xl mx-auto prose lg:prose-xl">
<BlogPost />
</div>
);