Skip to content
Open
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
10 changes: 10 additions & 0 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import MeetingRoom from "./pages/MeetingRoom.jsx";
import MeetingDetails from "./pages/MeetingDetails.jsx";
import TeamMembers from "./pages/TeamMembers.jsx";
import Profile from "./pages/Profile.jsx";
import Calendar from "./pages/Calendar.jsx";

// --- Components ---
import ProtectedRoute from "./components/ProtectedRoute.jsx";
Expand Down Expand Up @@ -240,6 +241,15 @@ const App = () => {
}
/>

<Route
path="/calendar"
element={
<ProtectedRoute>
<Calendar />
</ProtectedRoute>
}
/>

{/* ✅ Fallback route — send unknown routes to Home */}
<Route path="*" element={<Home />} />
</Routes>
Expand Down
2 changes: 2 additions & 0 deletions client/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
X,
LayoutDashboard,
Calendar,
CalendarDays,
Building2,
Search,
Bell,
Expand Down Expand Up @@ -204,6 +205,7 @@ const Navbar = () => {
const appLinks = [
{ label: "Dashboard", href: "/dashboard", icon: LayoutDashboard },
{ label: "Meetings", href: "/meetings", icon: Calendar },
{ label: "Calendar", href: "/calendar", icon: CalendarDays },
{ label: "Team Members", href: "/team-members", icon: Users },
{ label: "Organizations", href: "/select-role", icon: Building2 },
{ label: "AI Search", href: "/ai-search", icon: Search },
Expand Down
Loading
Loading