accueil.twig 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. <section id="section_proch" class="row">
  4. <div class="container-fluid">
  5. {% if posts == true %}
  6. <h3>Prochainement</h3>
  7. {% elseif posts_now == true %}
  8. <h3>En cours</h3>
  9. {% endif %}
  10. <div class="row">
  11. {% for item in posts %}
  12. {% include 'components/thumbnails/thumbnails.twig' with { hn : 'h2' } %}
  13. {% endfor %}
  14. {% for item in posts_now %}
  15. {% include 'components/thumbnails/thumbnails.twig' with { hn : 'h2' } %}
  16. {% endfor %}
  17. </div>
  18. <div class="row wrap-btn">
  19. <a class="btn _all" rel="noreferrer" href="/agenda">Tout voir</a>
  20. </div>
  21. </div>
  22. <div class="paralax" data-rellax-speed="5">
  23. <img src="{{theme.link}}/dist/assets/images/objet_1.svg" alt="objet 1">
  24. </div>
  25. </section>
  26. <section id="section_asso" class="row">
  27. <div class="container-fluid">
  28. {% include 'partial/section_asso.twig' %}
  29. <div class="paralax" data-rellax-speed="3">
  30. <img src="{{theme.link}}/dist/assets/images/objet_2.svg" alt="objet 2">
  31. </div>
  32. </div>
  33. </section>
  34. <section id="section_projets" class="row">
  35. <div class="container-fluid">
  36. {% include 'partial/section_projets.twig' %}
  37. <div class="paralax" data-rellax-speed="-1" data-rellax-percentage="0.5">
  38. <img src="{{theme.link}}/dist/assets/images/objet_3.svg" alt="objet 3">
  39. </div>
  40. </div>
  41. <figure class="icones draggable">
  42. <img id="objet_1" src="{{theme.link}}/static/objet_drag_1.svg" alt="objet_1">
  43. <img id="objet_2" src="{{theme.link}}/static/objet_drag_2.svg" alt="objet_2">
  44. <img id="objet_3" src="{{theme.link}}/static/objet_drag_3.svg" alt="objet_3">
  45. </figure>
  46. </section>
  47. <section id="section_tpsF" class="row">
  48. <div class="container-fluid">
  49. {% include 'partial/section_tpsF.twig' %}
  50. </div>
  51. </section>
  52. <section id="section_MineVideo" class="row">
  53. <div class="container-fluid">
  54. <h3>Transition urbaine</h3>
  55. {% if post.video_la_mine %}
  56. <figure class="row mx-0">
  57. {{post.get_field('video_la_mine', FALSE, FALSE)}}
  58. </figure>
  59. {% endif %}
  60. </div>
  61. </section>
  62. {% endblock %}