templates/composantsPages/homeComponents/nosReseauxSociaux.html.twig line 1

Open in your IDE?
  1. {% if actualites | length > 0 %}
  2. <section class="pt-4 pb-4">
  3. <div class="container" data-animate="fadeInUp">
  4. <div class="col-lg-12">
  5. <div class="heading-text heading-section">
  6. <h2><span>{{ 'components.nos_reseaux.titre' | admintrans | raw }}</span></h2>
  7. <p>{{ 'components.nos_reseaux.description' | admintrans | raw }}</p>
  8. </div>
  9. </div>
  10. </div>
  11. <div class="container">
  12. <div class="row text-center">
  13. {% for actualite in actualites|slice(0,3) %}
  14. <div class="col-xl-4" data-animate-delay="{{ 500 * loop.index0 }}">
  15. <div class="fb-post"
  16. data-href="{{ actualite.lienFacebook }}"
  17. data-width="350"
  18. ></div>
  19. </div>
  20. {% endfor %}
  21. </div>
  22. </div>
  23. </section>
  24. <script>
  25. window.fbAsyncInit = function() {
  26. FB.init({
  27. appId : '3704325079659027',
  28. autoLogAppEvents : true,
  29. xfbml : true,
  30. version : 'v10.0'
  31. });
  32. };
  33. </script>
  34. <script async defer src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"></script>
  35. {% endif %}