@auth @php $unreadNotifications = auth()->user()->unreadNotifications->take(5); $unreadNotifCount = auth()->user()->unreadNotifications->count(); @endphp
@endauth
@csrf
@yield('content')