@php
$map = [
    'draft'     => ['secondary', 'Draf'],
    'published' => ['success',   'Diterbitkan'],
    'closed'    => ['dark',      'Ditutup'],
];
[$color, $label] = $map[$status] ?? ['secondary', $status];
@endphp
<span class="badge bg-{{ $color }}">{{ $label }}</span>
