lasthourcloud/resources/views/components/navbar.blade.php
2023-04-25 10:06:45 +02:00

27 lines
735 B
PHP

<nav class="flex gap-2 ">
<div>v{{ config('coolify.version') }}</div>
@guest
<a href="/login">Login</a>
@isset($isRegistrationEnabled)
<a href="/register">Register</a>
@else
<div>Registration disabled</div>
@endisset
@endguest
@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>