Add profile and settings links to mobile navigation menu

This commit is contained in:
2026-07-23 23:36:14 +05:00
parent 0a612e72c7
commit ba9be40c78
@@ -69,3 +69,25 @@
</a>
</li>
@endcan
<li class="d-block d-sm-none">
<span role="separator" class="dropdown-divider my-1 mt-3 d-block"></span>
<ul class="nav flex-column pt-3 pt-md-0">
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="{{ route('profile.edit') }}">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path></svg>
</span>
<span class="sidebar-text">{{ __('My Profile') }}</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="{{ route('profile.settings') }}">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z" clip-rule="evenodd"></path></svg>
</span>
<span class="sidebar-text">{{ __('Settings') }}</span>
</a>
</li>
</ul>
</li>