import { memo } from "react"; import dynamic from "next/dynamic"; import Link from "next/link"; import Image from "next/image"; import { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../icons"; import meJpg from "../../public/static/images/me.jpg"; import styles from "./Header.module.css"; // ensure the theme toggle isn't evaluated server-side const ThemeToggle = dynamic(() => import("./ThemeToggle"), { ssr: false }); const links = [ { icon: , text: "Home", href: "/", }, { icon: , text: "Notes", href: "/notes/", }, { icon: , text: "Projects", href: "/projects/", }, { icon: , text: "Contact", href: "/contact/", }, ]; const Header = () => (
); export default memo(Header);