Add manual authentication, create, read, update task

This commit is contained in:
Thuan Bui
2025-03-06 17:00:09 +09:00
parent 154c37bce6
commit 67db6acefd
13 changed files with 325 additions and 20 deletions
+16
View File
@@ -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>