{{ __('Users') }} {{-- Task: this "Profile" link should be visible only to logged-in users --}} @auth {{ __('Profile') }} @endauth
@auth
@csrf {{ __('Log Out') }}
@else Log in @if (Route::has('register')) Register @endif @endauth
@auth
{{ Auth::user()->name }}
{{ Auth::user()->email }}
@csrf {{ __('Log Out') }}
@else
{{ __('Login') }} @if (Route::has('register')) {{ __('Register') }} @endif
@endauth