diff options
author | Michal Sapka <michal@sapka.me> | 2022-08-09 23:50:59 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-08-09 23:50:59 +0200 |
commit | 79d7a0cf28095d28e5a31ac03ddc4bc2d351588f (patch) | |
tree | fd039eed32606f5d7596b449f00ce3e864ad033a /components/layout.tsx | |
parent | 48a6408b90800463865e43f343604a54615e764b (diff) |
feat: basic responsive nav
Diffstat (limited to 'components/layout.tsx')
-rw-r--r-- | components/layout.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout.tsx b/components/layout.tsx index baf62dd..b99ba34 100644 --- a/components/layout.tsx +++ b/components/layout.tsx @@ -1,12 +1,12 @@ import TopNav from '../components/topnav.tsx' - +import { VStack, Box } from '@chakra-ui/react' export default function Layout({ children }) { return ( - <> + <VStack> <TopNav/> - <main className="mx-auto max-w-screen-lg px-3 py-6"> + <Box as="main"> {children} - </main> - </> + </Box> + </VStack> ) } |