diff --git a/app/settings/page.tsx b/app/settings/page.tsx new file mode 100644 index 0000000..7f5d55b --- /dev/null +++ b/app/settings/page.tsx @@ -0,0 +1,14 @@ +import ProfileSettings from '@/components/settings/ProfileSettings' + +export const metadata = { + title: 'Settings - Ciphera Analytics', + description: 'Manage your account settings', +} + +export default function SettingsPage() { + return ( +
+ {error} +
+ )} ++ Manage your account settings and preferences. +
++ Preferences are currently not available. +
+Irreversible actions for your account.
+Permanently delete your account and all data.
+Add an extra layer of security to your account.
+Use an app like Google Authenticator or Authy.
++ Open your authenticator app and scan the image. +
++ Secret: {twoFAData.secret} +
++ Generate backup codes in case you lose access to your device. +
+Manage devices that are currently signed in to your account.
++ Please enter your password to confirm changing your email to {email}. +
+ + ++ This action is irreversible. All your data will be permanently deleted. +
+ + {deleteError && ( +
+
+ They are the only way to access your account if you lose your device. We cannot display them again. +
++ This will invalidate all existing codes. Make sure you have your new codes saved immediately. +
+ +