add mobile settings navigation
This commit is contained in:
committed by
Pete Matsyburka
parent
2d510081be
commit
cbbbfdda80
@@ -28,7 +28,13 @@
|
||||
<span class="text-sm align-text-top"><%= current_user.initials %></span>
|
||||
</label>
|
||||
<ul tabindex="0" class="z-10 dropdown-content p-2 mt-2 shadow menu text-base bg-base-100 rounded-box min-w-[160px] text-right">
|
||||
<li>
|
||||
<li class="md:hidden">
|
||||
<%= link_to settings_index_path, class: 'flex items-center' do %>
|
||||
<%= svg_icon('settings', class: 'w-5 h-5 flex-shrink-0 stroke-2') %>
|
||||
<span class="mr-1"><%= t('settings') %></span>
|
||||
<% end %>
|
||||
</li>
|
||||
<li class="max-md:hidden">
|
||||
<%= link_to settings_profile_index_path, class: 'flex items-center' do %>
|
||||
<%= svg_icon('adjustments', class: 'w-5 h-5 flex-shrink-0 stroke-2') %>
|
||||
<span class="mr-1"><%= t('profile') %></span>
|
||||
|
||||
Reference in New Issue
Block a user