Skip to content
Snippets Groups Projects
Commit ff09e9bf authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

Fix crowndfunding button

parent 4031a037
No related branches found
No related tags found
No related merge requests found
...@@ -40,21 +40,24 @@ ...@@ -40,21 +40,24 @@
</slot> </slot>
<div <div
class="flex items-center w-full lg:w-max justify-center px-2 lg:px-0" class="flex items-center w-full lg:w-max justify-center px-2 lg:px-0 pt-2 lg:pt-0"
v-if="!isKeyCopied"
> >
<slot name="button" class="w-full lg:w-max" :on-click="onClick"> <slot
v-if="!isKeyCopied"
name="button"
class="w-full lg:w-max"
:on-click="onClick"
>
<t-button class="w-full lg:w-max" @click="onClick"> <t-button class="w-full lg:w-max" @click="onClick">
{{ buttonText }} {{ buttonText }}
</t-button> </t-button>
</slot> </slot>
</div> <t-button
v-else
<div variant="success"
class="flex items-center w-full lg:w-max justify-center px-2 lg:px-0" class="w-full lg:w-max"
v-if="isKeyCopied" @click="onClick"
> >
<t-button variant="success" class="w-full lg:w-max" @click="onClick">
<fa icon="check" /> <fa icon="check" />
Clé copiée Clé copiée
</t-button> </t-button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment