@extends('layouts.student_dashboard') @section('title', 'Notifications') @push('styles') @endpush @section('content')
{{-- 1. ANIMATED LITTLE BUDS NEWS & BELL HERO --}}
LITTLE BUDS CODING ยท NEWS BOARD

News & Bell Board!

Check fun coding announcements, class reminders, and special messages from your teachers!

Total {{ $stats['total'] ?? 0 }}
Today {{ $stats['today'] ?? 0 }}
This Week {{ $stats['week'] ?? 0 }}
Unread {{ $stats['unread'] ?? 0 }}
{{-- 2. TOOLBAR --}}
{{-- 3. LOADING / EMPTY / NOTIFICATIONS FEED --}}

You're All Caught Up!

No new messages right now. Check back later for fun updates!

@foreach($notifications as $notification)

{{ $notification->title }} @if(!$notification->is_read) New! @endif

{{ $notification->formatted_time }}
{{ $notification->time_ago }}
{!! nl2br(e($notification->message)) !!}
@endforeach
@endsection