summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/product/components/ProductCard.jsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 2715c6e8..7a0d1cc1 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -79,7 +79,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
return (
<>
<DesktopView>
- <div className='rounded shadow-sm'>
+ <div className='rounded '>
<Link href={URL.product} className='relative' aria-label='Produk'>
<div className='relative'>
<Image
@@ -264,18 +264,18 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
{/* baris harga sekarang + harga coret */}
<div className='flex items-baseline gap-1 min-w-0'>
{/* harga setelah voucher */}
- <span className='inline-flex items-center gap-1 text-danger-500 font-semibold text-sm whitespace-nowrap rounded-sm bg-red-50 px-2.5 py-0.5'>
- <TicketIcon className='h-4 w-4 shrink-0 text-danger-500' />
+ <span className='inline-flex items-center gap-1 text-danger-500 font-semibold text-xs whitespace-nowrap rounded bg-red-50 px-1.5 py-0.5 border border-solid border-danger-500'>
+ <TicketIcon className='h-4 w-4 shrink-0 text-danger-400' />
{currencyFormat(finalAfterVoucher)}
</span>
{/* harga sebelum voucher, dicoret, truncate kalau kepanjangan */}
- <span
+ {/* <span
className='text-gray_r-11 line-through text-[11px] leading-snug
whitespace-nowrap overflow-hidden text-ellipsis max-w-[40%]'
>
{currencyFormat(basePrice)}
- </span>
+ </span> */}
</div>
{/* PPN pakai harga finalAfterVoucher */}
@@ -508,18 +508,18 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
{/* baris harga sekarang + harga coret */}
<div className='flex items-baseline gap-1 min-w-0'>
{/* harga setelah voucher */}
- <span className='inline-flex items-center gap-1 text-danger-500 font-semibold text-sm whitespace-nowrap rounded-sm bg-red-50 px-2.5 py-0.5'>
+ <span className='inline-flex items-center gap-1 text-danger-500 font-semibold text-xs whitespace-nowrap rounded bg-red-50 px-2.5 py-0.5 border border-solid border-danger-500'>
<TicketIcon className='h-4 w-4 shrink-0 text-danger-500' />
{currencyFormat(finalAfterVoucher)}
</span>
{/* harga sebelum voucher, dicoret, truncate kalau kepanjangan */}
- <span
+ {/* <span
className='text-gray_r-11 line-through text-[11px] leading-snug
whitespace-nowrap overflow-hidden text-ellipsis max-w-[40%]'
>
{currencyFormat(basePrice)}
- </span>
+ </span> */}
</div>
{/* PPN pakai harga finalAfterVoucher */}