diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-11-20 01:08:57 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-11-20 01:08:57 +0700 |
| commit | 6df02d6a2bf6d5ea77f7703917f2709562308a1a (patch) | |
| tree | 4695dcefecead7d66ebec74b938e0987328ce1cd /src/components/ProductCard.js | |
| parent | ce16ffadc9c0db5a31665d30aff2b6eeaa8e7834 (diff) | |
Improve page transition and product card badge
Diffstat (limited to 'src/components/ProductCard.js')
| -rw-r--r-- | src/components/ProductCard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ProductCard.js b/src/components/ProductCard.js index 3b0ef162..063a5f6b 100644 --- a/src/components/ProductCard.js +++ b/src/components/ProductCard.js @@ -13,7 +13,7 @@ export default function ProductCard({ data }) { <Link href={'/shop/product/' + createSlug(product.name, product.id)} className="block relative bg-white"> <LazyLoadImage effect="blur" src={product.image ? product.image : '/images/noimage.jpeg'} alt={product.name} className="product-card__image" /> {product.variant_total > 1 ? ( - <div className="absolute bottom-2 left-2 badge-green">{product.variant_total} Varian</div> + <div className="absolute bottom-2 left-2 badge-gray">{product.variant_total} Varian</div> ) : ''} </Link> <div className="product-card__description"> |
