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

{% if element.width is defined %}
    <div class="ui divider"></div>
    <div class="ui label"><i class="arrows alternate horizontal icon"></i> {{ element.width }}%</div>
{% endif %}
