Merged Ombase's changes from frontend branch with main branch. Created sidebar, dashboard, and not found page. Minor changes to landing page.

This commit is contained in:
K
2025-02-26 19:00:19 +05:30
parent ddb39e4258
commit 7590e81f5c
6 changed files with 889 additions and 5 deletions
+5 -4
View File
@@ -1,19 +1,20 @@
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";
import NotFoundPage from "./pages/UserPages/NotFoundPage";
function App() {
return (
<Router>
<Routes>
{/* Landing Page at root ("/") */}
<Route path="/" element={<DrivethruLandingPage />} />
{/* Login Page at "/login" */}
<Route path="/login" element={<Login />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/Dashboard" element={<Dashboard />} />
<Route path="*" element={<NotFoundPage />} />
</Routes>
</Router>
);