1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-24 03:23:08 +01:00

32 lines
1.6 KiB
TypeScript
Raw Normal View History

2021-08-14 14:01:42 +02:00
import { Box, Container, Flex, Image, Link, Stack } from '@chakra-ui/react';
export function Header() {
return (
<Box bg='gray.900' p='20px 30px'>
<Container maxW='container.md'>
<Flex justifyContent='space-between'>
<Link d='flex' href='/' alignItems='center' color='white' fontWeight={600}
_hover={{ textDecoration: 'none' }} fontSize='18px'>
<Image h='30px' w='30px' src='/logo.svg' mr='10px' />
roadmap.sh
</Link>
<Stack shouldWrapChildren isInline spacing='15px' alignItems='center' color='gray.50' fontSize='15px'>
2021-08-16 00:11:26 +02:00
<Link borderBottomWidth={0} borderBottomColor='gray.500'
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
href='/roadmaps'>Roadmaps</Link>
2021-08-14 14:01:42 +02:00
<Link borderBottomWidth={0} borderBottomColor='gray.500'
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
2021-08-15 10:42:56 +02:00
href='/guides'>Guides</Link>
2021-08-14 14:01:42 +02:00
<Link borderBottomWidth={0} borderBottomColor='gray.500'
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
2021-08-15 18:28:05 +02:00
href='/watch'>Videos</Link>
2021-08-14 14:01:42 +02:00
<Link ml='10px' bgGradient='linear(to-l, yellow.700, red.600)' p='7px 10px' rounded='4px'
_hover={{ textDecoration: 'none', bgGradient: 'linear(to-l, red.800, yellow.700)' }}
2021-08-15 18:31:53 +02:00
fontWeight={500} href={'#'}>Subscribe</Link>
2021-08-14 14:01:42 +02:00
</Stack>
</Flex>
</Container>
</Box>
);
}