2023-07-14 09:27:08 +00:00
|
|
|
@auth
|
|
|
|
<nav class="fixed h-full overflow-hidden overflow-y-auto scrollbar">
|
|
|
|
<ul class="flex flex-col h-full gap-4 menu flex-nowrap">
|
2023-08-30 14:01:38 +00:00
|
|
|
<li title="Dashboard">
|
|
|
|
<a class="hover:bg-transparent" @if (!request()->is('/')) href="/" @endif>
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="{{ request()->is('/') ? 'text-warning icon' : 'icon' }}"
|
|
|
|
fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
|
|
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
</li>
|
2023-07-14 09:27:08 +00:00
|
|
|
<li class="pb-6" title="Logout">
|
|
|
|
<form action="/logout" method="POST" class=" hover:bg-transparent">
|
|
|
|
@csrf
|
2023-08-08 09:51:36 +00:00
|
|
|
<button class="flex items-center gap-2 rounded-none hover:text-white hover:bg-transparent">
|
2023-08-11 18:19:42 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
|
2023-07-14 09:27:08 +00:00
|
|
|
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
2023-08-11 18:19:42 +00:00
|
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
|
|
<path d="M13 12v.01" />
|
|
|
|
<path d="M3 21h18" />
|
|
|
|
<path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5" />
|
|
|
|
<path d="M14 7h7m-3 -3l3 3l-3 3" />
|
2023-08-08 09:51:36 +00:00
|
|
|
</svg>
|
|
|
|
</button>
|
2023-07-14 09:27:08 +00:00
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
@endauth
|