diff --git a/src/App.tsx b/src/App.tsx
index bd149ac..3fe843b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -16,6 +16,7 @@ import SupportPage from "./components/SupportPage";
import BookingManagementPage from "./components/BookingManagementPage";
import RecurringBlockPage from "./components/RecurringBlockPage";
import NotificationsPage from "./components/NotificationsPage";
+import ProfilePage from "./components/ProfilePage";
export default function App() {
const [showPassword, setShowPassword] = useState(false);
@@ -57,7 +58,10 @@ export default function App() {
{/* Main Content with left margin for sidebar */}
{/* Header with notifications and profile */}
-
setActiveNavItem("notifications")} />
+ setActiveNavItem("notifications")}
+ onNavigateToProfile={() => setActiveNavItem("profile")}
+ />
}
{activeNavItem === "support" && }
{activeNavItem === "notifications" && }
+ {activeNavItem === "profile" && }
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 40b7450..d7ce6f6 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,4 +1,4 @@
-import { Bell, User, Settings, LogOut, ChevronDown } from "lucide-react";
+import { Bell, User, LogOut, ChevronDown } from "lucide-react";
import { useState } from "react";
import { motion, AnimatePresence } from "motion/react";
import { Avatar, AvatarFallback, AvatarImage } from "./ui/avatar";
@@ -7,9 +7,10 @@ import { Badge } from "./ui/badge";
interface HeaderProps {
onNavigateToNotifications?: () => void;
+ onNavigateToProfile?: () => void;
}
-export default function Header({ onNavigateToNotifications }: HeaderProps) {
+export default function Header({ onNavigateToNotifications, onNavigateToProfile }: HeaderProps) {
const [showNotifications, setShowNotifications] = useState(false);
const [showProfileMenu, setShowProfileMenu] = useState(false);
@@ -166,17 +167,14 @@ export default function Header({ onNavigateToNotifications }: HeaderProps) {
-