summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-10-15 10:59:49 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-10-15 10:59:49 +0700
commit40b7035cecba0746be5c2931ccb3c2b539935bf5 (patch)
treed7d471bda20a037cb1c5f70423d5e401ee161d4d /src/lib
parent24ed40386d77d80fe892fe07d3ba91be07b08ca5 (diff)
<MIqdad> pickup now badge using image
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/product/components/ProductCard.jsx21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index ed804fec..48eeb506 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -293,19 +293,16 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
<Link
href='/panduan-pick-up-service'
aria-label='Pick Up Now'
- className='absolute top-2 right-2 z-40'
+ className='absolute top-2 right-2 z-10'
>
- <span
- className='
- inline-flex items-center
- rounded-full bg-cyan-500/90 px-3 py-1
- text-[10px] font-extrabold tracking-wide text-white
- shadow-sm ring-1 ring-inset ring-white/30
- backdrop-blur-[1px]
- '
- >
- PICK UP NOW
- </span>
+ <Image
+ src='/images/PICKUP-NOW.png'
+ alt='Pick Up Now'
+ width={96}
+ height={24}
+ className='drop-shadow-sm'
+ loading='eager'
+ />
</Link>
)}