forked from crowetic/commerce
changes
This commit is contained in:
parent
4d2d3dc6d1
commit
8e364c6d20
@ -53,9 +53,16 @@ const CartItem = ({
|
|||||||
}
|
}
|
||||||
}, [item.quantity])
|
}, [item.quantity])
|
||||||
|
|
||||||
|
console.log(item)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li className="flex flex-row space-x-6 py-6">
|
<li className="flex flex-row space-x-8 py-6 relative">
|
||||||
<div className="h-12 w-12 bg-violet"></div>
|
<div className="h-12 w-12 bg-violet">
|
||||||
|
<img
|
||||||
|
className="h-24 w-24 absolute -ml-4 left-0 top-4"
|
||||||
|
src={item.image_url}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div className="flex-1 flex flex-col justify-between text-primary">
|
<div className="flex-1 flex flex-col justify-between text-primary">
|
||||||
<span className="font-bold mb-3">{item.name}</span>
|
<span className="font-bold mb-3">{item.name}</span>
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user