1+ < div class ="md:hidden flex items-center justify-end mr-4 " data-controller ="navbar ">
2+ < div data-action ="click->navbar#toggle ">
3+ <%= render partial : 'shared/icons/menu.html.erb' , locals : { classes : 'w-6 h-6 text-cyan' } %>
4+ </ div >
5+ < div class ="absolute hidden md:hidden top-14 bg-white rounded-sm shadow-xl " id ="mobile-menu " data-navbar-target ="container ">
6+ < div class ="space-y-3 py-3 ">
7+ <%= link_to folders_path , class : 'flex items-center px-4' do %>
8+ <%= render partial : 'shared/icons/home' , locals : { width : 5 , height : 5 , color : "#{ request . path == root_path ? 'text-cyan' : 'text-gray-400' } mr-2" } %>
9+ < span > Feed</ span >
10+ <% end %>
11+ <%= link_to folders_path , class : 'flex items-center px-4' do %>
12+ <%= render partial : 'shared/icons/folder' , locals : { width : 5 , height : 5 , color : "#{ request . path == folders_path ? 'text-cyan' : 'text-gray-400' } mr-2" } %>
13+ < span > Folders</ span >
14+ <% end %>
15+ <%= link_to snippets_path , class : 'flex items-center px-4' do %>
16+ <%= render partial : 'shared/icons/snippet' , locals : { width : 5 , height : 5 , color : "#{ request . path == snippets_path ? 'text-cyan' : 'text-gray-400' } mr-2" } %>
17+ < span > Snippets</ span >
18+ <% end %>
19+ <%= link_to notifications_path , class : 'flex items-center px-4' do %>
20+ <%= render partial : 'shared/icons/bell' , locals : { width : 5 , height : 5 , color : "#{ request . path == notifications_path ? 'text-cyan' : 'text-gray-400' } mr-2" } %>
21+ < span > Notifications</ span >
22+ <% end %>
23+ <%= link_to connect_path , class : 'flex items-center px-4' do %>
24+ <%= render partial : 'shared/icons/connect' , locals : { width : 5 , height : 5 , color : "#{ request . path == connect_path ? 'text-cyan' : 'text-gray-400' } mr-2" } %>
25+ < span > Connect</ span >
26+ <% end %>
27+ </ div >
28+ </ div >
29+ </ div >
0 commit comments