import Link from "next/link"; import { Gauge, MonitorPlay, Shield, UsersRound } from "lucide-react"; import { Avatar } from "./avatar"; export function AppShell({ children, active = "Dashboard", isAdmin = false, roomHref = "/dashboard", userName }: { children: React.ReactNode; active?: string; isAdmin?: boolean; roomHref?: string; userName?: string; }) { const nav = [ { href: "/dashboard", label: "Dashboard", icon: Gauge }, { href: roomHref, label: "Rooms", icon: MonitorPlay }, { href: "/friends", label: "Friends", icon: UsersRound } ]; const visibleNav = isAdmin ? [nav[0], nav[1], nav[2], { href: "/admin", label: "Admin", icon: Shield }] : nav; return (