"use client"; import { Dialog, DialogPanel } from "@headlessui/react"; import { ArrowLeftCircleIcon, Bars3Icon, XMarkIcon, } from "@heroicons/react/24/outline"; import { motion } from "motion/react"; import Image from "next/image"; import Link from "next/link"; import { useState } from "react"; export default function Header() { const navigation = [ { name: "About", href: "/about" }, { name: "Blog", href: "/blog" }, ]; const [mobileMenuOpen, setMobileMenuOpen] = useState(false); return (