summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/modules/promo/components/Hero.tsx2
-rw-r--r--src-migrate/modules/promo/styles/voucher.module.css6
2 files changed, 4 insertions, 4 deletions
diff --git a/src-migrate/modules/promo/components/Hero.tsx b/src-migrate/modules/promo/components/Hero.tsx
index b91288dd..801136e9 100644
--- a/src-migrate/modules/promo/components/Hero.tsx
+++ b/src-migrate/modules/promo/components/Hero.tsx
@@ -43,7 +43,7 @@ const swiperBannerMob = {
};
const Hero = () => {
- const heroBanner = useQuery('heroBannerSecondary', bannerApi({ type: 'banner-promotion' }))
+ const heroBanner = useQuery('heroBannerSecondary', bannerApi({ type: 'banner-semua-promo' }))
const banners: IPromotionProgram[] = useMemo(
() => heroBanner?.data || [],
diff --git a/src-migrate/modules/promo/styles/voucher.module.css b/src-migrate/modules/promo/styles/voucher.module.css
index 24d3aac2..bcb8169f 100644
--- a/src-migrate/modules/promo/styles/voucher.module.css
+++ b/src-migrate/modules/promo/styles/voucher.module.css
@@ -7,11 +7,11 @@
}
.voucher-card {
- @apply w-full h-full rounded-xl border border-gray-200 shadow-md p-4 flex gap-x-4;
+ @apply w-11/12 h-3/4 rounded-xl border items-center border-gray-200 shadow-md p-4 flex gap-x-4 ;
}
.voucher-image {
- @apply bg-gray-100 rounded-lg w-4/12 h-full object-contain object-center;
+ @apply bg-gray-100 rounded-lg w-4/12 h-fit object-contain object-center;
}
.voucher-content {
@@ -27,7 +27,7 @@
}
.voucher-bottom {
- @apply flex justify-between mt-auto;
+ @apply flex justify-between mt-2;
}
.voucher-code-desc {