Skip to content

Commit

Permalink
Move SVGs to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
madmath committed Aug 7, 2024
1 parent a22f8de commit 691c4f6
Show file tree
Hide file tree
Showing 127 changed files with 240 additions and 504 deletions.
Empty file added assets/icon-3d-model.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-account.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-caret.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-cart-empty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-cart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-checkmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-clipboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-close-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-discount.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-filter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-hamburger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-minus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-padlock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-pause.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-pinterest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-play.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-remove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/icon-share.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icon-snapchat.svg
1 change: 1 addition & 0 deletions assets/icon-success.svg
1 change: 1 addition & 0 deletions assets/icon-tick.svg
1 change: 1 addition & 0 deletions assets/icon-tiktok.svg
1 change: 1 addition & 0 deletions assets/icon-tumblr.svg
1 change: 1 addition & 0 deletions assets/icon-twitter.svg
1 change: 1 addition & 0 deletions assets/icon-unavailable.svg
1 change: 1 addition & 0 deletions assets/icon-vimeo.svg
1 change: 1 addition & 0 deletions assets/icon-youtube.svg
1 change: 1 addition & 0 deletions assets/icon-zoom.svg
8 changes: 4 additions & 4 deletions sections/announcement-bar.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<p class="announcement-bar__message h5">
<span>{{ section.blocks.first.settings.text | escape }}</span>
{%- if section.blocks.first.settings.link != blank -%}
{% render 'icon-arrow' %}
<img class="icon icon-arrow" src="{{ 'icon-arrow.svg' | asset_url }}">

Check failure on line 46 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L46

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 46 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L46

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}
</p>
{%- if section.blocks.first.settings.link != blank -%}
Expand All @@ -66,7 +66,7 @@
aria-label="{{ 'sections.announcements.previous_announcement' | t }}"
aria-controls="Slider-{{ section.id }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 69 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L69

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 69 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L69

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<div
class="grid grid--1-col slider slider--everywhere"
Expand Down Expand Up @@ -102,7 +102,7 @@
<p class="announcement-bar__message h5">
<span>{{ block.settings.text | escape }}</span>
{%- if block.settings.link != blank -%}
{% render 'icon-arrow' %}
<img class="icon icon-arrow" src="{{ 'icon-arrow.svg' | asset_url }}">

Check failure on line 105 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L105

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 105 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L105

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}
</p>
{%- if block.settings.link != blank -%}
Expand All @@ -120,7 +120,7 @@
aria-label="{{ 'sections.announcements.next_announcement' | t }}"
aria-controls="Slider-{{ section.id }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 123 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L123

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 123 in sections/announcement-bar.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/announcement-bar.liquid#L123

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
</slideshow-component>
Expand Down
13 changes: 6 additions & 7 deletions sections/cart-icon-bubble.liquid
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{%- liquid
if cart == empty
render 'icon-cart-empty'
else
render 'icon-cart'
endif
-%}
{%- if cart != empty -%}
<img src='{{ 'icon-cart-empty.svg' | asset_url }}'/>

Check notice on line 2 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L2

[SpaceInsideBraces] Too many spaces before '}}'

Check failure on line 2 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L2

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 2 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L2

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- else -%}
<img src='{{ 'icon-cart.svg' | asset_url }}'/>

Check notice on line 4 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L4

[SpaceInsideBraces] Too many spaces before '}}'

Check failure on line 4 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L4

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 4 in sections/cart-icon-bubble.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/cart-icon-bubble.liquid#L4

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}

<span class="visually-hidden">{{ 'templates.cart.cart' | t }}</span>
{%- if cart != empty -%}
<div class="cart-count-bubble">
Expand Down
4 changes: 2 additions & 2 deletions sections/collage.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
{% endif %}
>
<span class="deferred-media__poster-button motion-reduce">
{%- render 'icon-play' -%}
<img class="icon icon-play" src="{{ 'icon-play.svg' | asset_url }}">

Check failure on line 135 in sections/collage.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collage.liquid#L135

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 135 in sections/collage.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collage.liquid#L135

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</span>

{%- if block.settings.cover_image != blank -%}
Expand Down Expand Up @@ -176,7 +176,7 @@
class="modal-video__toggle"
aria-label="{{ 'accessibility.close' | t }}"
>
{% render 'icon-close' %}
<img class="icon icon-close" src="{{ 'icon-close.svg' | asset_url }}">

