<{% if element.link is defined and element.link.link is not empty %}a href="{{ element.link.link }}"{% else %}div{% endif %} class="block-icon-text">
    {% if element.icon is defined and element.icon.icon is not empty %}
        <span class="icon-pattern-wrapper pattern-2">
            {% include ['@SyliusShop/Icons/'~element.icon.icon~'.html.twig', '@SyliusShop/Icons/fontawesome.html.twig'] with { 'icon': element.icon.icon } %}
        </span>
    {% endif %}
    <span class="text-wrapper">{{ element.text.content|raw }}</span>
</{% if element.link is defined and element.link.link is not empty %}a{% else %}div{% endif %}>
