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