mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 10:30:37 +09:00
22 lines
691 B
TypeScript
22 lines
691 B
TypeScript
|
|
import { Routes, Route } from "react-router-dom";
|
||
|
|
import { Layout } from "./components/Layout";
|
||
|
|
import { Dashboard } from "./pages/Dashboard";
|
||
|
|
import { Agents } from "./pages/Agents";
|
||
|
|
import { Projects } from "./pages/Projects";
|
||
|
|
import { Issues } from "./pages/Issues";
|
||
|
|
import { Goals } from "./pages/Goals";
|
||
|
|
|
||
|
|
export function App() {
|
||
|
|
return (
|
||
|
|
<Routes>
|
||
|
|
<Route element={<Layout />}>
|
||
|
|
<Route index element={<Dashboard />} />
|
||
|
|
<Route path="agents" element={<Agents />} />
|
||
|
|
<Route path="projects" element={<Projects />} />
|
||
|
|
<Route path="issues" element={<Issues />} />
|
||
|
|
<Route path="goals" element={<Goals />} />
|
||
|
|
</Route>
|
||
|
|
</Routes>
|
||
|
|
);
|
||
|
|
}
|