"use client"; import Image from "next/image"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useState } from "react"; import { useNotifications } from "./NotificationContext"; import NotificationsPanel from "./NotificationsPanel"; import ThemeToggle from "./ThemeToggle"; const nav = [ { href: "/", label: "Dashboard" }, { href: "/files", label: "Files" }, { href: "/duplicates", label: "Duplicates" }, { href: "/indexing", label: "Indexing" }, { href: "/tasks", label: "Tasks" }, { href: "/settings", label: "Settings" }, ]; function Header() { const [menuOpen, setMenuOpen] = useState(false); const [notificationsOpen, setNotificationsOpen] = useState(false); const pathname = usePathname(); const { unreadCount } = useNotifications(); return ( ); } export default Header;