summaryrefslogtreecommitdiff
path: root/src-migrate
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-12 18:33:30 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-12 18:33:30 +0700
commitff27a8752df545554fcee1beb8acbb24011a040b (patch)
tree694f6a929242760d281f873c6f65e126c0725196 /src-migrate
parentdeaa4c5417bfb8b41d00b523e63e1b9b24a6ff76 (diff)
<MIqdad> mobile watermark
Diffstat (limited to 'src-migrate')
-rw-r--r--src-migrate/modules/product-detail/components/ProductDetail.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 388d2248..48270dee 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -152,6 +152,15 @@ const ProductDetail = ({ product }: Props) => {
/>
</div>
)}
+ {isMobile && !hasPrice && (
+ <div className='fixed inset-0 z-[50] flex items-center justify-center pointer-events-none select-none'>
+ <img
+ src='/images/produk_tidak_tersedia.svg'
+ alt='Produk tidak tersedia'
+ className='w-[100%] opacity-[75%] -translate-x-[2%]'
+ />
+ </div>
+ )}
<div className='md:flex md:flex-wrap'>
<div className='w-full mb-4 md:mb-0 px-4 md:px-0'>