Files
wishlist-client/components/layout/home/HomeLayout.tsx
kjuulh 28069a92f1
Some checks failed
continuous-integration/drone/push Build is failing
Created logic for creating lists
2022-04-25 22:32:24 +02:00

24 lines
593 B
TypeScript

import { FC, ReactElement } from 'react'
import { inspect } from 'util'
import styles from './HomeLayout.module.scss'
interface HomeLayoutProps {
page: string
}
const HomeLayout: FC<HomeLayoutProps> = (props) => {
return (
<div className="bg-pink-50 min-h-screen">
<div className={styles.root + ' space-x-6 pt-14'}>
<h1 className="text-2xl space-x-2">
<span>Wishes</span>
<span>/</span>
<span>{props.page}</span>
</h1>
<main className="pt-20">{props.children}</main>
</div>
</div>
)
}
export default HomeLayout