diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-07-17 09:29:37 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-07-17 09:29:37 +0000 |
| commit | 23a68e3cfcae9ca5c6789c7ec92af71b4944689c (patch) | |
| tree | 8cbd5da66472bb51c6072d09728e10c8aa021fe4 | |
| parent | bc7c0d1891db37ad314bd5016e19917e0f1e63be (diff) | |
| parent | e32af31e19d38bf5f94dc229bae012c5c5aea720 (diff) | |
Merged in Feature/all-promotion (pull request #170)
<iman> update slug banner and card voucher
| -rw-r--r-- | src-migrate/modules/promo/components/Hero.tsx | 2 | ||||
| -rw-r--r-- | src-migrate/modules/promo/styles/voucher.module.css | 6 |
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 { |
