import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; import { useViewStore, type AppView } from "@/store/view-store"; const TABS: Array<{ id: AppView; label: string }> = [ { id: "design", label: "Current Design" }, { id: "sweep", label: "Parametric Sweep" }, { id: "pareto", label: "Optimize Design" }, { id: "shap", label: "Explain Design" }, ]; /** Top-level layout: header with status badge + body slot. */ export function AppShell({ children }: { children: ReactNode }) { const view = useViewStore((s) => s.view); const setView = useViewStore((s) => s.setView); return (
Interactive design-space explorer for lunar micro-rovers.