complete all tasks

This commit is contained in:
Thuan Bui
2025-04-03 21:42:12 +09:00
parent 3bcc26e91f
commit 1d5439ef0a
6 changed files with 80 additions and 32 deletions
+2 -2
View File
@@ -29,7 +29,7 @@
class="block mt-1 w-full"
type="text"
name="name"
value="???"
value="{{ Auth::user()->name }}"
required />
</div>
@@ -40,7 +40,7 @@
class="block mt-1 w-full"
type="email"
name="email"
value="???"
value="{{ Auth::user()->email }}"
required />
</div>
+6 -3
View File
@@ -16,9 +16,12 @@
{{ __('Users') }}
</x-nav-link>
{{-- Task: this "Profile" link should be visible only to logged-in users --}}
<x-nav-link href="/profile" :active="request()->routeIs('profile.show')">
{{ __('Profile') }}
</x-nav-link>
@auth
<x-nav-link href="/profile" :active="request()->routeIs('profile.show')">
{{ __('Profile') }}
</x-nav-link>
@endauth
</div>
</div>