<x-filament-widgets::widget>
    <x-filament::card>
        <div class="text-sm font-medium text-gray-700">Accesos rápidos</div>

        <div class="mt-3 flex flex-wrap gap-2">
            @forelse ($links as $link)
                <a href="{{ $link['url'] }}" class="inline-flex items-center gap-2 rounded-md bg-primary-600 px-3 py-1 text-sm text-white hover:bg-primary-700">
                    <x-filament::icon :icon="$link['icon']" class="h-4 w-4" />
                    <span>{{ $link['label'] }}</span>
                </a>
            @empty
                <span class="text-sm text-gray-500">Sin accesos disponibles.</span>
            @endforelse
        </div>
    </x-filament::card>
</x-filament-widgets::widget>
