@if (count($items) === 0)
Current governance and findings signals look trustworthy.
@foreach ($healthyChecks as $check)
{{ $check['title'] }}
{{ $check['body'] }}
@endforeach
@else @php $domainOrder = ['Recovery', 'Backups', 'Governance', 'Findings', 'Baseline', 'Operations']; $grouped = collect($items)->groupBy('badge')->sortBy(fn ($group, $badge) => array_search($badge, $domainOrder, true) !== false ? array_search($badge, $domainOrder, true) : 999); @endphp
@foreach ($grouped as $domain => $domainItems)
{{ $domain }}
@foreach ($domainItems as $item)
{{ $item['title'] }}
{{ $item['body'] }}
@if (filled($item['supportingMessage'] ?? null))
{{ $item['supportingMessage'] }}
@endif @if (filled($item['actionLabel'] ?? null))
@if (($item['actionElevated'] ?? false) && filled($item['actionUrl'] ?? null)) {{ $item['actionLabel'] }} @elseif (filled($item['actionUrl'] ?? null)) {{ $item['actionLabel'] }} @else
{{ $item['actionLabel'] }}
@endif
@endif @if (filled($item['helperText'] ?? null))
{{ $item['helperText'] }}
@endif
{{ $item['badge'] }}
@endforeach
@endforeach
@endif