Produccion 1

This commit is contained in:
2026-10-02 19:32:54 -06:00
parent 7ed1889bfb
commit 220178d421
81 changed files with 2993 additions and 531 deletions
+17
View File
@@ -10,7 +10,12 @@
{% liquid
assign variant = product.selected_or_first_available_variant
assign card_image = product.featured_image
assign hover_image = blank
assign image_alt = card_image.alt | default: product.title
for image in product.images offset: 1 limit: 1
assign hover_image = image
endfor
%}
<article class="hero__card">
@@ -26,6 +31,18 @@
class: 'hero__card-image',
loading: 'eager'
}}
{% if hover_image != blank %}
{{
hover_image
| image_url: width: 200
| image_tag:
alt: '',
widths: '100, 140, 200',
sizes: '(max-width: 1023px) 70px, 100px',
class: 'hero__card-image hero__card-image--hover',
loading: 'lazy'
}}
{% endif %}
{% endif %}
</a>