Skip to content

Commit

Permalink
🔀 Merge #2006 into deploy/rinkeby
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Dec 31, 2024
2 parents fcd314f + e375bec commit a92720e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 34 deletions.
15 changes: 0 additions & 15 deletions src/components/SiteTopBannerForChristmas.vue

This file was deleted.

1 change: 0 additions & 1 deletion src/layouts/default.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div class="flex flex-col items-stretch min-h-screen">
<SiteTopBannerForChristmas />
<!-- <AlertBanner
v-if="getRouteBaseName($route) !== 'nft-class-classId' && $route.params.classId !== alertBannerNFTClassId"
:primary-button-text="$t('alert_banner_actions_purchase')"
Expand Down
1 change: 0 additions & 1 deletion src/layouts/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<AlertBanner v-if="uiIsChainUpgrading">{{
$t('notice_chain_upgrading')
}}</AlertBanner>
<SiteTopBannerForChristmas />

<nuxt
:class="[
Expand Down
18 changes: 2 additions & 16 deletions src/mixins/coupon.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
import {
CHRISTMAS_CAMPAIGN_MIN_SPEND,
CHRISTMAS_CAMPAIGN_COUPON,
} from '@/constant/index';

export default {
computed: {
mixinCoupon() {
return this.$route.query.coupon || '';
},
},
methods: {
getApplicableCoupon({ cartCoupon, checkoutPrice }) {
if (this.mixinCoupon || cartCoupon) {
return this.mixinCoupon || cartCoupon;
}
return checkoutPrice > CHRISTMAS_CAMPAIGN_MIN_SPEND
? CHRISTMAS_CAMPAIGN_COUPON
: '';
const queryCoupon = this.$route.query.coupon || '';
return queryCoupon || cartCoupon || undefined;
},
},
};
2 changes: 1 addition & 1 deletion src/pages/store/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'w-full',
]"
>
<nav class="relative flex items-center w-full">
<nav class="relative flex items-center min-w-0">
<!-- Left arrow -->
<div
v-if="isTagsContainerOverflowing && !isTagsContainerAtStart"
Expand Down

0 comments on commit a92720e

Please sign in to comment.