@props(['label', 'icon' => null, 'url' => null]) @php $isButton = $attributes->has('type'); @endphp @if ($isButton) @else merge(['class' => 'flex items-center justify-center gap-1 px-4 py-2 text-center text-white rounded-md bg-gradient-to-b shadow-xs shadow-violet-950 from-[#5801a0] to-[#a537ff] hover:from-violet-950 hover:to-purple-700 hover:inset-shadow']) }}> @isset($icon)
@endisset
{{ $label }}
@endif