templates/website/includes/social-section.html.twig line 1

Open in your IDE?
  1. <div class="rodape-sociais">
  2. <div class="wrap-sociais {% if countSocial == 0 %} hidden {% endif %} {% if section is defined and section.background %} sec-bg-alt {% endif %}">
  3. {% set infoSocial = {
  4.   'whatsapp': {
  5.     ico: 'fa-whatsapp'
  6.   },
  7.   'linkedin': {
  8.     ico: 'fa-linkedin'
  9.   },
  10.   'youtube': {
  11.     ico: 'fa-youtube'
  12.   },
  13.   'pinterest': {
  14.     ico: 'fa-pinterest'
  15.   },
  16.   'instagram': {
  17.     ico: 'fa-instagram'
  18.   },
  19.   'snapchat': {
  20.     ico: 'fa-snapchat-ghost'
  21.   },
  22.   'facebook': {
  23.     ico: 'fa-facebook'
  24.   },
  25.   'twitter': {
  26.     ico: 'fa-twitter'
  27.   },
  28.   'spotify': {
  29.     ico: 'fa-spotify'
  30.   },
  31.   'tiktok': {
  32.     ico: 'fa-tiktok'
  33.   },
  34. }%}
  35. {% for slug, data in infoSocial %}
  36.   {% if getConfig(slug) %}
  37.     <a href="{{ clearSocialUrl(slug, getConfig(slug)) }}" target="_blank" class="{{ slug }}">
  38.       <i class="fab {{ data.ico }}"></i>
  39.     </a>
  40.   {% endif %}
  41. {% endfor %}
  42. </div>
  43. </div>