diff --git a/components/global-header.tsx b/components/global-header.tsx index 7368e7de1..b04fbdaa0 100644 --- a/components/global-header.tsx +++ b/components/global-header.tsx @@ -1,29 +1,91 @@ -import { Box, Container, Flex, Image, Link, Stack } from '@chakra-ui/react'; +import { + Box, + Container, + Flex, + IconButton, + Image, + Link, + Menu, + MenuButton, MenuItem, + MenuList, + Stack, + Text +} from '@chakra-ui/react'; +import { HamburgerIcon } from '@chakra-ui/icons'; + +type MenuLinkProps = { + text: string; + link: string; +}; + +function MenuLink(props: MenuLinkProps) { + const { text, link } = props; + + return + {text} + ; +} + +function DesktopMenuLinks() { + return ( + + + + + + Subscribe + + ); +} + +function MobileMenuLinks() { + return ( + + + + Roadmaps + Guides + Videos + Subscribe + + + ); +} export function GlobalHeader() { return ( - + - - + + - roadmap.sh + roadmap.sh - - Roadmaps - Guides - Videos - Subscribe - + +