lasthourcloud/resources/views/components/navbar.blade.php
2023-04-25 09:38:05 +02:00

23 lines
615 B
PHP

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