Min images

This commit is contained in:
Belen Curcio
2020-11-06 15:42:01 -03:00
parent 62cc3b2493
commit d74ffb1401
4 changed files with 12 additions and 16 deletions

View File

@@ -51,8 +51,8 @@ const ProductCard: FC<Props> = ({
width={imgWidth}
height={imgHeight}
priority={priority}
quality="85"
layout={imgLayout}
quality="85"
/>
</div>
) : (
@@ -73,8 +73,8 @@ const ProductCard: FC<Props> = ({
</div>
<div className={s.imageContainer}>
<Image
className={s.image}
alt={p.name}
className={cn('w-full object-cover', s['product-image'])}
src={src}
width={imgWidth}
height={imgHeight}