export const AuthenticatedLayout = ({ children, title, currentPath, isAdmin = false, }: { children: any; title: string; currentPath: string; isAdmin?: boolean; }) => { const navItems = [ { label: "Dashboard", href: "/dashboard" }, { label: "Sessions", href: "/dashboard/sessions" }, { label: "Passkeys", href: "/dashboard/passkeys" }, ...(isAdmin ? [{ label: "Admin Console", href: "/admin/users" }] : []), ]; return (