Awaille joe fait ta magie!

This commit is contained in:
PascalMarchesseault
2024-08-13 00:07:27 -04:00
parent 0818595cf3
commit 1faf67f5f1
4 changed files with 57 additions and 26 deletions

View File

@@ -61,8 +61,8 @@
<div class="px-6 mt-2">
<subscribe-button :creator="creator"></subscribe-button>
</div>
<donation-button :creator="creator"></donation-button>
<donation-button :creator="creator" iconColorClass="text-white"></donation-button>
<div class="flex flex-row align-center">

View File

@@ -1,8 +1,9 @@
<template>
<v-btn variant="text" icon @click="donationModal = true">
<v-icon class="text-2xl">mdi-gift-outline</v-icon>
<v-btn variant="text" icon @click="donationModal = true">
<v-icon :class="['text-2xl', iconColorClass]">mdi-gift-outline</v-icon>
</v-btn>
<v-dialog v-model="donationModal" max-width="500">
<v-form>
<v-card class="text-center rounded-xl" :style="{ border: `3px solid ${creator.colors.menu}` }">
@@ -55,7 +56,7 @@
<template v-slot:default>
<v-card>
<div id="checkout">
<!-- Checkout will insert the payment form here -->
</div>
<v-card-actions>
<v-spacer></v-spacer>
@@ -83,6 +84,7 @@ const client = useClient();
const props = defineProps({
creator: {type: Object, required: true},
iconColorClass: { type: String, default: 'text-black' }
});