Spaces:
Runtime error
Runtime error
File size: 1,076 Bytes
1720172 9a87c53 1720172 9a87c53 1720172 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | import { Routes, Route } from 'react-router-dom';
import Sidebar from './components/Sidebar';
import Dashboard from './pages/Dashboard';
import Credentials from './pages/Credentials';
import Memory from './pages/Memory';
import Projects from './pages/Projects';
import Sentinel from './pages/Sentinel';
import Settings from './pages/Settings';
import Chat from './pages/Chat';
export default function App() {
return (
<div className="flex min-h-screen bg-bg">
<Sidebar />
<main className="flex-1 ml-52 px-8 py-8">
<div className="max-w-4xl">
<Routes>
<Route path="/" element={<Dashboard />} />
<Route path="/chat" element={<Chat />} />
<Route path="/credentials" element={<Credentials />} />
<Route path="/memory" element={<Memory />} />
<Route path="/projects" element={<Projects />} />
<Route path="/sentinel" element={<Sentinel />} />
<Route path="/settings" element={<Settings />} />
</Routes>
</div>
</main>
</div>
);
}
|