diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index 24783be..f256dcf 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -5,8 +5,72 @@ import useDimensions from "react-cool-dimensions"; import Menu from "@spectrum-icons/workflow/Menu"; +const navClasses = "hover:underline hover:bg-gray-900 block p-3 text-gray-200"; + +const ExternalLinks = ({ isVertical }: { isVertical: boolean }) => ( + +); + interface NavProps { - isClient?: boolean; className?: string; internalLinks: { href: string; @@ -14,27 +78,24 @@ interface NavProps { }[]; } -const Nav = ({ isClient, internalLinks, className }: NavProps) => { +const Nav = ({ 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 text-gray-200" - ); return (