Merge remote-tracking branch 'origin/main'

# Conflicts:
#	frontend/src/views/creators/CreatorBanner.vue
This commit is contained in:
2025-02-07 15:45:17 -05:00
3 changed files with 92 additions and 42 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div v-if="creatorProfileStore.creator?.id === brandingStore.value.id" class="flex justify-end space-x-2 mb-5 pa-1">
<!-- Bouton principal : Éditer ou Enregistrer -->
<button
v-if="isLoggedIn"
@@ -7,9 +8,11 @@
class="px-4 py-2 rounded-md hover:opacity-90"
:style="{ backgroundColor: brandingStore.colors.secondary, color: brandingStore.colors.onSecondary }"
>
{{ isEditMode ? 'Enregistrer' : 'Éditer la page' }}
<v-icon>mdi-home-edit</v-icon>
</button>
<button
v-if="isEditMode && isLoggedIn"
@click="cancelEdit"