diff --git a/src/app/components/Nav/Nav.js b/src/app/components/Nav/Nav.js index 3b142567..5b5212d3 100644 --- a/src/app/components/Nav/Nav.js +++ b/src/app/components/Nav/Nav.js @@ -10,9 +10,11 @@ import "./Nav.scss"; const Nav = () => { const { pathname } = useLocation(); const [mobileExpand, setMobileExpand] = useState(false); + const toggleMobileExpand = () => { setMobileExpand(!mobileExpand); }; + if (pathname === "/designathon22/" || pathname === "/designathon22") return <>; @@ -122,13 +124,19 @@ const Nav = () => { { label: "Contact", url: "/contact" }, { label: "Houses", url: "/houses" }, ].map(({ label, url }) => ( - + {label} ))} Join