34 lines
1002 B
JavaScript
34 lines
1002 B
JavaScript
// src/App.jsx
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
|
import Login from './components/Login';
|
|
import LandingPage from './components/LandingPage';
|
|
import VerifyEmail from './components/VerifyEmail';
|
|
import Navbar from './components/Navbar';
|
|
import Dashboard from './pages/Dashboard';
|
|
import ResetPassword from './components/ResetPassword';
|
|
function App() {
|
|
return (
|
|
<Router>
|
|
<div className="App">
|
|
<Routes>
|
|
<Route path="/login" element={<Login />} />
|
|
<Route path='/reset-password' element={<ResetPassword />} />
|
|
<Route path="/verify-email" element={<VerifyEmail />} />
|
|
<Route path="/dashboard" element={<Dashboard/>} />
|
|
<Route
|
|
path="/"
|
|
element={
|
|
<>
|
|
{/* <Navbar />
|
|
<LandingPage /> */}
|
|
< Login />
|
|
</>
|
|
}
|
|
/>
|
|
</Routes>
|
|
</div>
|
|
</Router>
|
|
);
|
|
}
|
|
|
|
export default App; |