Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import { Landing } from './pages/Landing';
import { Guidelines } from './pages/Guidelines';
import { FacultySignup } from './pages/auth/FacultySignup';
import { WardenSignup } from './pages/auth/WardenSignup';
import { CentreHeadSignup } from './pages/auth/CentreHeadSignup';
Expand Down Expand Up @@ -32,6 +33,7 @@ function App() {
<AuthProvider>
<Routes>
<Route path="/" element={<Landing />} />
<Route path="/guidelines" element={<Guidelines />} />
<Route path="/faculty/signup" element={<FacultySignup />} />
<Route path="/warden/signup" element={<WardenSignup />} />
<Route path="/centre-head/signup" element={<CentreHeadSignup />} />
Expand Down
16 changes: 8 additions & 8 deletions app/src/components/layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export function Navbar() {
</li>

<li>
<button className="block px-4 py-3 hover:bg-white/10 transition-colors">
<Link to="/profile" className="block px-4 py-3 hover:bg-white/10 transition-colors">
Track Status
</button>
</Link>
</li>

<li className="relative group">
Expand All @@ -72,9 +72,9 @@ export function Navbar() {
</li>

<li>
<button className="block px-4 py-3 hover:bg-white/10 transition-colors">
<Link to="/guidelines" className="block px-4 py-3 hover:bg-white/10 transition-colors">
Guidelines
</button>
</Link>
</li>
</>
)}
Expand Down Expand Up @@ -222,9 +222,9 @@ export function Navbar() {
)}
</div>

<button className="block w-full text-left px-5 py-3 hover:bg-white/10 transition-colors border-b border-white/5">
<Link to="/profile" onClick={closeMobile} className="block w-full text-left px-5 py-3 hover:bg-white/10 transition-colors border-b border-white/5">
Track Status
</button>
</Link>

{/* Administration accordion */}
<div className="border-b border-white/5">
Expand All @@ -242,9 +242,9 @@ export function Navbar() {
)}
</div>

<button className="block w-full text-left px-5 py-3 hover:bg-white/10 transition-colors border-b border-white/5">
<Link to="/guidelines" onClick={closeMobile} className="block w-full text-left px-5 py-3 hover:bg-white/10 transition-colors border-b border-white/5">
Guidelines
</button>
</Link>
</>
)}

Expand Down
Loading
Loading