Add a shortcut to the banner editor.
This commit is contained in:
@@ -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"
|
||||
@@ -10,6 +11,18 @@
|
||||
{{ isEditMode ? 'Enregistrer' : 'Éditer la page' }}
|
||||
</button>
|
||||
|
||||
<router-link to="/profile"><button
|
||||
v-if="isLoggedIn"
|
||||
|
||||
class="px-4 py-2 rounded-md hover:opacity-90"
|
||||
:style="{ backgroundColor: brandingStore.colors.secondary, color: brandingStore.colors.onSecondary }"
|
||||
>
|
||||
Éditer la banière
|
||||
</button></router-link>
|
||||
|
||||
|
||||
|
||||
|
||||
<button
|
||||
v-if="isEditMode && isLoggedIn"
|
||||
@click="cancelEdit"
|
||||
|
||||
Reference in New Issue
Block a user