<style lang="scss">
    @import "../../style/atoms/box-cta";
</style>

<script lang="ts">
    import Icon from '$components/atoms/Icon.svelte'

    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">
        <Icon icon={icon} label={alt} />
    </div>
    <span class="text-label">
        {label}
    </span>
</a>
