{% if class is not defined %}
{% set class = '' %}
{% endif %}
{% if entry.type == constant('App\\Entity\\FooterEntry::TYPE_HEADQUARTER') %}
<div class="d-flex mb-2">
<div class="text-white me-3">
<i data-feather="home"></i>
</div>
<p class="text-white">
<span class="fw-medium d-block text-uppercase">{{ entry.headquarterType|trans }}</span>
<span class="d-block">{{ entry.callToAction|nl2br }}</span>
</p>
</div>
{% endif %}
{% if entry.type == constant('App\\Entity\\FooterEntry::TYPE_LINK') %}
<div class="w-100 mb-3 px-2">
<a {% if entry.blank %}target="_blank"{% endif %} href="{{ entry.link }}" class="link fw-medium text-white fs-sm text-uppercase {{ class }}" aria-label="{{ entry.callToAction }}">{{ entry.callToAction }}</a>
</div>
{% endif %}
{% if entry.type == constant('App\\Entity\\FooterEntry::TYPE_BUTTON') %}
<a {% if entry.blank %}target="_blank"{% endif %} href="{{ entry.link }}" aria-label="{{ entry.link }}" class="btn btn-outline-white text-uppercase w-100 mb-3">{{ entry.callToAction }}</a>
{% endif %}