@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-black rounded-md bg-violet-400 hover:bg-violet-600 transition-all duration-300 ease-in-out']) }}>
@isset($icon)
@endisset
{{ $label }}
@endif