mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-02 02:11:33 +00:00
25 lines
789 B
Plaintext
25 lines
789 B
Plaintext
%nav.tab-bar.show-for-medium-down
|
|
%section.left
|
|
%a.left-off-canvas-toggle.menu-icon
|
|
%span
|
|
|
|
%section.left
|
|
.ofn-logo
|
|
%a{href: 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-controller" => "CartCtrl", "ng-class" => "{ dirty: Cart.dirty || Cart.empty(), 'pure-dirty': Cart.dirty }"}
|
|
%a.icon{href: main_app.checkout_path}
|
|
%span
|
|
= t '.cart'
|
|
%span.count
|
|
%img{ src: "/assets/menu/icn-cart.svg" }
|
|
%span
|
|
{{ Cart.total_item_count() }}
|
|
|
|
%a{href: main_app.shop_path}
|
|
{{ CurrentHub.hub.name }}
|
|
|
|
= render partial: "shared/menu/offcanvas_menu" unless @hide_menu
|