From 9dc530b98c64dd39a5c408635711bc056d4e349e Mon Sep 17 00:00:00 2001 From: Christian Bedon Date: Wed, 6 Dec 2023 09:09:55 -0500 Subject: [PATCH] fix: eslint and wrong formed urls --- .../Banners/Donation/DonationBanner.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/WwwFrame/PromotionalBanner/Banners/Donation/DonationBanner.vue b/src/components/WwwFrame/PromotionalBanner/Banners/Donation/DonationBanner.vue index e18c51c8c0..7baf27d160 100644 --- a/src/components/WwwFrame/PromotionalBanner/Banners/Donation/DonationBanner.vue +++ b/src/components/WwwFrame/PromotionalBanner/Banners/Donation/DonationBanner.vue @@ -13,7 +13,7 @@ v-if="bannerImageUrl" class="tw-absolute tw-h-full tw-w-full tw-z-1" :contentful-src="bannerImageUrl" - alt="" + alt="Donation Banner image" fallback-format="gif" :height="128" :width="128" @@ -55,8 +55,7 @@ ]" variant="secondary" class="tw-border-brand tw-text-brand" - :href="`/donate/supportus/?dfmode=${frequency}& - dfamt=${numeral(buttonAmount).format('0.00')}`" + :href="`/donate/supportus?dfmode=${frequency}&dfamt=${numeral(buttonAmount).format('0.00')}`" > Donate ${{ buttonAmount }} @@ -64,7 +63,7 @@ v-kv-track-event="['promo', 'click-other', 'DonationBanner', 0, 0]" variant="secondary" class="other-amount" - :href="`/donate/supportus??dfmode=${frequency}&dfmat=0.00`" + :href="`/donate/supportus?dfmode=${frequency}&dfmat=0.00`" > Other @@ -74,7 +73,8 @@ 'promo', 'click-donation-banner-close', 'x', - ]" class="` + ]" + class="` tw-flex tw-items-center tw-justify-center @@ -85,7 +85,8 @@ tw-right-2 tw-rounded hover:tw-bg-tertiary - focus:tw-bg-tertiary`" @click="onCloseBanner" + focus:tw-bg-tertiary`" + @click="onCloseBanner" >