diff --git a/frontend/src/sections/navbar.tsx b/frontend/src/sections/navbar.tsx index 4aad34f..d28be58 100644 --- a/frontend/src/sections/navbar.tsx +++ b/frontend/src/sections/navbar.tsx @@ -1,4 +1,6 @@ +import { Bars3BottomLeftIcon, XMarkIcon } from '@heroicons/react/20/solid'; import { Link, useRouterState } from '@tanstack/react-router'; +import { useState } from 'react'; import icon from '~/assets/images/icon-transparent.png'; import { Button } from '~/components/button'; import { cn } from '~/utils/helpers'; @@ -31,6 +33,12 @@ function NavbarItem({ page, route }: { page: NavPage; route: NavRoute }) { } export function Navbar() { + const [showMenu, setShowMenu] = useState(false); + + const toggleMenu = () => { + setShowMenu((prev) => !prev); + }; + return (