'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { ReactNode } from 'react' interface AdminNavLinkProps { href: string children: ReactNode } export function AdminNavLink({ href, children }: AdminNavLinkProps) { const pathname = usePathname() const isActive = pathname === href return ( {children} ) }