import { useState } from "react"; import "./App.css"; import { TransitionsProvider } from "./api/useTransitions"; import DefinitionsTab from "./definitions/DefinitionsTab"; import HistoryTab from "./history/HistoryTab"; import ScheduleTab from "./schedule/ScheduleTab"; import TodayTab from "./today/TodayTab"; const TABS = [ { id: "today", label: "Today" }, { id: "tasks", label: "Tasks" }, { id: "schedule", label: "Schedule" }, { id: "history", label: "History" }, ] as const; type TabId = (typeof TABS)[number]["id"]; export default function App() { const [active, setActive] = useState("today"); return (
{/* Every tab is a built screen that owns its header (ADMIN-SPEC ยง1); the generic shell header stays only as a visually hidden page heading. */}

NestQuest Admin

Admin console

{active === "today" ? ( ) : active === "tasks" ? ( ) : active === "schedule" ? ( ) : ( )}
); }