diff --git a/client/pages/dashboards/FoundationDashboard.tsx b/client/pages/dashboards/FoundationDashboard.tsx index 59a746c9..8da8c67e 100644 --- a/client/pages/dashboards/FoundationDashboard.tsx +++ b/client/pages/dashboards/FoundationDashboard.tsx @@ -3,6 +3,7 @@ import { useNavigate } from "react-router-dom"; import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { useAuth } from "@/contexts/AuthContext"; +import { useArmTheme } from "@/contexts/ArmThemeContext"; import { aethexToast } from "@/lib/aethex-toast"; import { supabase } from "@/lib/supabase"; import { @@ -37,6 +38,7 @@ const API_BASE = import.meta.env.VITE_API_BASE || ""; export default function FoundationDashboard() { const navigate = useNavigate(); const { user, loading: authLoading } = useAuth(); + const { theme } = useArmTheme(); const [activeTab, setActiveTab] = useState("overview"); const [courses, setCourses] = useState([]); const [mentorships, setMentorships] = useState([]); @@ -111,13 +113,13 @@ export default function FoundationDashboard() { return ( -
+
{/* Header */}
-

+

FOUNDATION University

@@ -128,26 +130,26 @@ export default function FoundationDashboard() { {/* Quick Stats */}

- +

Courses Enrolled

{enrolledCourses.length}

- +
- +

Completed

{completedCourses.length}

- +
@@ -185,7 +187,7 @@ export default function FoundationDashboard() { {/* Tabs */} - + Overview Courses Mentorship