Initial PHP rebuild of the app
This commit is contained in:
690 files changed
+33944
-12046
No files matched your search
@@ -0,0 +1,11 @@
|
||||
@props(['tone' => 'default'])
|
||||
|
||||
@php
|
||||
$classes = match ($tone) {
|
||||
'accent' => 'bg-emerald-50 text-accent-foreground',
|
||||
'loyalty' => 'bg-amber-50 text-amber-800',
|
||||
default => 'bg-stone text-muted',
|
||||
};
|
||||
@endphp
|
||||
|
||||
<span {{ $attributes->merge(['class' => "inline-flex items-center rounded-full px-3 py-1 text-[10px] font-bold uppercase tracking-widest {$classes}"]) }}>{{ $slot }}</span>
|
||||
Reference in new issue
Block a user