lasthourcloud/resources/views/components/navbar.blade.php

20 lines
486 B
PHP
Raw Normal View History

<nav>
2023-04-12 12:08:48 +00:00
<div>v{{ config('coolify.version') }}</div>
@guest
<a href="/login">Login</a>
<a href="/register">Register</a>
@endguest
@auth
<a href="/">Home</a>
2023-04-14 06:54:05 +00:00
@env('local')
<a href="/demo">Demo</a>
2023-04-14 06:54:05 +00:00
@endenv
<a href="/profile">Profile</a>
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
2023-04-14 08:00:42 +00:00
<livewire:check-update>
@endauth
2023-03-20 12:04:22 +00:00
</nav>