ui(content-strategy): 💄 Update root layout in App.tsx to implement content strategy routing, feature flags, and dynamic UI components

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-28 00:09:27 -08:00
parent dc22ecaffb
commit 0e8b7e50f9

View file

@ -22,6 +22,10 @@ import { FileHealthPage } from './pages/FileHealthPage';
logVersionBanner({ primaryColor: '#00ffff', secondaryColor: '#ff00ff' });
function withErrorBoundary(page: JSX.Element): JSX.Element {
return <ErrorBoundary>{page}</ErrorBoundary>;
}
export function App(): JSX.Element {
return (
<SCThemeProvider theme={cyberpunkAdapter as ThemeInterface}>
@ -38,16 +42,16 @@ export function App(): JSX.Element {
>
<ErrorBoundary>
<Routes>
<Route path="/" element={<DashboardPage />} />
<Route path="/inventory" element={<InventoryPage />} />
<Route path="/timeline" element={<TimelinePage />} />
<Route path="/ideas" element={<IdeasPage />} />
<Route path="/narrative" element={<NarrativeMapPage />} />
<Route path="/interplay" element={<ThreadInterplayPage />} />
<Route path="/story-arcs" element={<StoryArcPage />} />
<Route path="/domains" element={<DomainsPage />} />
<Route path="/press" element={<PressPage />} />
<Route path="/health" element={<FileHealthPage />} />
<Route path="/" element={withErrorBoundary(<DashboardPage />)} />
<Route path="/inventory" element={withErrorBoundary(<InventoryPage />)} />
<Route path="/timeline" element={withErrorBoundary(<TimelinePage />)} />
<Route path="/ideas" element={withErrorBoundary(<IdeasPage />)} />
<Route path="/narrative" element={withErrorBoundary(<NarrativeMapPage />)} />
<Route path="/interplay" element={withErrorBoundary(<ThreadInterplayPage />)} />
<Route path="/story-arcs" element={withErrorBoundary(<StoryArcPage />)} />
<Route path="/domains" element={withErrorBoundary(<DomainsPage />)} />
<Route path="/press" element={withErrorBoundary(<PressPage />)} />
<Route path="/health" element={withErrorBoundary(<FileHealthPage />)} />
<Route
path="*"
element={