summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/layout.tsx6
-rw-r--r--components/topnav.tsx2
2 files changed, 4 insertions, 4 deletions
diff --git a/components/layout.tsx b/components/layout.tsx
index b99ba347..b24a0e7c 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'
+import { Container, Box } from '@chakra-ui/react'
export default function Layout({ children }) {
return (
- <VStack>
+ <Container maxW="2xl">
<TopNav/>
<Box as="main">
{children}
</Box>
- </VStack>
+ </Container>
)
}
diff --git a/components/topnav.tsx b/components/topnav.tsx
index e67f6037..7d25c9ba 100644
--- a/components/topnav.tsx
+++ b/components/topnav.tsx
@@ -58,7 +58,7 @@ function Navigation() {
export default function Navbar() {
- return <HStack backgroundColor="red" width="900px" maxWidth="100%">
+ return <HStack>
<Heading>Michal </Heading>
<Navigation/>
</HStack>