@if (Route::has('login'))
@auth Dashboard @else Log in @if (Route::has('register')) Register @endif @endauth
@endif

@auth Welcome, {{ Auth::user()->name }}. @else Welcome, login to view your dashboard. @endauth