import { COMMON_CSS } from "./CommonStyles.ts"; import { Navbar } from "./layout/Navbar.tsx"; import { MobileNav } from "./layout/MobileNav.tsx"; import { UserMenu } from "./layout/UserMenu.tsx"; export const AuthenticatedLayout = ({ children, title, currentPath, isAdmin = false, }: { children: any; title: string; currentPath: string; isAdmin?: boolean; }) => { const navItems = [ { label: "Launchpad", href: "/dashboard", icon: ``, }, { label: "Sessions", href: "/dashboard/sessions", icon: ``, }, { label: "Passkeys", href: "/dashboard/passkeys", icon: ``, }, ...(isAdmin ? [{ label: "Admin", href: "/admin/users", icon: ``, }] : []), ]; return (