init + login
This commit is contained in:
25
src/App.tsx
Normal file
25
src/App.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import { BrowserRouter, Routes, Route } from "react-router-dom";
|
||||
import { Layout } from "./pages/Layout";
|
||||
import { Login } from "./pages/Login";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div>
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/" element={<Layout />}> {/* collapsible sidebar with links */}
|
||||
{/* <Route index element={<Dashboard />} />
|
||||
<Route path="bots" element={<Bots />} />
|
||||
<Route path="bot/:id" element={<Bot />} />
|
||||
<Route path="tokens" element={<Contact />} />
|
||||
<Route path="token/:id" element={<Contact />} />
|
||||
<Route path="*" element={<MissingPage />} /> */}
|
||||
</Route>
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user