@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-gradient-to-b from-amber-200 via-amber-500 to-amber-300 hover:bg-amber-700 hover:from-white hover:via-gray-400 hover:to-gray-300 hover:inset-shadow']) }}>
@isset($icon)
@endisset
{{ $label }}
@endif