lasthourcloud/resources/views/components/navbar.blade.php
2023-04-14 08:54:05 +02:00

19 lines
454 B
PHP

<nav>
<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>
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
@endauth
</nav>