diff options
author | Michal Sapka <michal@sapka.me> | 2022-08-10 21:35:00 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-08-10 21:35:00 +0200 |
commit | 462c437667ac750cc0fd765dfd551adfce2b2d91 (patch) | |
tree | cab786ab4ba21823b1cc6fd227b4c4a4fc52fba8 /components | |
parent | 79d7a0cf28095d28e5a31ac03ddc4bc2d351588f (diff) |
feat: chakra based resume as hp
Diffstat (limited to 'components')
-rw-r--r-- | components/layout.tsx | 6 | ||||
-rw-r--r-- | components/topnav.tsx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/components/layout.tsx b/components/layout.tsx index b99ba34..b24a0e7 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 e67f603..7d25c9b 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> |