@props(['kind' => 'primary', 'href' => null]) @php $tag = !empty($href) ? 'a' : 'button'; @endphp <{{ $tag }} {{ $attributes->except('x-text')->merge(['href' => $href])->class([ 'inline-flex px-8 py-4 font-bold text-sm rounded-full items-center transition-colors nowrap relative group overflow-clip whitespace-nowrap', 'bg-pink text-white shadow-main' => $kind === 'primary', 'bg-deepblue text-white shadow-xl' => $kind === 'secondary', ]) }}> has('x-text') ? 'x-text=' . $attributes->get('x-text') : '' }}>{{ $slot }}