import { Link, Box, HStack, IconButton, Menu, Heading, MenuButton, MenuList, MenuItem, useMediaQuery, Container } from '@chakra-ui/react' import { GiHamburgerMenu } from "react-icons/gi" import { DiGithubBadge } from "react-icons/di" import ThemeToggleButton from "../components/toggle_theme_button" function MobileNav() { return <> }> Action }>View source } function DesktopNav() { return Source code } export default function Navbar() { const [isMobile] = useMediaQuery("(max-width: 768px)") return Michal {isMobile ? null : } {isMobile ? : null} }