22 lines
616 B
TypeScript
22 lines
616 B
TypeScript
import { Routes, Route } from 'react-router-dom'
|
|
import { Dashboard } from '@/pages/Dashboard'
|
|
import { DbDashboard } from '@/pages/DbDashboard'
|
|
import { EditDashboard } from '@/pages/EditDashboard'
|
|
|
|
function App() {
|
|
return (
|
|
<div
|
|
className="min-h-screen w-full max-w-full overflow-x-hidden bg-military-dark overflow-hidden"
|
|
style={{ background: '#0A0F1C' }}
|
|
>
|
|
<Routes>
|
|
<Route path="/" element={<Dashboard />} />
|
|
<Route path="/db" element={<DbDashboard />} />
|
|
<Route path="/edit" element={<EditDashboard />} />
|
|
</Routes>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default App
|