diff --git a/components/product/ProductCard/ProductCard.module.css b/components/product/ProductCard/ProductCard.module.css index d0ea6d80c..a2edab7d0 100644 --- a/components/product/ProductCard/ProductCard.module.css +++ b/components/product/ProductCard/ProductCard.module.css @@ -35,6 +35,26 @@ &:nth-child(6n + 6) .wishlistButton { @apply bg-cyan text-white; } + + & .squareBg { + @apply bg-white; + } + + &:nth-child(6n + 1) .squareBg { + @apply bg-white; + } + + &:nth-child(6n + 5) .squareBg { + @apply bg-white; + } + + &:nth-child(6n + 3) .squareBg { + @apply bg-white; + } + + &:nth-child(6n + 6) .squareBg { + @apply bg-white; + } } &:nth-child(6n + 1) .squareBg { @@ -58,7 +78,7 @@ .productTitle > span, .productPrice, .wishlistButton { - @apply transition ease-in-out duration-300; + @apply transition ease-in-out duration-500; } .squareBg { diff --git a/components/product/ProductCard/ProductCard.tsx b/components/product/ProductCard/ProductCard.tsx index e64f79468..7c0a15573 100644 --- a/components/product/ProductCard/ProductCard.tsx +++ b/components/product/ProductCard/ProductCard.tsx @@ -36,7 +36,7 @@ const ProductCard: FC = ({ className, product: p, variant }) => { >