diff --git a/src/components/dashboard/SettingsSection.astro b/src/components/dashboard/SettingsSection.astro index c85a37b..248f4d6 100644 --- a/src/components/dashboard/SettingsSection.astro +++ b/src/components/dashboard/SettingsSection.astro @@ -6,6 +6,7 @@ import NotificationSettings from "./SettingsSection/NotificationSettings"; import DisplaySettings from "./SettingsSection/DisplaySettings"; import ResumeSettings from "./SettingsSection/ResumeSettings"; import EmailRequestSettings from "./SettingsSection/EmailRequestSettings"; +import ThemeToggle from "./universal/ThemeToggle"; // Import environment variables const logtoAppId = import.meta.env.LOGTO_APP_ID; @@ -19,199 +20,238 @@ const safeLogtoAppId = logtoAppId || "missing_app_id"; const safeLogtoAppSecret = logtoAppSecret || "missing_app_secret"; const safeLogtoEndpoint = logtoEndpoint || "https://auth.ieeeucsd.org"; const safeLogtoTokenEndpoint = - logtoTokenEndpoint || "https://auth.ieeeucsd.org/oidc/token"; + logtoTokenEndpoint || "https://auth.ieeeucsd.org/oidc/token"; const safeLogtoApiEndpoint = logtoApiEndpoint || ""; ---
Manage your account settings and preferences
-- This section is only visible in development mode -
-Variable | -Value | -Status | -
---|---|---|
LOGTO_APP_ID | -{logtoAppId ? "********" : "Not set"} | -{logtoAppId ? "✅" : "❌"} | -
LOGTO_APP_SECRET | -{logtoAppSecret ? "********" : "Not set"} | -{logtoAppSecret ? "✅" : "❌"} | -
LOGTO_ENDPOINT | -{logtoEndpoint || "Not set"} | -{logtoEndpoint ? "✅" : "❌"} | -
LOGTO_TOKEN_ENDPOINT | -{logtoTokenEndpoint || "Not set"} | -{logtoTokenEndpoint ? "✅" : "❌"} | -
LOGTO_API_ENDPOINT | -{logtoApiEndpoint || "Not set"} | -{logtoApiEndpoint ? "✅" : "❌"} | -
- Update your personal information and profile details -
- -Manage your account settings and preferences
- Upload and manage your resume for recruiters and career opportunities -
- -+ This section is only visible in development mode +
+Variable | +Value | +Status | +
---|---|---|
LOGTO_APP_ID | +{logtoAppId ? "********" : "Not set"} | +{logtoAppId ? "✅" : "❌"} | +
LOGTO_APP_SECRET | ++ {logtoAppSecret ? "********" : "Not set"} + | +{logtoAppSecret ? "✅" : "❌"} | +
LOGTO_ENDPOINT | +{logtoEndpoint || "Not set"} | +{logtoEndpoint ? "✅" : "❌"} | +
LOGTO_TOKEN_ENDPOINT | +{logtoTokenEndpoint || "Not set"} | +{logtoTokenEndpoint ? "✅" : "❌"} | +
LOGTO_API_ENDPOINT | +{logtoApiEndpoint || "Not set"} | +{logtoApiEndpoint ? "✅" : "❌"} | +
- Request an official IEEE UCSD email address (officers only) -
- -- Manage your account security settings and authentication options -
- -- Notification settings will be available in a future update -
-+ Update your personal information and profile details +
+ ++ Upload and manage your resume for recruiters and career + opportunities +
+ +- Customize how and when you receive notifications -
- -+ Request an official IEEE UCSD email address (officers only) +
+ ++ Manage your account security settings and authentication options +
+ ++ Notification settings will be available in a future update +
++ Customize how and when you receive notifications +
+ ++ Customize your dashboard appearance and display preferences +
+ + ++ Light mode is still experimental and some UI elements + may not display correctly. +
+- Customize your dashboard appearance and display preferences -
- -- These settings are saved to your browser and your IEEE UCSD account. They will be applied whenever you log in. + These settings are saved to your browser using IndexedDB and your IEEE UCSD account. They will be applied whenever you log in.
+ You have unsaved changes. Click "Save Settings" to apply them. +
+ )} + +