diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index ce7481b2..1d609263 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -16,6 +16,11 @@ import { CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Textarea } from "@/components/ui/textarea"; +import { Switch } from "@/components/ui/switch"; +import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import LoadingScreen from "@/components/LoadingScreen"; import { Link } from "react-router-dom"; import { @@ -43,7 +48,7 @@ import { export default function Dashboard() { const navigate = useNavigate(); - const { user, profile, loading: authLoading } = useAuth(); + const { user, profile, loading: authLoading, updateProfile } = useAuth(); const [isLoading, setIsLoading] = useState(true); const [projects, setProjects] = useState([]); const [achievements, setAchievements] = useState([]); @@ -338,7 +343,12 @@ export default function Dashboard() { Notifications - @@ -464,6 +474,90 @@ export default function Dashboard() { })} + {/* Settings Section */} + + + Account Settings + Manage your profile, notifications, and privacy + + + + + Profile + Notifications + Privacy + + + +
+
+ + updateProfile({ full_name: e.target.value } as any)} /> +
+
+ + updateProfile({ location: e.target.value } as any)} /> +
+
+ +