Skip to content

Instantly share code, notes, and snippets.

@Dimls
Created March 5, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dimls/2abe50ecfc0b3d4571538e4404cdc7fd to your computer and use it in GitHub Desktop.
Save Dimls/2abe50ecfc0b3d4571538e4404cdc7fd to your computer and use it in GitHub Desktop.
<a id="cartTotal" href="/cart" aria-label="{{ 'cart.labels.items_added' | t }}" class="js-cartToggle cartToggle nav-item-fixed nav-item diamond-outline">
<svg width="40px" height="48px" viewBox="0 0 40 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Group">
<polygon id="Rectangle-2" fill="#FFFFFF" points="4 17 36 17 38 46 1 46"></polygon>
<path d="M39.6,46.7 L36,16.7 C35.9,16.2 35.5,15.8 35,15.8 L29.9,15.8 L29.9,9.9 C29.9,4.4 25.4,0 20,0 C14.6,0 10.1,4.4 10.1,9.9 L10.1,15.8 L5,15.8 C4.5,15.8 4.1,16.2 4,16.7 L0.4,46.9 C0.4,47.2 0.5,47.5 0.6,47.7 C0.8,47.9 1.1,48 1.4,48 L38.6,48 C38.6,48 38.6,48 38.6,48 C39.2,48 39.6,47.6 39.6,47 C39.6,46.9 39.6,46.8 39.6,46.7 Z M12.1,9.9 C12.1,5.5 15.6,2 20,2 C24.4,2 27.9,5.5 27.9,9.9 L27.9,15.8 L12.1,15.8 L12.1,9.9 Z M2.5,46 L5.9,17.8 L10.1,17.8 L10.1,20 C10.1,20.6 10.5,21 11.1,21 C11.7,21 12.1,20.6 12.1,20 L12.1,17.8 L27.9,17.8 L27.9,20 C27.9,20.6 28.3,21 28.9,21 C29.5,21 29.9,20.6 29.9,20 L29.9,17.8 L34.1,17.8 L37.5,46 L2.5,46 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>
</g>
</g>
</svg>
<div id="CartToggleItemCount" class="cartToggle-items">{{cart.item_count}}</div>
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment