Textes are working!! need to convert image now

This commit is contained in:
PascalMarchesseault
2024-12-08 01:06:51 -05:00
parent afd5569a8f
commit cd9c96af39
3 changed files with 175 additions and 102 deletions

View File

@@ -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
}
})