mirror of
https://github.com/10h30/Test-Laravel-Auth-Basics.git
synced 2026-07-11 10:46:16 +09:00
complete all tasks
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user