accueil.twig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {% extends "base.twig" %}
  2. {% block content %}
  3. {% include 'components/title_page.twig' %}
  4. <section>
  5. <div class="hero">
  6. <div class="__head">
  7. <h1 class="__titre">{{ post.meta('titre') }}</h1>
  8. <div class="__sous_titre">
  9. <h2>{{ post.meta('sous_titre') }}</h2>
  10. </div>
  11. </div>
  12. <div class="slide">
  13. {% for item in post.meta('slide_image') %}
  14. <div class="image">
  15. <img src="{{ Image(item.image).src }}" />
  16. </div>
  17. {% endfor %}
  18. </div>
  19. </div>
  20. </section>
  21. <section>
  22. <div class="coming_soon row align-items-start">
  23. {% for item in posts %}
  24. {% include 'components/thumbnails/thumbnails.twig' %}
  25. {% endfor %}
  26. </div>
  27. </section>
  28. <section>
  29. <div class="association">
  30. <div class="__header">
  31. <h2>{{ post.meta('texte_chapeau_asso') }}</h2>
  32. </div>
  33. <div class="__body">
  34. <div class="image_sectionasso">
  35. <img src="{{ Image(post.meta('image')).src }}" />
  36. </div>
  37. <div class="content row">
  38. <div class="col-6">
  39. {{ post.meta('paragraphe_descriptif') }}
  40. </div>
  41. <div class="col-6">
  42. {{ post.meta('paragraphe_descriptif_2') }}
  43. <div class="btn redirection_page">
  44. {% include 'components/buttons/bouton_ensavoir.html.twig' %}
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </section>
  51. <section>
  52. <div class="projet">
  53. <div class="__header">
  54. <h1 class="titre">Les Projets</h1>
  55. <h2 class="texte_chapeau">{{ post.meta('texte_chapeau_projet') }}</h2>
  56. </div>
  57. <div class="__body">
  58. <div class="wrapper__content">
  59. {% for item in seq %}
  60. <div class="__head">
  61. </div>
  62. <div class="__content">
  63. </div>
  64. {% endfor %}
  65. </div>
  66. </div>
  67. </div>
  68. </section>
  69. <section>
  70. <div class="temps_forts">
  71. <div class="__header">
  72. <h1 class="titre">Les Temps forts</h1>
  73. </div>
  74. </section>
  75. <section>
  76. <div class="video">
  77. <div class="__header">
  78. <h1 class="titre">La Mine en vidéo</h1>
  79. </div>
  80. <div class="__body">
  81. <div class="wrapper__content">
  82. {% if post.video_la_mine %}
  83. <iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
  84. {% endif %}
  85. </div>
  86. </div>
  87. </section>
  88. {% endblock %}