From 79d7a0cf28095d28e5a31ac03ddc4bc2d351588f Mon Sep 17 00:00:00 2001
From: Michal Sapka <michal@sapka.me>
Date: Tue, 9 Aug 2022 23:50:59 +0200
Subject: feat: basic responsive nav

---
 components/layout.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'components/layout.tsx')

diff --git a/components/layout.tsx b/components/layout.tsx
index baf62dd2..b99ba347 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>
   )
 }
-- 
cgit v1.2.3

