|
|
@ -49,7 +49,7 @@ function DesktopMenuLinks() { |
|
|
|
|
|
|
|
|
|
|
|
function MobileMenuLinks() { |
|
|
|
function MobileMenuLinks() { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Menu> |
|
|
|
<Menu autoSelect={false}> |
|
|
|
<MenuButton |
|
|
|
<MenuButton |
|
|
|
d={['block', 'none', 'none']} |
|
|
|
d={['block', 'none', 'none']} |
|
|
|
as={HamburgerIcon} |
|
|
|
as={HamburgerIcon} |
|
|
@ -59,9 +59,12 @@ function MobileMenuLinks() { |
|
|
|
cursor='pointer' |
|
|
|
cursor='pointer' |
|
|
|
/> |
|
|
|
/> |
|
|
|
<MenuList py={'4px'} rounded='3px' minWidth='150px'> |
|
|
|
<MenuList py={'4px'} rounded='3px' minWidth='150px'> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' color='gray.600'>Roadmaps</MenuItem> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' |
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' color='gray.600'>Guides</MenuItem> |
|
|
|
color='gray.600'>Roadmaps</MenuItem> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' color='gray.600'>Videos</MenuItem> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' |
|
|
|
|
|
|
|
color='gray.600'>Guides</MenuItem> |
|
|
|
|
|
|
|
<MenuItem py='4px' borderColor='gray.100' borderBottomWidth={1} fontSize='13px' |
|
|
|
|
|
|
|
color='gray.600'>Videos</MenuItem> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' fontSize='13px' color='gray.600'>Subscribe</MenuItem> |
|
|
|
<MenuItem py='4px' borderColor='gray.100' fontSize='13px' color='gray.600'>Subscribe</MenuItem> |
|
|
|
</MenuList> |
|
|
|
</MenuList> |
|
|
|
</Menu> |
|
|
|
</Menu> |
|
|
@ -73,17 +76,19 @@ export function GlobalHeader() { |
|
|
|
<Box bg='gray.900' p='20px 0'> |
|
|
|
<Box bg='gray.900' p='20px 0'> |
|
|
|
<Container maxW='container.md'> |
|
|
|
<Container maxW='container.md'> |
|
|
|
<Flex justifyContent='space-between' alignItems='center'> |
|
|
|
<Flex justifyContent='space-between' alignItems='center'> |
|
|
|
<Link w='100%' |
|
|
|
<Box> |
|
|
|
d='flex' |
|
|
|
<Link w='100%' |
|
|
|
href='/' |
|
|
|
d='flex' |
|
|
|
alignItems='center' |
|
|
|
href='/' |
|
|
|
color='white' |
|
|
|
alignItems='center' |
|
|
|
fontWeight={600} |
|
|
|
color='white' |
|
|
|
_hover={{ textDecoration: 'none' }} |
|
|
|
fontWeight={600} |
|
|
|
fontSize='18px'> |
|
|
|
_hover={{ textDecoration: 'none' }} |
|
|
|
<Image h='30px' w='30px' src='/logo.svg' mr='10px' /> |
|
|
|
fontSize='18px'> |
|
|
|
<Text d={['none', 'none', 'block']} as='span'>roadmap.sh</Text> |
|
|
|
<Image h='30px' w='30px' src='/logo.svg' mr='10px' /> |
|
|
|
</Link> |
|
|
|
<Text d={['none', 'none', 'block']} as='span'>roadmap.sh</Text> |
|
|
|
|
|
|
|
</Link> |
|
|
|
|
|
|
|
</Box> |
|
|
|
<DesktopMenuLinks /> |
|
|
|
<DesktopMenuLinks /> |
|
|
|
<MobileMenuLinks /> |
|
|
|
<MobileMenuLinks /> |
|
|
|
</Flex> |
|
|
|
</Flex> |
|
|
|