2023-05-12 15:39:07 +02:00
|
|
|
<nav class="flex gap-2">
|
2023-03-24 14:54:17 +01:00
|
|
|
@auth
|
2023-05-12 15:39:07 +02:00
|
|
|
<div class="fixed flex gap-2 left-2 top-2">
|
|
|
|
<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>
|
2023-05-12 12:22:41 +02:00
|
|
|
@if (auth()->user()->isRoot())
|
2023-05-12 15:39:07 +02:00
|
|
|
<a href="/settings">
|
|
|
|
<x-inputs.button>Settings</x-inputs.button>
|
|
|
|
</a>
|
2023-05-12 12:22:41 +02:00
|
|
|
@endif
|
|
|
|
</div>
|
2023-05-10 19:26:28 +02:00
|
|
|
<div class="flex-1"></div>
|
2023-05-12 12:22:41 +02:00
|
|
|
<x-magic-bar />
|
|
|
|
<div class="flex-1"></div>
|
2023-05-12 15:39:07 +02:00
|
|
|
<div class="fixed flex gap-2 right-2 top-2">
|
|
|
|
{{-- <livewire:check-update /> --}}
|
|
|
|
<livewire:force-upgrade />
|
2023-05-12 12:22:41 +02:00
|
|
|
<form action="/logout" method="POST">
|
|
|
|
@csrf
|
|
|
|
<x-inputs.button type="submit">Logout</x-inputs.button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2023-04-28 15:08:48 +02:00
|
|
|
@endauth
|
2023-03-20 12:04:22 +00:00
|
|
|
</nav>
|