{{-- Notification Bell — include in your main navigation/header blade. Requires: auth middleware, notifications table (run migration 2024_01_01_000002). Example usage in your nav: @include('tasks._notification_bell') --}} @auth @php $unreadCount = auth()->user()->unreadNotifications()->count(); $recentNotifications = auth()->user()->notifications()->latest()->limit(8)->get(); @endphp