diff --git a/frontend/src/pages/SettingsPage.jsx b/frontend/src/pages/SettingsPage.jsx index d342977..117e4b2 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 }) { +function Section({ title, children, compact = false }) { return ( -
-

{title}

+
+

{title}

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

+

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

-
-

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