coolify/resources/views/components/navbar.blade.php
Andras Bacsai 5fce4a2e2a ui
2023-05-16 09:35:09 +02:00

34 lines
1.1 KiB
PHP

@auth
<nav>
<div class="flex px-2 py-1">
<div class="flex gap-2 text-sm">
<a href="/">
<x-inputs.button>Home</x-inputs.button>
</a>
<a href="/command-center">
<x-inputs.button>Command Center</x-inputs.button>
</a>
<a href="/profile">
<x-inputs.button>Profile</x-inputs.button>
</a>
@if (auth()->user()->isRoot())
<a href="/settings">
<x-inputs.button>Settings</x-inputs.button>
</a>
@endif
</div>
<div class="flex-1"></div>
<x-magic-bar />
<div class="flex-1"></div>
<div class="flex gap-2 text-sm">
{{-- <livewire:check-update /> --}}
<livewire:force-upgrade />
<form action="/logout" method="POST">
@csrf
<x-inputs.button type="submit">Logout</x-inputs.button>
</form>
</div>
</div>
</nav>
@endauth