diff --git a/src/components/Nav.js b/src/components/Nav.js index a47bc32..ff16e9d 100644 --- a/src/components/Nav.js +++ b/src/components/Nav.js @@ -3,21 +3,19 @@ import classnames from "classnames"; import { Link } from "gatsby"; import useDimensions from "react-cool-dimensions"; -import ShowMenu from "@spectrum-icons/workflow/ShowMenu"; - -const getNavClasses = (isClient) => - classnames( - "hover:underline mx-2 md:mx-3", - isClient ? "text-vibrant-light" : "text-gray-200" - ); +import Menu from "@spectrum-icons/workflow/Menu"; const Nav = ({ isClient, internalLinks, className }) => { const { observe, currentBreakpoint } = useDimensions({ - breakpoints: { XS: 0, LG: 670 }, + breakpoints: { XS: 0, LG: 730 }, 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 (