"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import type { ReactNode } from "react"; export function AdminLayout({ children }: { children: ReactNode }) { return (
{children}
); } function AdminNavItem({ href, children }: { href: string; children: ReactNode; }) { const pathname = usePathname(); const isActive = pathname === href; return ( {children} ); }