@yield('css') @php if(!Auth::user()){ Auth::logout(); request()->session()->invalidate(); request()->session()->regenerateToken(); redirect('/'); } @endphp {!! csrf_field() !!}
@yield('nav') @if(Session::has('message'))
{{strtoupper(Session::get('type'))}}! {{ Session::get('message') }}
@endif
@yield('content')
@yield('scripts')