mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
23 lines
731 B
Plaintext
23 lines
731 B
Plaintext
%nav.tab-bar.show-for-medium-down
|
|
%section.left
|
|
%a.left-off-canvas-toggle.menu-icon
|
|
= image_tag "menu/btn-menu-mobile.png"
|
|
|
|
%section.left
|
|
.ofn-logo
|
|
%a{href: main_app.root_path}
|
|
%img{src: ContentConfig.logo_mobile.url, srcset: ContentConfig.logo_mobile_svg.url, width: "75", height: "26"}
|
|
|
|
%section.right{"ng-cloak" => true}
|
|
%span.cart-span{"ng-class" => "{ dirty: Cart.dirty || Cart.empty(), 'pure-dirty': Cart.dirty }"}
|
|
%a.icon{ng: {click: 'toggleCartSidebar()'}}
|
|
%span
|
|
= t '.cart'
|
|
%span.count
|
|
= image_tag "menu/icn-cart.svg"
|
|
%span
|
|
{{ Cart.total_item_count() }}
|
|
|
|
%a{href: main_app.shop_path}
|
|
{{ CurrentHub.hub.name }}
|