@if (Route::has('login'))
@auth
Home
Documents
{{ __('Logout') }}
@csrf
@else
Login
@if (Route::has('register')) @endif @endauth
@endif