import dynamic from "next/dynamic"; import Link from "next/link"; import HomeIcon from "../icons/svg/home.svg"; import NotesIcon from "../icons/svg/notes.svg"; import ProjectsIcon from "../icons/svg/projects.svg"; import ContactIcon from "../icons/svg/contact.svg"; import styles from "./Menu.module.scss"; const menuItems = [ { icon: , text: "Home", href: "/", }, { icon: , text: "Notes", href: "/notes/", }, { icon: , text: "Projects", href: "/projects/", }, { icon: , text: "Contact", href: "/contact/", }, ]; // ensure the theme toggle isn't evaluated server-side const ThemeToggle = dynamic(() => import("./ThemeToggle"), { ssr: false }); export default function Menu() { return ( ); }