diff --git a/frontend/components/partial/ProfileButton.vue b/frontend/components/partial/ProfileButton.vue index d09715d..5cf644b 100644 --- a/frontend/components/partial/ProfileButton.vue +++ b/frontend/components/partial/ProfileButton.vue @@ -27,11 +27,11 @@ class="dark:hover:text-white" @click=" close(); - goToMembership(); + goToProfileSettings(); " > - - {{ t('subscription.title') }} + + {{ t('profile.profile') }}
  • @@ -88,7 +88,7 @@ logout(); } - function goToMembership() { - router.push('/settings/subscription'); + function goToProfileSettings() { + router.push('/settings/profile'); } diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 9102939..9088304 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -174,7 +174,15 @@ "start-new-session": "Start New Session" }, "profile": { - "profile": "Profile" + "profile": "Profile", + "receive-daily-practice-email-reminders": "Receive daily practice email reminders?", + "full-name": "Full Name", + "email": "Email", + "password": "Password", + "reset-password": "Reset Password", + "uploading": "Uploading...", + "profile-updated": "Profile updated successfully", + "profile-update-failed": "Failed to update profile" }, "billing": { "billing": "Billing", @@ -209,5 +217,7 @@ "logout": "Log out", "sign-out": "Sign Out", "confirm-sign-out": "Confirm Sign Out", - "confirm-sign-out-message": "Are you sure you want to sign out of your account?" + "confirm-sign-out-message": "Are you sure you want to sign out of your account?", + "save-changes": "Save Changes", + "coming-soon": "Coming soon" } diff --git a/frontend/package.json b/frontend/package.json index 76288e8..baa9395 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "vue-tsc": "^0.40.4" }, "dependencies": { - "@codebridger/lib-vue-components": "^1.19.0", + "@codebridger/lib-vue-components": "^1.20.0", "@modular-rest/client": "^1.14.0", "@pinia/nuxt": "^0.4.6", "apexcharts": "^4.4.0", @@ -46,4 +46,4 @@ "vue3-popper": "^1.5.0", "yup": "^1.6.1" } -} +} \ No newline at end of file diff --git a/frontend/pages/settings/profile.vue b/frontend/pages/settings/profile.vue index a3f1acc..b45ba8f 100644 --- a/frontend/pages/settings/profile.vue +++ b/frontend/pages/settings/profile.vue @@ -1,12 +1,111 @@ + + diff --git a/frontend/pages/statistic.vue b/frontend/pages/statistic.vue index f1e138e..b0f5d2e 100644 --- a/frontend/pages/statistic.vue +++ b/frontend/pages/statistic.vue @@ -1,5 +1,5 @@