Files
2023-05-16 19:55:34 -05:00

30 lines
543 B
TypeScript

import { Box } from 'components/primitives'
import { FC, ReactNode } from 'react'
import Navbar from './navbar'
type Props = {
children: ReactNode
}
const Layout: FC<Props> = ({ children }) => {
return (
<>
<Box
css={{
background: '$neutralBg',
height: '100%',
minHeight: '100vh',
pt: 80,
}}
>
<Box css={{ maxWidth: 1920, mx: 'auto' }}>
<Navbar />
<main>{children}</main>
</Box>
</Box>
</>
)
}
export default Layout