mirror of
https://github.com/10h30/MoveMate.git
synced 2026-07-14 20:26:39 +09:00
Add manual authentication, create, read, update task
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<nav>
|
||||
<ul class="flex space-x-6 items-center ">
|
||||
@guest
|
||||
<x-nav-link href="/login">Login</x-nav-link>
|
||||
<x-nav-link href="/register">Register</x-nav-link>
|
||||
@endguest
|
||||
@auth
|
||||
<x-nav-link type="button" href="/task/create">Create new task</x-nav-link>
|
||||
<form method="POST" action="/logout">
|
||||
@csrf
|
||||
<x-form-button>Log Out</x-form-button>
|
||||
</form>
|
||||
@endauth
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user