@if(in_array(request()->route()->getName(), ['register', 'register-example', 'login', 'login-example',
'forgot-password', 'forgot-password-example', 'reset-password','reset-password-example']))
{!! $slot !!}
{{-- Footer --}}
@include('layouts.footer2')
@elseif(in_array(request()->route()->getName(), ['404', '500', 'lock']))
{!! $slot !!}
@else
{{-- Nav --}}
@include('layouts.nav')
{{-- SideNav --}}
@include('layouts.sidenav')
{{-- TopBar --}}
@include('layouts.topbar')
{!! $slot !!}
{{-- Footer --}}
@endif