Check failure on line 179 in sections/collage.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collage.liquid#L179

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 179 in sections/collage.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collage.liquid#L179

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<div class="modal-video__content-info">
<deferred-media class="modal-video__video template-popup">
Expand Down
2 changes: 1 addition & 1 deletion sections/collapsible-content.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<h3 class="accordion__title inline-richtext h4">
{{ block.settings.heading | default: block.settings.page.title | escape }}
</h3>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 88 in sections/collapsible-content.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collapsible-content.liquid#L88

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 88 in sections/collapsible-content.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collapsible-content.liquid#L88

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</summary>
<div
class="accordion__content rte"
Expand Down
4 changes: 2 additions & 2 deletions sections/collection-list.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
name="previous"
aria-label="{{ 'general.slider.previous_slide' | t }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 92 in sections/collection-list.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collection-list.liquid#L92

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 92 in sections/collection-list.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collection-list.liquid#L92

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<div class="slider-counter caption">
<span class="slider-counter--current">1</span>
Expand All @@ -103,7 +103,7 @@
name="next"
aria-label="{{ 'general.slider.next_slide' | t }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 106 in sections/collection-list.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collection-list.liquid#L106

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 106 in sections/collection-list.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/collection-list.liquid#L106

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
{%- endif -%}
Expand Down
6 changes: 3 additions & 3 deletions sections/contact-form.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
{%- form 'contact', id: 'ContactForm', class: contact_form_class -%}
{%- if form.posted_successfully? -%}
<h2 class="form-status form-status-list form__message" tabindex="-1" autofocus>
{% render 'icon-success' %}
<img class="icon icon-success" src="{{ 'icon-success.svg' | asset_url }}">

Check failure on line 35 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L35

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 35 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L35

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{ 'templates.contact.form.post_success' | t }}
</h2>
{%- elsif form.errors -%}
<div class="form__message">
<h2 class="form-status caption-large text-body" role="alert" tabindex="-1" autofocus>
{% render 'icon-error' %}
<img class="icon icon-error" src="{{ 'icon-error.svg' | asset_url }}">

Check failure on line 41 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L41

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 41 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L41

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{ 'templates.contact.form.error_heading' | t }}
</h2>
</div>
Expand Down Expand Up @@ -89,7 +89,7 @@
<small class="contact__field-error" id="ContactForm-email-error">
<span class="visually-hidden">{{ 'accessibility.error' | t }}</span>
<span class="form__message">
{%- render 'icon-error' -%}
<img class="icon icon-error" src="{{ 'icon-error.svg' | asset_url }}">

Check failure on line 92 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L92

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 92 in sections/contact-form.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/contact-form.liquid#L92

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{- form.errors.translated_fields.email | capitalize }}
{{ form.errors.messages.email -}}
</span>
Expand Down
6 changes: 3 additions & 3 deletions sections/email-signup-banner.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@
id="Subscribe"
aria-label="{{ 'newsletter.button_label' | t }}"
>
{% render 'icon-arrow' %}
<img class="icon icon-arrow" src="{{ 'icon-arrow.svg' | asset_url }}">

Check failure on line 109 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L109

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 109 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L109

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
{%- if form.errors -%}
<small class="newsletter-form__message form__message" id="Newsletter-error--{{ section.id }}">
{%- render 'icon-error' -%}
<img class="icon icon-error" src="{{ 'icon-error.svg' | asset_url }}">

Check failure on line 114 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L114

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 114 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L114

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{- form.errors.translated_fields.email | capitalize }}
{{ form.errors.messages.email -}}
</small>
Expand All @@ -124,7 +124,7 @@
tabindex="-1"
autofocus
>
{% render 'icon-success' -%}
<img class="icon icon-success" src="{{ 'icon-success.svg' | asset_url }}">

Check failure on line 127 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L127

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 127 in sections/email-signup-banner.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/email-signup-banner.liquid#L127

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{- 'newsletter.success' | t }}
</h3>
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions sections/featured-blog.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
name="previous"
aria-label="{{ 'general.slider.previous_slide' | t }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 149 in sections/featured-blog.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-blog.liquid#L149

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 149 in sections/featured-blog.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-blog.liquid#L149

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<div class="slider-counter caption">
<span class="slider-counter--current">1</span>
Expand All @@ -160,7 +160,7 @@
name="next"
aria-label="{{ 'general.slider.next_slide' | t }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 163 in sections/featured-blog.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-blog.liquid#L163

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 163 in sections/featured-blog.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-blog.liquid#L163

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions sections/featured-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
aria-label="{{ 'general.slider.previous_slide' | t }}"
aria-controls="Slider-{{ section.id }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 158 in sections/featured-collection.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-collection.liquid#L158

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 158 in sections/featured-collection.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-collection.liquid#L158

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<div class="slider-counter caption">
<span class="slider-counter--current">1</span>
Expand All @@ -170,7 +170,7 @@
aria-label="{{ 'general.slider.next_slide' | t }}"
aria-controls="Slider-{{ section.id }}"
>
{% render 'icon-caret' %}
<img class="icon icon-caret" src="{{ 'icon-caret.svg' | asset_url }}">

Check failure on line 173 in sections/featured-collection.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-collection.liquid#L173

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 173 in sections/featured-collection.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-collection.liquid#L173

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
{%- endif -%}
Expand Down
6 changes: 3 additions & 3 deletions sections/featured-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<span class="visually-hidden">
{{- 'products.product.quantity.decrease' | t: product: product.title | escape -}}
</span>
{% render 'icon-minus' %}
<img class="icon icon-minus" src="{{ 'icon-minus.svg' | asset_url }}">

