{{ config('app.name', 'Laravel') }}
@guest
{{ __('Login') }}
{{ __('Register') }}
@else
{{ Auth::user()->name }}
{{ __('Logout') }}
@csrf
@endguest
@if ($flashMsg = session('primary'))
{{ $flashMsg }}
@endif @if ($flashMsg = session('danger'))
{{ $flashMsg }}
@endif
@yield('content')
@include('layouts.footer')