import { MagnifyingGlassIcon } from "@heroicons/react/20/solid"; import { CalendarIcon, ClockIcon, HomeIcon } from "@heroicons/react/24/outline"; import { signIn, signOut } from "next-auth/react"; import Image from "next/image"; import Link from "next/link"; import { useRouter } from "next/router"; import { useState } from "react"; export default function MobileNav({ sessions, hideProfile = false }) { const [isVisible, setIsVisible] = useState(false); const handleShowClick = () => { setIsVisible(true); }; const handleHideClick = () => { setIsVisible(false); }; return ( <> {/* NAVBAR */}