import React, { useState } from "react"; import classnames from "classnames"; import { Link } from "gatsby"; import useDimensions from "react-cool-dimensions"; import Menu from "@spectrum-icons/workflow/Menu"; interface NavProps { isClient?: boolean; className?: string; internalLinks: { href: string; label: string; }[] } const Nav = ({ isClient, internalLinks, className }: NavProps) => { const { observe, currentBreakpoint } = useDimensions({ breakpoints: { XS: 0, LG: 690 }, updateOnBreakpointChange: true, }); const [linksMenu, setLinksMenu] = useState(false); const navClasses = classnames( "hover:underline mx-2 md:mx-3", isClient ? "text-vibrant-light" : "text-gray-200" ); return ( ); }; export default Nav;