{namespace ot=Opentalent\OtTemplating\ViewHelpers}



<f:comment><!-- Affichage des réseaux sociaux si des urls sont définies --></f:comment>

<div class="social-bar">
  <f:if condition="{settings.structureFacebook} != ''">
    <f:then>
      <div class="social-logo">
        <a href="{ot:utilities.absoluteUrl(url: settings.structureFacebook)}" target="_blank">
          <i class="fa fa-facebook" style="color: #129af6"></i>
        </a>
      </div>
    </f:then>
  </f:if>

  <f:if condition="{settings.structureTwitter} != ''">
    <f:then>
      <div class="social-logo">
        <a href="{ot:utilities.absoluteUrl(url: settings.structureTwitter)}" target="_blank">
          <i class="fa fa-twitter" style="color: #1da1f2"></i>
        </a>
      </div>
    </f:then>
  </f:if>

  <f:if condition="{settings.structureInstagram} != ''">
    <f:then>
      <div class="social-logo">
        <a href="{ot:utilities.absoluteUrl(url: settings.structureInstagram)}" target="_blank">
          <i class="fa fa-instagram" style="color: #515BD4"></i>
        </a>
      </div>
    </f:then>
  </f:if>
</div>
