"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import type { ReactNode } from "react"; export function AdminLayout({ children }: { children: ReactNode }) { return (