54 lines
3.5 KiB
PHP
54 lines
3.5 KiB
PHP
@auth
|
|
<nav class="fixed h-full overflow-hidden overflow-y-auto pt-14 scrollbar">
|
|
<a href="/" class="fixed top-0 z-50 mx-3 mt-3 bg-transparent cursor-pointer"><img
|
|
class="transition rounded w-11 h-11" src="{{ asset('coolify-transparent.png') }}"></a>
|
|
<ul class="flex flex-col h-full gap-4 menu flex-nowrap">
|
|
<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>
|
|
<li title="Help us!">
|
|
<a class="hover:bg-transparent" href="https://coolify.io/sponsorships" target="_blank">
|
|
<svg class="icon hover:text-pink-500" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
|
|
stroke-width="2">
|
|
<path d="M19.5 12.572L12 20l-7.5-7.428A5 5 0 1 1 12 6.006a5 5 0 1 1 7.5 6.572" />
|
|
<path
|
|
d="M12 6L8.707 9.293a1 1 0 0 0 0 1.414l.543.543c.69.69 1.81.69 2.5 0l1-1a3.182 3.182 0 0 1 4.5 0l2.25 2.25m-7 3l2 2M15 13l2 2" />
|
|
</g>
|
|
</svg>
|
|
</a>
|
|
</li>
|
|
<li title="Send us feedback or get help!" class="fixed top-0 right-0 p-2 px-4 pt-4 mt-auto text-xs">
|
|
<div class="justify-center" wire:click="help" onclick="help.showModal()">
|
|
<svg class="w-5 h-5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path fill="currentColor"
|
|
d="M22 5.5H9c-1.1 0-2 .9-2 2v9a2 2 0 0 0 2 2h13c1.11 0 2-.89 2-2v-9a2 2 0 0 0-2-2m0 11H9V9.17l6.5 3.33L22 9.17v7.33m-6.5-5.69L9 7.5h13l-6.5 3.31M5 16.5c0 .17.03.33.05.5H1c-.552 0-1-.45-1-1s.448-1 1-1h4v1.5M3 7h2.05c-.02.17-.05.33-.05.5V9H3c-.55 0-1-.45-1-1s.45-1 1-1m-2 5c0-.55.45-1 1-1h3v2H2c-.55 0-1-.45-1-1Z" />
|
|
</svg>
|
|
Feedback
|
|
</div>
|
|
</li>
|
|
<li class="pb-6" title="Logout">
|
|
<form action="/logout" method="POST" class=" hover:bg-transparent">
|
|
@csrf
|
|
<button class="flex items-center gap-2 rounded-none hover:text-white hover:bg-transparent">
|
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"
|
|
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
<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" />
|
|
</svg>
|
|
</button>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
@endauth
|