Check failure on line 192 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L192

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 192 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L192

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
<input
class="quantity__input"
Expand All @@ -211,7 +211,7 @@
<span class="visually-hidden">
{{- 'products.product.quantity.increase' | t: product: product.title | escape -}}
</span>
{% render 'icon-plus' %}
<img class="icon icon-plus" src="{{ 'icon-plus.svg' | asset_url }}">

Check failure on line 214 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L214

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 214 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L214

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</quantity-input>
{%- liquid
Expand Down Expand Up @@ -441,7 +441,7 @@
class="link product__view-details animate-arrow"
>
{{ 'products.product.view_full_details' | t }}
{% render 'icon-arrow' %}
<img class="icon icon-arrow" src="{{ 'icon-arrow.svg' | asset_url }}">

Check failure on line 444 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L444

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 444 in sections/featured-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/featured-product.liquid#L444

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</a>
</section>
</div>
Expand Down
6 changes: 3 additions & 3 deletions sections/footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@
id="Subscribe"
aria-label="{{ 'newsletter.button_label' | t }}"
>
{% render 'icon-arrow' %}
<img class="icon icon-arrow" src="{{ 'icon-arrow.svg' | asset_url }}">

Check failure on line 207 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L207

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 207 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L207

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
</button>
</div>
{%- if form.errors -%}
<small class="newsletter-form__message form__message" id="ContactFooter-error">
{%- render 'icon-error' -%}
<img class="icon icon-error" src="{{ 'icon-error.svg' | asset_url }}">

Check failure on line 212 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L212

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 212 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L212

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{- form.errors.translated_fields.email | capitalize }}
{{ form.errors.messages.email -}}
</small>
Expand All @@ -222,7 +222,7 @@
tabindex="-1"
autofocus
>
{% render 'icon-success' -%}
<img class="icon icon-success" src="{{ 'icon-success.svg' | asset_url }}">

Check failure on line 225 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L225

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 225 in sections/footer.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/footer.liquid#L225

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{{- 'newsletter.success' | t }}
</h3>
{%- endif -%}
Expand Down
19 changes: 9 additions & 10 deletions sections/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</symbol>

<symbol id="icon-close" class="icon icon-close" fill="none" viewBox="0 0 18 17">
<path d="M.865 15.978a.5.5 0 00.707.707l7.433-7.431 7.579 7.282a.501.501 0 00.846-.37.5.5 0 00-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 10-.707-.708L8.991 7.853 1.413.573a.5.5 0 10-.693.72l7.563 7.268-7.418 7.417z" fill="currentColor">
<path d="M.865 15.978a.5.5 0 00.707.707l7.433-7.431 7.579 7.282a.501.501 0 00.846-.37.5.5 0 00-.153-.351L9.712 8.546l7.417-7.416a.5.5 0 10-.707-.708L8.991 7.853 1.413.573a.5.5 0 10-.693.72l7.563 7.268-7.418 7.417z" fill="currentColor"/>
</symbol>
</svg>

Expand Down Expand Up @@ -249,11 +249,11 @@
{%- if customer and customer.has_avatar? -%}
{{ customer | avatar }}
{%- else -%}
{% render 'icon-account' %}
<img class="icon icon-account" src="{{ 'icon-account.svg' | asset_url }}">

Check failure on line 252 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L252

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 252 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L252

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}
</account-icon>
{%- else -%}
{% render 'icon-account' %}
<img class="icon icon-account" src="{{ 'icon-account.svg' | asset_url }}">

Check failure on line 256 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L256

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 256 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L256

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}
<span class="visually-hidden">
{%- liquid
Expand All @@ -275,13 +275,12 @@
{%- endfor -%}

<a href="{{ routes.cart_url }}" class="header__icon header__icon--cart link focus-inset" id="cart-icon-bubble">
{%- liquid
if cart == empty
render 'icon-cart-empty'
else
render 'icon-cart'
endif
-%}

{%- if cart != empty -%}
<img class="icon icon-cart-empty" src="{{ 'icon-cart-empty.svg' | asset_url }}">

Check failure on line 280 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L280

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 280 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L280

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- else -%}
<img class="icon icon-cart" src="{{ 'icon-cart.svg' | asset_url }}">

Check notice on line 282 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L282

[SpaceInsideBraces] Too many spaces before '}}'

Check failure on line 282 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L282

[ImgWidthAndHeight] Missing width and height attributes

Check warning on line 282 in sections/header.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/header.liquid#L282

[ImgLazyLoading] Use loading="eager" for images visible in the viewport on load and loading="lazy" for others
{%- endif -%}
<span class="visually-hidden">{{ 'templates.cart.cart' | t }}</span>
{%- if cart != empty -%}
<div class="cart-count-bubble">
Expand Down
Loading

0 comments on commit 691c4f6

Please sign in to comment.