programmes.html.twig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <div
  2. class="programmes{{ page.header.class}} parallax-window"
  3. data-parallax="scroll"
  4. data-image-src="{{ url('theme://images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg') }}">
  5. <!-- <div class="parallax-window" data-parallax="scroll" data-image-src="/path/to/image.jpg"></div> -->
  6. <!-- <div class="images-background parallax parallax-window" data-parallax="scroll">
  7. <img id="photo1" src="/user/themes/epau-antimatter/images/14360_default_big.jpg" alt="photo 1" />
  8. <img id="photo2" src="/user/themes/epau-antimatter/images/10361_web_01.jpg" alt="photo 2" />
  9. <img id="photo3" src="/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG" alt="photo 3" />
  10. <img id="photo4" src="/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg" alt="photo 4" />
  11. </div> -->
  12. {{ content|raw }}
  13. {% for programme in page.header.programmes %}
  14. <div class="programme">
  15. <a href="{{programme.site}}" target="_blank">
  16. {% if programme.logo %}
  17. <img src="{{page.media[programme.logo].url|e }}" alt="logo du programme {{programme.nom_du_programme}}" />
  18. {% endif %}
  19. {% if programme.nom_du_programme %}
  20. <h4>{{ programme.nom_du_programme }}</h4>
  21. {% endif %}
  22. {% if programme.texte_de_presentation %}
  23. <p>{{ programme.texte_de_presentation|markdown }}</p>
  24. {% endif %}
  25. </a>
  26. </div>
  27. {% endfor %}
  28. </div>