commit
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
import { Routes, Route, BrowserRouter } from 'react-router-dom';
|
||||
import Home from './Home';
|
||||
import About from './About';
|
||||
import SimpleHome from './SimpleHome';
|
||||
import About from './About';
|
||||
import ApiDocs from './ApiDocs';
|
||||
import Registration from './Registration';
|
||||
import Dashboard from './Dashboard';
|
||||
import Login from './Login';
|
||||
import Withdrawal from './Withdrawal';
|
||||
import Settings from './Settings';
|
||||
import ForgotPassword from './ForgotPassword';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
@@ -8,6 +16,13 @@ function App() {
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/about" element={<About />} />
|
||||
<Route path="/api-docs" element={<ApiDocs />} />
|
||||
<Route path="/register" element={<Registration />} />
|
||||
<Route path="/login" element={<Login />} />
|
||||
<Route path="/forgot-password" element={<ForgotPassword />} />
|
||||
<Route path="/dashboard" element={<Dashboard />} />
|
||||
<Route path="/withdrawal" element={<Withdrawal />} />
|
||||
<Route path="/settings" element={<Settings />} />
|
||||
{/* Add more routes as needed */}
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
||||
Reference in New Issue
Block a user