diff --git a/src/stores/brandingStore.js b/src/stores/brandingStore.js index 013d2f2..f929963 100644 --- a/src/stores/brandingStore.js +++ b/src/stores/brandingStore.js @@ -29,6 +29,7 @@ export const useBrandingStore = defineStore( "onSurface": "#000", } const colors = ref(defaultColors) + const presentationInfos = ref([]) const route = useRoute() watch( @@ -41,10 +42,12 @@ export const useBrandingStore = defineStore( value.value = await fetchCreatorData(newCreator) currentBrand.value = newCreator colors.value = value.value.colors + presentationInfos.value = value.value.presentationInfos } else { value.value = {} currentBrand.value = undefined colors.value = defaultColors + presentationInfos.value = [] } } @@ -66,6 +69,7 @@ export const useBrandingStore = defineStore( currentBrand, value, colors, - loading + loading, + presentationInfos } }) diff --git a/src/views/creators/BannerActions.vue b/src/views/creators/BannerActions.vue index 56447eb..2650da0 100644 --- a/src/views/creators/BannerActions.vue +++ b/src/views/creators/BannerActions.vue @@ -58,11 +58,11 @@
- + + + + +
diff --git a/src/views/creators/CreatorHome.vue b/src/views/creators/CreatorHome.vue index 1d0b4d4..ce940e7 100644 --- a/src/views/creators/CreatorHome.vue +++ b/src/views/creators/CreatorHome.vue @@ -2,25 +2,28 @@
- -
+ +
+ -
- -
+ +
- + +
@@ -66,7 +69,7 @@

{{ videoSubtitleMain }}

- +
URL vidéo
@@ -101,8 +104,8 @@

{{ mainVideoText }}

- - + +
@@ -119,7 +122,7 @@
Images
- +