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"; type MobileNavProps = { hideProfile?: boolean; }; export default function MobileNav({ hideProfile = false }: MobileNavProps) { const { data: sessions }: { data: any } = useSession(); const [isVisible, setIsVisible] = useState(false); const handleShowClick = () => { setIsVisible(true); }; const handleHideClick = () => { setIsVisible(false); }; return ( <> {/* NAVBAR */}