Untitled
unknown
plain_text
9 months ago
3.7 kB
3
Indexable
<div class="site-nav site-nav--icons"> <div class="site-nav__icons"> {%- if shop.customer_accounts_enabled -%} <a class="site-nav__link site-nav__link--icon small--hide" href="{{ routes.account_url }}"> <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-user" viewBox="0 0 64 64"><title>account</title><path d="M35 39.84v-2.53c3.3-1.91 6-6.66 6-11.41 0-7.63 0-13.82-9-13.82s-9 6.19-9 13.82c0 4.75 2.7 9.51 6 11.41v2.53c-10.18.85-18 6-18 12.16h42c0-6.19-7.82-11.31-18-12.16Z"/></svg> <span class="icon__fallback-text"> {%- if customer -%} {{ 'layout.customer.account' | t }} {%- else -%} {{ 'layout.customer.log_in' | t }} {%- endif -%} </span> </a> {%- endif -%} {%- if section.settings.header_search_enable -%} <a href="{{ routes.search_url }}" class="site-nav__link site-nav__link--icon js-modal-open-search-modal js-no-transition{% if menu_alignment == 'center' or menu_alignment == 'center-split' %} medium-up--hide{% endif %}"> <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-search" viewBox="0 0 64 64"><title>icon-search</title><path d="M47.16 28.58A18.58 18.58 0 1 1 28.58 10a18.58 18.58 0 0 1 18.58 18.58ZM54 54 41.94 42"/></svg> <span class="icon__fallback-text">{{ 'general.search.title' | t }}</span> </a> {%- endif -%} {%- if menu_alignment == 'left' or menu_alignment == 'left-center' or menu_alignment == 'right' -%} <button type="button" class="site-nav__link site-nav__link--icon js-toggle-slide-nav{% if menu_alignment == 'left' or menu_alignment == 'left-center' or menu_alignment == 'right' %} medium-up--hide{% endif %}{% if mobile_menu_style == 'thumb' %} hide{% endif %}"> <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-hamburger" viewBox="0 0 64 64"><title>icon-hamburger</title><path d="M7 15h51M7 32h43M7 49h51"/></svg> <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-close" viewBox="0 0 64 64"><title>icon-X</title><path d="m19 17.61 27.12 27.13m0-27.12L19 44.74"/></svg> <span class="icon__fallback-text">{{ 'general.drawers.navigation' | t }}</span> </button> {%- endif -%} {%- unless settings.cart_type == 'sticky' -%} <a href="{{ routes.cart_url }}" class="site-nav__link site-nav__link--icon site-nav__link--cart js-drawer-open-cart js-no-transition" aria-controls="CartDrawer" data-icon="{{ settings.cart_icon }}"> <span class="cart-link"> {%- if settings.cart_icon == 'cart' -%} <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-cart" viewBox="0 0 64 64"><title>icon-cart</title><path d="M14 17.44h46.79l-7.94 25.61H20.96l-9.65-35.1H3"/><circle cx="27" cy="53" r="2"/><circle cx="47" cy="53" r="2"/></svg> {%- else -%} <svg aria-hidden="true" focusable="false" role="presentation" class="icon icon-bag" viewBox="0 0 64 64"><g fill="none" stroke="#000" stroke-width="2"><path d="M25 26c0-15.79 3.57-20 8-20s8 4.21 8 20"/><path d="M14.74 18h36.51l3.59 36.73h-43.7z"/></g></svg> {%- endif -%} <span class="icon__fallback-text">{{ 'layout.cart.title' | t }}</span> <span class="cart-link__bubble{% if cart.item_count > 0 %} cart-link__bubble--visible{% endif %}"> <span class="cart-link__bubble-num" aria-hidden="true"> {{ cart.item_count }} </span> </span> </span> </a> {%- endunless -%} </div> </div>
Editor is loading...
Leave a Comment