feat: set up basic blog structure

This commit is contained in:
Felix Schröter 2022-08-01 21:12:47 +02:00
parent f4f421ac43
commit 8599464f2d
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 1740 additions and 88 deletions

View file

@ -0,0 +1,17 @@
import * as React from "react"
type LayoutProps = {
pageTitle: string
children: React.ReactNode
}
const Layout = ({ pageTitle, children }: LayoutProps) => {
return (
<div>
<h1>{pageTitle}</h1>
{children}
</div>
)
}
export default Layout