"use client"; import Image from "next/image"; import Link from "next/link"; import { usePathname } from "next/navigation"; interface NavItemProps { icon: string; label: string; href: string; } export default function NavItem({ icon, label, href }: NavItemProps) { const pathname = usePathname(); const isActive = pathname === href; return (