diff --git a/src/views/profile/creators/CreatorPage.vue b/src/views/profile/creators/CreatorPage.vue index fa4c4b4..7c85794 100644 --- a/src/views/profile/creators/CreatorPage.vue +++ b/src/views/profile/creators/CreatorPage.vue @@ -12,12 +12,12 @@ import {useUserProfileStore} from "@/stores/userProfileStore.js"; const creatorProfileStore = useCreatorProfileStore() -const colorBannerTop = computed(() => creatorProfileStore.value.colors.bannerTop || '#a0c0f0') -const colorBannerBottom = computed(() => creatorProfileStore.value.colors.bannerBottom || '#a0c0f0') -const colorAccent = computed(() => creatorProfileStore.value.colors.accent || '#a0c0f0') -const colorMenu = computed(() => creatorProfileStore.value.colors.menu || '#a0c0f0') -const imageBanner = computed(() => creatorProfileStore.value.images.banner || '/images/placeholders/banner.png') -const imageLogo = computed(() => creatorProfileStore.value.images.logo || '/images/placeholders/logo.png') +const colorBannerTop = computed(() => creatorProfileStore.creator.colors.primary || '#a0c0f0') +const colorBannerBottom = computed(() => creatorProfileStore.creator.colors.secondary || '#a0c0f0') +const colorAccent = computed(() => creatorProfileStore.creator.colors.accent || '#a0c0f0') +const colorMenu = computed(() => creatorProfileStore.creator.colors.menu || '#a0c0f0') +const imageBanner = computed(() => creatorProfileStore.creator.images.banner || '/images/placeholders/banner.png') +const imageLogo = computed(() => creatorProfileStore.creator.images.logo || '/images/placeholders/logo.png') const dialog = ref(false); const currentComponent = ref('') @@ -98,7 +98,7 @@ const closeDialog = () => { class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full"> {{ $t('creatorinfopage.name') }} - {{ creatorProfileStore.value.name }} + {{ creatorProfileStore.creator.name }} mdi-chevron-right @@ -176,7 +176,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full"> mdi-facebook - {{ creatorProfileStore.value.socials.facebookUrl }} + {{ creatorProfileStore.creator.socials.facebookUrl }} mdi-chevron-right @@ -186,7 +186,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full"> mdi-instagram - {{ creatorProfileStore.value.socials.instagramUrl }} + {{ creatorProfileStore.creator.socials.instagramUrl }} mdi-chevron-right @@ -198,7 +198,7 @@ const closeDialog = () => { - {{ creatorProfileStore.value.socials.xUrl }} + {{ creatorProfileStore.creator.socials.xUrl }} mdi-chevron-right @@ -208,7 +208,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full "> mdi-linkedin - {{ creatorProfileStore.value.socials.linkedInUrl }} + {{ creatorProfileStore.creator.socials.linkedInUrl }} mdi-chevron-right @@ -220,7 +220,7 @@ const closeDialog = () => { - {{ creatorProfileStore.value.socials.tikTokUrl }} + {{ creatorProfileStore.creator.socials.tikTokUrl }} mdi-chevron-right @@ -230,7 +230,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full "> mdi-youtube - {{ creatorProfileStore.value.socials.youtubeUrl }} + {{ creatorProfileStore.creator.socials.youtubeUrl }} mdi-chevron-right @@ -240,7 +240,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full "> mdi-reddit - {{ creatorProfileStore.value.socials.redditUrl }} + {{ creatorProfileStore.creator.socials.redditUrl }} mdi-chevron-right @@ -250,7 +250,7 @@ const closeDialog = () => { @click="openDialog('Socials')" class="HoverBtn active:bg-gray-300 py-2 px-4 border-gray-400 shadow flex items-center transition duration-200 ease-in-out w-full rounded-b-2xl "> mdi-web - {{ creatorProfileStore.value.socials.websiteUrl }} + {{ creatorProfileStore.creator.socials.websiteUrl }} mdi-chevron-right