forked from crowetic/commerce
new assets
This commit is contained in:
parent
5d6804c7af
commit
6167fcd925
@ -41,7 +41,7 @@ const ProductCard: FC<Props> = ({ className, node: p, variant }) => {
|
|||||||
<div className="absolute z-10 inset-0 flex items-center justify-center">
|
<div className="absolute z-10 inset-0 flex items-center justify-center">
|
||||||
<img
|
<img
|
||||||
className="w-full object-cover"
|
className="w-full object-cover"
|
||||||
src={p.images.edges[0].node.urlSmall}
|
src={p.images.edges[0].node.urlXL}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className={s.squareBg} />
|
<div className={s.squareBg} />
|
||||||
|
@ -42,6 +42,8 @@ const ProductView: FC<Props> = ({ product, className }) => {
|
|||||||
const activeSize = choices.size
|
const activeSize = choices.size
|
||||||
const activeColor = choices.color
|
const activeColor = choices.color
|
||||||
|
|
||||||
|
console.log(product.images.edges.map((n) => n.node))
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn(s.root, className)}>
|
<div className={cn(s.root, className)}>
|
||||||
<div className="absolute">
|
<div className="absolute">
|
||||||
@ -58,7 +60,7 @@ const ProductView: FC<Props> = ({ product, className }) => {
|
|||||||
<div className="absolute z-10 inset-0 flex items-center justify-center">
|
<div className="absolute z-10 inset-0 flex items-center justify-center">
|
||||||
<img
|
<img
|
||||||
className="w-full object-cover"
|
className="w-full object-cover"
|
||||||
src={product.images.edges?.[0]?.node.urlSmall}
|
src={product.images.edges?.[0]?.node.urlXL}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className=" absolute inset-24 z-0 bg-violet"></div>
|
<div className=" absolute inset-24 z-0 bg-violet"></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user