@foreach([
['label' => 'Toplam Denetim', 'value' => $stats['total_audits'], 'icon' => '📋', 'href' => route('admin.audits')],
['label' => 'Bugün', 'value' => $stats['today_audits'], 'icon' => '📅', 'href' => null],
['label' => 'Bu Hafta', 'value' => $stats['week_audits'], 'icon' => '📊', 'href' => null],
['label' => 'Toplam Kullanıcı', 'value' => $stats['total_users'], 'icon' => '👥', 'href' => route('admin.users')],
] as $i => $card)
@php $tag = $card['href'] ? 'a' : 'div'; @endphp
<{{ $tag }} @if($card['href']) href="{{ $card['href'] }}" @endif
class="glass glass-hover p-5 reveal {{ $card['href'] ? 'cursor-pointer' : '' }}" data-delay="{{ $i * 0.08 }}">
{{ $card['icon'] }}
{{ $card['label'] }}
{{ $tag }}>
@endforeach