2026-02-16 13:32:04 -06:00
|
|
|
import { Routes, Route } from "react-router-dom";
|
|
|
|
|
import { Layout } from "./components/Layout";
|
|
|
|
|
import { Dashboard } from "./pages/Dashboard";
|
Overhaul UI with shadcn components and new pages
Add shadcn/ui components (badge, button, card, input, select,
separator). Add company context provider. New pages: Activity,
Approvals, Companies, Costs, Org chart. Restyle existing pages
(Dashboard, Agents, Issues, Goals, Projects) with shadcn components
and dark theme. Update layout, sidebar navigation, and routing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:32 -06:00
|
|
|
import { Companies } from "./pages/Companies";
|
|
|
|
|
import { Org } from "./pages/Org";
|
2026-02-16 13:32:04 -06:00
|
|
|
import { Agents } from "./pages/Agents";
|
|
|
|
|
import { Projects } from "./pages/Projects";
|
|
|
|
|
import { Issues } from "./pages/Issues";
|
|
|
|
|
import { Goals } from "./pages/Goals";
|
Overhaul UI with shadcn components and new pages
Add shadcn/ui components (badge, button, card, input, select,
separator). Add company context provider. New pages: Activity,
Approvals, Companies, Costs, Org chart. Restyle existing pages
(Dashboard, Agents, Issues, Goals, Projects) with shadcn components
and dark theme. Update layout, sidebar navigation, and routing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:32 -06:00
|
|
|
import { Approvals } from "./pages/Approvals";
|
|
|
|
|
import { Costs } from "./pages/Costs";
|
|
|
|
|
import { Activity } from "./pages/Activity";
|
2026-02-16 13:32:04 -06:00
|
|
|
|
|
|
|
|
export function App() {
|
|
|
|
|
return (
|
|
|
|
|
<Routes>
|
|
|
|
|
<Route element={<Layout />}>
|
|
|
|
|
<Route index element={<Dashboard />} />
|
Overhaul UI with shadcn components and new pages
Add shadcn/ui components (badge, button, card, input, select,
separator). Add company context provider. New pages: Activity,
Approvals, Companies, Costs, Org chart. Restyle existing pages
(Dashboard, Agents, Issues, Goals, Projects) with shadcn components
and dark theme. Update layout, sidebar navigation, and routing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:32 -06:00
|
|
|
<Route path="companies" element={<Companies />} />
|
|
|
|
|
<Route path="org" element={<Org />} />
|
2026-02-16 13:32:04 -06:00
|
|
|
<Route path="agents" element={<Agents />} />
|
|
|
|
|
<Route path="projects" element={<Projects />} />
|
Overhaul UI with shadcn components and new pages
Add shadcn/ui components (badge, button, card, input, select,
separator). Add company context provider. New pages: Activity,
Approvals, Companies, Costs, Org chart. Restyle existing pages
(Dashboard, Agents, Issues, Goals, Projects) with shadcn components
and dark theme. Update layout, sidebar navigation, and routing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:32 -06:00
|
|
|
<Route path="tasks" element={<Issues />} />
|
2026-02-16 13:32:04 -06:00
|
|
|
<Route path="goals" element={<Goals />} />
|
Overhaul UI with shadcn components and new pages
Add shadcn/ui components (badge, button, card, input, select,
separator). Add company context provider. New pages: Activity,
Approvals, Companies, Costs, Org chart. Restyle existing pages
(Dashboard, Agents, Issues, Goals, Projects) with shadcn components
and dark theme. Update layout, sidebar navigation, and routing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 09:07:32 -06:00
|
|
|
<Route path="approvals" element={<Approvals />} />
|
|
|
|
|
<Route path="costs" element={<Costs />} />
|
|
|
|
|
<Route path="activity" element={<Activity />} />
|
2026-02-16 13:32:04 -06:00
|
|
|
</Route>
|
|
|
|
|
</Routes>
|
|
|
|
|
);
|
|
|
|
|
}
|