lasthourcloud/resources/views/components/navbar.blade.php
2023-03-27 10:44:31 +02:00

16 lines
368 B
PHP

<nav>
@guest
<a href="/login">Login</a>
<a href="/register">Register</a>
@endguest
@auth
<a href="/">Home</a>
<a href="/demo">Demo</a>
<a href="/profile">Profile</a>
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
@endauth
</nav>