import React, { useState } from "react"; import NavStyle from "./nav.style"; import Link from "next/link"; import { useLanyard } from "react-use-lanyard"; import IconButton from "@mui/material/IconButton"; import Menu from "@mui/material/Menu"; import MenuItem from "@mui/material/MenuItem"; import MenuIcon from "@mui/icons-material/Menu"; import { discord_id } from "config"; const LINKS = [ { title: "About", href: "/about", }, { title: "Stats", href: "/stats", }, { title: "Experience", href: "/exps", }, { title: "Projects", href: "/projects", }, { title: "Contact", href: "/contact", }, ]; function Nav() { const { loading, status } = useLanyard({ userId: discord_id, socket: true, }); const [anchorEl, setAnchorEl] = useState(null); const open = Boolean(anchorEl); const handleClick = (event) => { setAnchorEl(event.currentTarget); }; const handleClose = () => { setAnchorEl(null); }; return (

echo "Bravo"

{LINKS.map(({ title, href }, index) => (
{title}
))}
{/* Mobile Menu */}
{LINKS.map(({ title, href }, index) => ( {title} ))}
); } export default Nav;