summaryrefslogtreecommitdiff
path: root/components/layout.tsx
blob: f137cb4b9c4654832418e866611dd8f27de80f02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import TopNav from '../components/topnav'
import { Container, Box } from '@chakra-ui/react'
import ReactNode from 'react'

type Props = {
    children?: any
}

export default function Layout({ children } : Props) {
  return (
    <>
      <TopNav/>
      <Container maxW="lg">
        <Box as="main" pt="20">
          {children}
        </Box>
      </Container>
    </>
  )
}