summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMichal Sapka <michal@sapka.me>2022-08-13 22:51:43 +0200
committerMichal Sapka <michal@sapka.me>2022-08-13 22:51:43 +0200
commit4a54b59990122174153c18175c93028fd31edb5d (patch)
treed09f2bc887e09fdeddc188e131fc865a4ba4d352 /components
parent0c1973d84c3aa86e7ea6004e6e0845f123f49f2a (diff)
feat: more theming
Diffstat (limited to 'components')
-rw-r--r--components/layout.tsx12
1 files changed, 7 insertions, 5 deletions
diff --git a/components/layout.tsx b/components/layout.tsx
index b24a0e7..64f87b7 100644
--- a/components/layout.tsx
+++ b/components/layout.tsx
@@ -2,11 +2,13 @@ import TopNav from '../components/topnav.tsx'
import { Container, Box } from '@chakra-ui/react'
export default function Layout({ children }) {
return (
- <Container maxW="2xl">
+ <>
<TopNav/>
- <Box as="main">
- {children}
- </Box>
- </Container>
+ <Container maxW="lg">
+ <Box as="main">
+ {children}
+ </Box>
+ </Container>
+ </>
)
}