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

23 lines
615 B
PHP
Raw Normal View History

2023-04-19 10:42:15 +00:00
<nav class="flex gap-2 ">
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>
2023-04-25 07:38:05 +00:00
@if (auth()->user()->isRoot())
<a href="/settings">Settings</a>
@endif
<form action="/logout" method="POST">
@csrf
<button type="submit">Logout</button>
</form>
2023-04-19 10:42:15 +00:00
{{-- <livewire:check-update> --}}
@endauth
2023-03-20 12:04:22 +00:00
</nav>