Integrasi Login dan menu Dasar SIAKAD Operator dan Mahasiswa
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@props(['tone' => 'neutral', 'icon' => null])
|
||||
|
||||
@php
|
||||
$tone = in_array($tone, ['neutral', 'accent', 'gold', 'success', 'danger'], true) ? $tone : 'neutral';
|
||||
$tone = in_array($tone, ['neutral', 'accent', 'gold', 'success', 'danger', 'info', 'violet'], true) ? $tone : 'neutral';
|
||||
@endphp
|
||||
|
||||
<span {{ $attributes->class(['badge', "badge--{$tone}" => $tone !== 'neutral']) }}>
|
||||
|
||||
Reference in New Issue
Block a user