lasthourcloud/resources/views/components/navbar.blade.php
2023-04-28 15:08:48 +02:00

20 lines
541 B
PHP

<nav class="flex gap-2 ">
<div>v{{ config('coolify.version') }}</div>
@auth
<a href="/">Home</a>
@env('local')
<a href="/demo">Demo</a>
@endenv
<a href="/profile">Profile</a>
@if (auth()->user()->isRoot())
<a href="/settings">Settings</a>
@endif
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
<livewire:check-update />
<livewire:force-upgrade />
@endauth
</nav>