Add users, teams, authentication, profile/login/register/navbar views
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<nav class="flex space-x-4 p-2 fixed right-0">
|
||||
@env('local')
|
||||
<a href="/run-command">Run command</a>
|
||||
{{-- <livewire:create-token /> --}}
|
||||
<a href="/debug">Debug</a>
|
||||
<a href="/debug/logs" target="_blank">Debug Logs</a>
|
||||
{{-- <a href="/debug/inertia">Debug(inertia)</a> --}}
|
||||
@endenv
|
||||
<a href="/">Dashboard</a>
|
||||
<a href="/profile">Profile</a>
|
||||
<form action="/logout" method="POST">
|
||||
@csrf
|
||||
<button type="submit">Logout</button>
|
||||
</form>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
@guest
|
||||
<a href="/login">Login</a>
|
||||
<a href="/register">Register</a>
|
||||
@endguest
|
||||
@auth
|
||||
<a href="/demo">Demo</a>
|
||||
<a href="/profile">Profile</a>
|
||||
<form action="/logout" method="POST">
|
||||
@csrf
|
||||
<button type="submit">Logout</button>
|
||||
</form>
|
||||
@endauth
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user