Adds edition of user profile

This commit is contained in:
2024-09-03 21:00:03 -04:00
parent dff3618359
commit eb9ed1f9a8
22 changed files with 712 additions and 400 deletions

View File

@@ -27,7 +27,7 @@
{{ $t('profilemenu.creator') }}
</v-btn>
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
<v-btn variant="text" @click="currentComponent = 'AccountPage'">
<v-icon class="mr-2">mdi-information</v-icon>
{{ $t('profilemenu.user') }}
</v-btn>
@@ -61,8 +61,8 @@
<template v-else-if="currentComponent === 'CreatorPage'">
<creator-page></creator-page>
</template>
<template v-else-if="currentComponent === 'PersonnalInfo'">
<personnal-info></personnal-info>
<template v-else-if="currentComponent === 'AccountPage'">
<account-page></account-page>
</template>
<template v-else-if="currentComponent === 'AccountSecurity'">
<account-security></account-security>
@@ -76,10 +76,10 @@
import {ref, onMounted} from "vue";
import ManageAccount from "@/views/profile/management/ManageAccount.vue";
import CreatorPage from "@/views/profile/creators/CreatorPage.vue";
import PersonnalInfo from "@/views/profile/account/PersonnalInfo.vue";
import AccountPage from "@/views/profile/account/AccountPage.vue";
import AccountSecurity from "@/views/profile/security/AccountSecurity.vue";
const currentComponent = ref('PersonnalInfo'); // Default component
const currentComponent = ref('AccountPage'); // Default component
const isDown = ref(false);
const startX = ref(0);
const scrollLeft = ref(0);