@php
use App\Enums\NotificationActionType;
$notificationCount = $notifications->count();
$visibleNotifications = $notifications->take(9);
$hasNotifications = $notificationCount > 0;
$countDisplay = $notificationCount > 9 ? '9+' : (string) $notificationCount;
@endphp
{{-- Mobile View: Show Different Icons Based on Notification Count --}}
{{-- Desktop View: Always Show Bell Icon with Notification Badge --}}
@if($notificationCount > 0)
{{ $countDisplay }}
{{ trans_choice(':count new notification|:count new notifications', $notificationCount, ['count' => $notificationCount]) }}
@endif
{{-- Notification Dropdown Menu --}}
@push('scripts')
@endpush