make the images bigger

This commit is contained in:
Franco Arza
2020-10-26 21:52:36 -03:00
parent 0478b43e9c
commit 115f076fda
2 changed files with 22 additions and 14 deletions

View File

@@ -70,15 +70,17 @@ const ProductCard: FC<Props> = ({
variant={p.variants.edges?.[0]!}
/>
</div>
<EnhancedImage
alt={p.name}
className={cn('w-full object-cover', s['product-image'])}
src={src}
width={imgWidth}
height={imgHeight}
priority={priority}
quality="90"
/>
<div className={s.imageContainer}>
<EnhancedImage
alt={p.name}
className={cn('w-full object-cover', s['product-image'])}
src={src}
width={imgWidth}
height={imgHeight}
priority={priority}
quality="90"
/>
</div>
</a>
</Link>
)