Fix path and names for Profile section
This commit is contained in:
@@ -131,13 +131,13 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import Name from '@/views/Profile/Dialogs/PersonnalInfo/Name.vue';
|
import Name from './Name.vue';
|
||||||
import AdressesHome from '@/views/Profile/Dialogs/PersonnalInfo/AdressesHome.vue';
|
import AdressesHome from './AdressesHome.vue';
|
||||||
import AdressesWork from '@/views/Profile/Dialogs/PersonnalInfo/AdressesWork.vue';
|
import AdressesWork from './AdressesWork.vue';
|
||||||
import Birthday from '@/views/Profile/Dialogs/PersonnalInfo/Birthday.vue';
|
import Birthday from './Birthday.vue';
|
||||||
import Email from '@/views/Profile/Dialogs/PersonnalInfo/Email.vue';
|
import Email from './Email.vue';
|
||||||
import Gender from '@/views/Profile/Dialogs/PersonnalInfo/Gender.vue';
|
import Gender from './Gender.vue';
|
||||||
import Phone from '@/views/Profile/Dialogs/PersonnalInfo/Phone.vue';
|
import Phone from './Phone.vue';
|
||||||
|
|
||||||
const dialog = ref(false);
|
const dialog = ref(false);
|
||||||
const currentComponent = ref('');
|
const currentComponent = ref('');
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import {ref} from 'vue'
|
import {ref} from 'vue'
|
||||||
import {useUserStore} from "@/stores/userStore.js"
|
import {useUserStore} from "@/stores/userStore.js"
|
||||||
import Socials from '@/views/Profile/Dialogs/PageInformations/Socials.vue'
|
import Socials from './Socials.vue'
|
||||||
import BannerPicker from '@/views/Profile/Dialogs/PageInformations/BannerPicker.vue'
|
import BannerPicker from './BannerPicker.vue'
|
||||||
import ColorsPicker from '@/views/Profile/Dialogs/PageInformations/ColorsPicker.vue'
|
import ColorsPicker from './ColorsPicker.vue'
|
||||||
import LogoPicker from "@/views/Profile/Dialogs/PageInformations/LogoPicker.vue"
|
import LogoPicker from "./LogoPicker.vue"
|
||||||
import About from "@/views/Profile/Dialogs/PageInformations/About.vue";
|
import About from "./About.vue";
|
||||||
import CreateCreator from "@/views/Profile/Dialogs/PageInformations/CreateCreator.vue";
|
import CreateCreator from "./CreateCreator.vue";
|
||||||
|
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
@@ -60,9 +60,9 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import ModalPassword from '@/views/Profile/Dialogs/AccountSecurity/ModalPassword.vue';
|
import ModalPassword from './ModalPassword.vue';
|
||||||
import ModalRecoveryByEmailInfo from '@/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByEmailInfo.vue';
|
import ModalRecoveryByEmailInfo from './ModalRecoveryByEmailInfo.vue';
|
||||||
import ModalRecoveryByPhoneInfo from '@/views/Profile/Dialogs/AccountSecurity/ModalRecoveryByPhoneInfo.vue';
|
import ModalRecoveryByPhoneInfo from './ModalRecoveryByPhoneInfo.vue';
|
||||||
|
|
||||||
|
|
||||||
const dialog = ref(false);
|
const dialog = ref(false);
|
||||||
@@ -22,14 +22,14 @@
|
|||||||
@mouseup="mouseUp"
|
@mouseup="mouseUp"
|
||||||
@mousemove="mouseMove">
|
@mousemove="mouseMove">
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'PageInformations'">
|
<v-btn variant="text" @click="currentComponent = 'CreatorPage'">
|
||||||
<v-icon class="mr-2">mdi-file-edit-outline</v-icon>
|
<v-icon class="mr-2">mdi-file-edit-outline</v-icon>
|
||||||
Informations de votre page
|
Créateur
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
|
<v-btn variant="text" @click="currentComponent = 'PersonnalInfo'">
|
||||||
<v-icon class="mr-2">mdi-information</v-icon>
|
<v-icon class="mr-2">mdi-information</v-icon>
|
||||||
Informations personnelles
|
Utilisateur
|
||||||
</v-btn>
|
</v-btn>
|
||||||
|
|
||||||
<v-btn variant="text" @click="currentComponent = 'ManageAccount'">
|
<v-btn variant="text" @click="currentComponent = 'ManageAccount'">
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
<template v-if="currentComponent === 'ManageAccount'">
|
<template v-if="currentComponent === 'ManageAccount'">
|
||||||
<manage-account></manage-account>
|
<manage-account></manage-account>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="currentComponent === 'PageInformations'">
|
<template v-else-if="currentComponent === 'CreatorPage'">
|
||||||
<page-informations></page-informations>
|
<creator-profile></creator-profile>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="currentComponent === 'PersonnalInfo'">
|
<template v-else-if="currentComponent === 'PersonnalInfo'">
|
||||||
<personnal-info></personnal-info>
|
<personnal-info></personnal-info>
|
||||||
@@ -74,10 +74,10 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import {ref, onMounted} from "vue";
|
import {ref, onMounted} from "vue";
|
||||||
import ManageAccount from "@/views/Profile/ManageAccount.vue";
|
import ManageAccount from "@/views/profile/ManageAccount.vue";
|
||||||
import PageInformations from "@/views/Profile/PageInformations.vue";
|
import CreatorPage from "@/views/profile/creators/CreatorPage.vue";
|
||||||
import PersonnalInfo from "@/views/Profile/PersonnalInfo.vue";
|
import PersonnalInfo from "@/views/profile/account/PersonnalInfo.vue";
|
||||||
import AccountSecurity from "@/views/Profile/AccountSecurity.vue";
|
import AccountSecurity from "@/views/profile/security/AccountSecurity.vue";
|
||||||
|
|
||||||
const currentComponent = ref('PersonnalInfo'); // Default component
|
const currentComponent = ref('PersonnalInfo'); // Default component
|
||||||
const isDown = ref(false);
|
const isDown = ref(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user