diff --git a/components/NavBar.jsx b/components/NavBar.jsx index 97e0314..4bbc75f 100644 --- a/components/NavBar.jsx +++ b/components/NavBar.jsx @@ -16,6 +16,7 @@ export default function NavBar() { const [openJobs, setOpenJobs] = useState(false); const [isOpen, setIsOpen] = useState(false); const [scrolled, setScrolled] = useState(false); + const [isNightMode, setNightMode] = useState(false); const hamburgerRef = useRef(null); const dropdownRef = useRef(null); @@ -54,6 +55,10 @@ export default function NavBar() { localStorage.removeItem("user"); router.reload(); }; + + const toggleNightMode = () => { + setNightMode((prevMode) => !prevMode); + }; const handleLogin = () => { router.push("/auth/login"); @@ -64,6 +69,17 @@ export default function NavBar() { }; return ( + <> + +
@@ -108,6 +124,9 @@ export default function NavBar() {
)} +