Feat:Added routes

This commit is contained in:
2025-02-26 12:00:49 +05:30
parent 9abd6c554a
commit 43f4a8f9ce
+3 -1
View File
@@ -1,8 +1,9 @@
import "./App.css";
import DrivethruLandingPage from "./pages/DrivethruLandingPage";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Login from "./pages/Authentication/Login";
import SignUp from "./pages/Authentication/SignUp";
import DrivethruLandingPage from "./pages/UserPages/DrivethruLandingPage";
import Dashboard from "./pages/UserPages/Dashboard";
function App() {
return (
@@ -14,6 +15,7 @@ function App() {
{/* Login Page at "/login" */}
<Route path="/login" element={<Login />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/Dashboard" element={<Dashboard />} />
</Routes>
</Router>
);