@extends('layouts.app') @section('title', 'Notifications') @section('breadcrumb') @endsection @section('content') Mark all as read @if(count($groups) === 0) @else @foreach($groups as $group)
{{ $group['label'] }}
    @foreach($group['items'] as $item)
  • {!! icon($item['icon'] ?? 'bell') !!}
    {{ $item['title'] }}
    {{ $item['message'] }}
    {{ $item['time'] }} @if(!empty($item['tag'])) ยท {{ $item['tag'] }} @endif
    @if(!empty($item['action_href'])) {{ $item['action_label'] ?? 'Open' }} @endif
  • @endforeach
@endforeach @endif
@endsection