fix(admin): make /admin a top-level route and add Maven compile to deploy.sh
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled

This commit is contained in:
Shanmuga Krishnan S M
2026-08-07 14:08:34 +05:30
parent f714519373
commit 8cc1580dfa
2 changed files with 8 additions and 3 deletions

View File

@@ -42,6 +42,9 @@ function App() {
<AuthProvider>
<ScrollToTop />
<Routes>
{/* Standalone Admin Route */}
<Route path="/admin" element={<AdminDashboard />} />
<Route element={<MainLayout />}>
<Route path="/" element={<Home />} />
<Route path="/notes" element={<Notes />} />
@@ -50,7 +53,6 @@ function App() {
<Route path="/bus-routes" element={<BusRoutes />} />
<Route path="/faculty" element={<Faculty />} />
<Route path="/events" element={<Events />} />
<Route path="/admin" element={<AdminDashboard />} />
{/* Protected Routes — Require Google Sign-In */}
<Route