lasthourcloud/resources/views/components/navbar.blade.php
2023-04-27 11:29:02 +02:00

19 lines
514 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> --}}
@endauth
</nav>