File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44 <div id =" product-container" class =" flex flex-wrap items-center" >
55 <template v-for =" product in data .products .nodes " >
66 <div
7- v-if =" product.slug !== undefined "
7+ v-if =" product.slug"
88 :key =" product.id"
99 class =" flex flex-col mt-6 sm:w1/2 md:w-1/3 lg:1/4 xl:w-1/4"
1010 >
1717 >
1818 <img
1919 id =" product-image"
20- class =" container mx-auto transition duration-500 ease-in-out transform cursor-pointer lg:w-64 xl:w-64 sm:p-4 hover:scale-110 "
20+ class =" container p-8 border w-4/5 border-gray-200 mx-auto lg:h-[190px] rounded drop-shadow-lg transition duration-500 ease-in-out transform cursor-pointer lg:w-64 sm:p-4 hover:scale-95 "
2121 :alt =" product.name"
2222 :src =" productImage(product)"
2323 />
Original file line number Diff line number Diff line change 66 class =" grid grid-cols-1 gap-4 mt-8 lg:grid-cols-2 xl:grid-cols-2 md:grid-cols-2 sm:grid-cols-2"
77 >
88 <img
9- v-if =" data.product.image !== undefined "
9+ v-if =" data.product.image"
1010 id =" product-image"
1111 class =" h-auto p-8 transition duration-500 ease-in-out transform xl:p-2 md:p-2 lg:p-2 hover:shadow-lg hover:scale-95"
1212 :alt =" data.product.name"
You can’t perform that action at this time.
0 commit comments