@php $gradients = [ 'from-emerald-400 to-teal-600', 'from-sky-400 to-blue-600', 'from-lime-400 to-green-600', 'from-fuchsia-400 to-purple-600', 'from-amber-400 to-orange-500', 'from-rose-400 to-pink-600', ]; $breakdown = $this->breakdown(); @endphp @if ($breakdown->isEmpty())

{{ __('No approved questions yet.') }}

@else
@foreach ($breakdown as $index => $row) @php $gradient = $gradients[$index % count($gradients)]; @endphp
{{ $row['class'] }}

{{ $row['subject'] }}

{{ $row['count'] }}

{{ trans_choice('question approved|questions approved', $row['count']) }}
@endforeach
@endif