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