diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 13:00:49 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-06 13:00:49 +0700 |
| commit | 518f731977223d96c209e1318444e07970517e38 (patch) | |
| tree | 8b35d7275df38c65c1b8ed8c26c10c2eaf55d807 /src-migrate/modules | |
| parent | 86d589efc69c3d01bf85132d2b49f90a59d298fb (diff) | |
<Miqdad> Cr renca
Diffstat (limited to 'src-migrate/modules')
3 files changed, 10 insertions, 10 deletions
diff --git a/src-migrate/modules/product-detail/components/Image.tsx b/src-migrate/modules/product-detail/components/Image.tsx index d99b683c..c9687bf0 100644 --- a/src-migrate/modules/product-detail/components/Image.tsx +++ b/src-migrate/modules/product-detail/components/Image.tsx @@ -92,7 +92,7 @@ const Image = ({ product }: Props) => { </Tooltip> </div> - {flashSale.remaining_time > 0 && ( + {/* {flashSale.remaining_time > 0 && ( <div className='absolute bottom-0 w-full h-14'> <div className='relative w-full h-full'> <ImageUI @@ -126,7 +126,7 @@ const Image = ({ product }: Props) => { </div> </div> </div> - )} + )} */} </div> ); }; diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx index 03148150..e5f62553 100644 --- a/src-migrate/modules/product-detail/components/PriceAction.tsx +++ b/src-migrate/modules/product-detail/components/PriceAction.tsx @@ -174,7 +174,7 @@ const PriceAction = ({ product }: Props) => { // Tidak ada discount bawaan, tapi ada voucher → tampilkan harga setelah voucher <> <div - className={`${style['main-price']} inline-flex items-center gap-2 leading-none bg-red-100 px-2 py-0.5 rounded-sm`} + className={`${style['main-price']} inline-flex items-center gap-2 leading-none bg-red-100 px-2 py-0.5 rounded-md border border-red-500 `} style={fontSize ? { fontSize } : undefined} > <TicketIcon className='w-5 h-5 shrink-0' aria-hidden /> @@ -232,7 +232,7 @@ const PriceAction = ({ product }: Props) => { // Tidak ada discount bawaan, tapi ada voucher → tampilkan harga setelah voucher <> <div - className={`${style['main-price']} inline-flex items-center gap-2 leading-none bg-red-100 px-2 py-0.5 rounded-sm`} + className={`${style['main-price']} inline-flex items-center gap-2 leading-none bg-red-100 px-2 py-0.5 rounded-md border border-red-500`} style={fontSize ? { fontSize } : undefined} > <TicketIcon className='w-5 h-5 shrink-0' aria-hidden /> @@ -285,7 +285,7 @@ const PriceAction = ({ product }: Props) => { <DesktopView> <div className='h-4' /> - <div className='flex gap-x-4 items-center'> + <div className='flex gap-x-3 items-center'> {/* Qty */} <div className='relative flex items-center'> <button @@ -344,9 +344,9 @@ const PriceAction = ({ product }: Props) => { )} </div> </div> - <span className='block text-[12px] text-red-500 italic mt-1'> + {/* <span className='block text-[12px] text-red-500 italic mt-1'> * {qtyPickUp} barang bisa di pickup - </span> + </span> */} </DesktopView> {/* ===== MOBILE: grid kiri-kanan, kanan hanya qty ===== */} @@ -381,11 +381,11 @@ const PriceAction = ({ product }: Props) => { )} </div> - {qtyPickUp > 0 && ( + {/* {qtyPickUp > 0 && ( <div className='text-[12px] mt-1 text-red-500 italic'> * {qtyPickUp} barang bisa di pickup </div> - )} + )} */} </div> {/* Kanan: hanya qty, rata kanan */} diff --git a/src-migrate/modules/product-detail/styles/price-action.module.css b/src-migrate/modules/product-detail/styles/price-action.module.css index b94c33f7..def14e86 100644 --- a/src-migrate/modules/product-detail/styles/price-action.module.css +++ b/src-migrate/modules/product-detail/styles/price-action.module.css @@ -19,7 +19,7 @@ } .disc-badge { - @apply bg-danger-500 px-2 py-1.5 rounded text-white text-caption-2; + @apply bg-danger-500 px-2 py-1 rounded text-white text-caption-2; } .disc-price { |
