lasthourcloud/resources/views/components/navbar.blade.php
Andras Bacsai 8e1c6d2bd2 wip
2023-05-10 19:26:28 +02:00

20 lines
599 B
PHP

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