import { Archive, Home, Search, Settings, SlidersHorizontal, UserRound } from "lucide-react"; import type { ReactNode } from "react"; import type { Session } from "../api/types"; import { navigate } from "../router"; const navItems = [ { href: "/home", label: "Accueil", icon: Home }, { href: "/search", label: "Recherche", icon: Search }, { href: "/admin/libraries", label: "Admin", icon: Settings }, { href: "/admin/automation", label: "Automatisation", icon: SlidersHorizontal }, { href: "/me", label: "Profil", icon: UserRound } ]; export function AppShell({ children, session, readerLayout = false }: { children: ReactNode; session: Session; readerLayout?: boolean }) { return (
{children}
); }