computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.6 KiB
32 lines
1.6 KiB
3 years ago
|
import { Box, Container, Flex, Image, Link, Stack } from '@chakra-ui/react';
|
||
|
|
||
3 years ago
|
export function GlobalHeader() {
|
||
3 years ago
|
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'>
|
||
3 years ago
|
<Link borderBottomWidth={0} borderBottomColor='gray.500'
|
||
|
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
|
||
|
href='/roadmaps'>Roadmaps</Link>
|
||
3 years ago
|
<Link borderBottomWidth={0} borderBottomColor='gray.500'
|
||
|
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
|
||
3 years ago
|
href='/guides'>Guides</Link>
|
||
3 years ago
|
<Link borderBottomWidth={0} borderBottomColor='gray.500'
|
||
|
_hover={{ textDecoration: 'none', borderBottomColor: 'white' }} fontWeight={500}
|
||
3 years ago
|
href='/watch'>Videos</Link>
|
||
3 years ago
|
<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)' }}
|
||
3 years ago
|
fontWeight={500} href={'#'}>Subscribe</Link>
|
||
3 years ago
|
</Stack>
|
||
|
</Flex>
|
||
|
</Container>
|
||
|
</Box>
|
||
|
);
|
||
|
}
|