--- import { Activity, Sparkles, Settings, Wand2, Video, Terminal, BarChart3, Menu, X, } from "lucide-react"; import SystemStatus from "./SystemStatus.tsx"; const currentPath = Astro.url.pathname; const basePath = "__ALCHEMIST_BASE_URL__"; const withBase = (href: string) => `${basePath}${href === "/" ? "/" : href}`; const strippedPath = basePath && currentPath.startsWith(basePath) ? currentPath.slice(basePath.length) || "/" : currentPath; const navItems = [ { href: "/", label: "Dashboard", Icon: Activity }, { href: "/jobs", label: "Jobs", Icon: Video }, { href: "/logs", label: "Logs", Icon: Terminal }, { href: "/stats", label: "Statistics", Icon: BarChart3 }, { href: "/intelligence", label: "Intelligence", Icon: Sparkles }, { href: "/convert", label: "Convert", Icon: Wand2 }, { href: "/settings", label: "Settings", Icon: Settings }, ]; --- {/* Mobile top bar */}
{/* Mobile overlay backdrop */} {/* Sidebar — hidden on mobile until hamburger opens it */}