app/views/psique/elements/navigation/_mobile.html.haml in psique-1.0.2 vs app/views/psique/elements/navigation/_mobile.html.haml in psique-2.0.0
- old
+ new
@@ -4,10 +4,9 @@
%nav{ id: options[:id], role: 'navigation', style: 'display: none' }
- if options[:searcher]
= ui_element('search_box', options: options[:searcher])
%ul.menu.menu--side
- %li.menu-item.desktop
- = link_to desktop[:url] do
- = fa_icon 'desktop'
- = desktop[:name]
+ - if options[:switch]
+ = ui_element('switch_btn', options: options[:switch])
+
= render partial: 'psique/elements/navigation/item', collection: options[:items]