<script lang="ts">
    export let icon: string
    export let alt: string
    export let label: string
    export let url: string
</script>

<a href={url} class="box-cta">
    <div class="icon">
        <img src={icon} alt={alt} width={48} height={48} loading="lazy">
    </div>
    <span class="text-label">
        {label}
    </span>
</a>