feat: set up basic blog structure
This commit is contained in:
parent
f4f421ac43
commit
8599464f2d
7 changed files with 1740 additions and 88 deletions
17
src/components/organisms/Layout.tsx
Normal file
17
src/components/organisms/Layout.tsx
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue