{% extends 'partials/base.html.twig' %}
{% set image = page.media.images %}

{% block content %}

  <div class="gal">
    {% for feature in page.header.buttons %}
      {% set gal = feature.header.a_file %}
        <div class="content_gal">
          <div class="title">
            <h2>{{ feature.text }}</h2>
          </div>
          <img src="user/pages/01.home/{{gal}}" alt="">
      </div>
    {% endfor %}
  </div>

  {% if header.entete.text == true %}
    <div class="entete">
      <div class="entete_c">
        <h3>{{ header.entete.text }}</h3>
      </div>
    </div>
  {% endif %}

  <div class="content">
    {{ page.content|raw }}
  </div>

{% endblock %}

{% block sidebar %}
  {% include 'partials/sidebar.html.twig' %}
{% endblock %}

{% block devis %}
  <div class="side-newsletter">
    <div id="mc_embed_signup">
    <form action="https://kevintessier.us19.list-manage.com/subscribe/post?u=a98b763288f940083bf28857c&amp;id=96d6b6e702" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
        <div id="mc_embed_signup_scroll">
      <label for="mce-EMAIL">Recevoir l'actualité du campus</label></br>
      <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
        <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_a98b763288f940083bf28857c_96d6b6e702" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="ok" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    </form>
    </div>
  </div>
{% endblock %}
