Merge branch 'master' of https://github.com/okbel/e-comm-example into image-component

This commit is contained in:
Luis Alvarez
2020-10-22 19:00:19 -05:00
65 changed files with 846 additions and 353 deletions

View File

@@ -62,12 +62,14 @@ const ProductCard: FC<Props> = ({
<Heart />
</div>
</div>
<Image
src={src}
width={imgWidth}
height={imgHeight}
priority={priority}
/>
<div className="absolute z-10 inset-0 flex items-center justify-center">
<Image
src={src}
width={imgWidth}
height={imgHeight}
priority={priority}
/>
</div>
</a>
</Link>
)