html && bootsrap section asso

This commit is contained in:
Kevin Tessier 2020-09-07 18:48:38 +02:00
parent 9a372c7360
commit 50669501c1
2 changed files with 36 additions and 42 deletions

View File

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<section id="section_proch" class="row"> <section id="section_proch" class="row">
<div class="col"> <div class="container-fluid">
<h3>Prochainement</h3> <h3>Prochainement</h3>
<div class="row"> <div class="row">
{% for item in posts %} {% for item in posts %}
@ -19,37 +19,35 @@
</section> </section>
<section id="section_asso" class="row"> <section id="section_asso" class="row">
{% include 'partial/section_asso.twig' %} <div class="container-fluid">
<div class="paralax" data-rellax-speed="3"> {% include 'partial/section_asso.twig' %}
<img src="{{theme.link}}/asset/images/objet_2.svg" alt="objet 2"> {# <div class="paralax" data-rellax-speed="3">
<img src="{{theme.link}}/asset/images/objet_2.svg" alt="objet 2">
</div> #}
</div> </div>
</section> </section>
<section id="section_projets"> <section id="section_projets" class="row">
<div class="projet"> {% include 'partial/section_projets.twig' %}
{% include 'partial/section_projets.twig' %} {# <div class="paralax" data-rellax-speed="-2" data-rellax-percentage="0.5">
<div class="paralax" data-rellax-speed="-2" data-rellax-percentage="0.5"> <img src="{{theme.link}}/asset/images/objet_3.svg" alt="objet 3">
<img src="{{theme.link}}/asset/images/objet_3.svg" alt="objet 3"> </div> #}
</div>
</div>
</section> </section>
<section id="section_tpsF"> <section id="section_tpsF" class="row">
<div class="temps_forts">
{% include 'partial/section_tpsF.twig' %} {% include 'partial/section_tpsF.twig' %}
</section> </section>
<section id="section_MineVideo"> <section id="section_MineVideo" class="row">
<div class="video"> <div class="__header">
<div class="__header"> <h3 class="titre">La Mine en vidéo</h3>
<h3 class="titre">La Mine en vidéo</h3> </div>
<div class="__body">
<div class="wrapper__content">
{% if post.video_la_mine %}
<iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div> </div>
<div class="__body">
<div class="wrapper__content">
{% if post.video_la_mine %}
<iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
{% endif %}
</div>
</div> </div>
</section> </section>

View File

@ -1,22 +1,18 @@
<div class="__header"> <h3 class="titre">L'association</h3>
<h3 class="titre">L'association</h3> <h4>{{ post.meta('texte_chapeau_asso') }}</h4>
<h2>{{ post.meta('texte_chapeau_asso') }}</h2> <div class="row">
</div> <figure class="col">
<div class="__body d-flex">
<div class="image_sectionasso">
<img src="{{ Image(post.meta('image')).src }}" /> <img src="{{ Image(post.meta('image')).src }}" />
</figure>
<div class="row">
<div class="col-6">
{{ post.meta('paragraphe_descriptif') }}
</div>
<div class="col-6">
{{ post.meta('paragraphe_descriptif_2') }}
</div>
<div class="col">
{% include 'components/buttons/bouton_ensavoir.html.twig' %}
</div>
</div> </div>
<div class="content_asso row">
<div class="col-md-6">
{{ post.meta('paragraphe_descriptif') }}
</div>
<div class="col-md-6">
{{ post.meta('paragraphe_descriptif_2') }}
</div>
<div class="btn redirection_page">
{% include 'components/buttons/bouton_ensavoir.html.twig' %}
</div>
</div>
</div> </div>