diff --git a/frontend/src/pages/SettingsPage.jsx b/frontend/src/pages/SettingsPage.jsx index 117e4b2..21036fa 100644 --- a/frontend/src/pages/SettingsPage.jsx +++ b/frontend/src/pages/SettingsPage.jsx @@ -4,10 +4,10 @@ import { useAuth } from '../context/AuthContext' import { useTheme } from '../context/ThemeContext' import api from '../api/client' -function Section({ title, children, compact = false }) { +function Section({ title, children }) { return ( -
-

{title}

+
+

{title}

{children}
) @@ -44,7 +44,7 @@ function ProfileSection({ user }) { return (
-

+

{user?.email}   Display Name setName(e.target.value)} required />

-
- - Change password - -
- - setCurrentPassword(e.target.value)} placeholder="Required to change password" /> -
-
- - setNewPassword(e.target.value)} placeholder="At least 8 characters" /> -
-
- - setConfirmPassword(e.target.value)} /> -
-
- +
+

+ Change Password (leave blank to keep current) +

+
+ + setCurrentPassword(e.target.value)} placeholder="Required to change password" /> +
+
+ + setNewPassword(e.target.value)} placeholder="At least 8 characters" /> +
+
+ + setConfirmPassword(e.target.value)} /> +
+ ) @@ -105,15 +102,15 @@ function NotificationsSection() { if (!loaded) return null return ( -
-
-
+
+
+
Quiz Reminders - Emails to review quizzes based on performance. + Receive email reminders to review quizzes based on your performance.
-