dealhub/resources/views/components/ui/button-sm.blade.php
kusowl 1275a74506 feat: broker profile
- add morph to relationship
- add profile markup
- modify page-heading.blade.php to accept center and end sections
2026-01-13 18:06:27 +05:30

13 lines
338 B
PHP

@props(['variant' => ''])
@php
$variants = [
'neutral' => 'bg-primary-600 text-white',
'ghost' => 'bg-gray-100 text-black text-sm'
];
$variantClass = $variants[$variant] ?? '';
@endphp
<button {{$attributes->merge(['class' => "px-2 py-1 text-xs rounded-md font-medium hover:opacity-80 $variantClass"])}}>
{{$slot}}
</button>