création twig de la page projet, privatiser, accueil et asso

This commit is contained in:
2020-05-25 17:11:10 +02:00
parent 3978fb61c8
commit 234ab9f041
12 changed files with 189 additions and 86 deletions
+42 -8
View File
@@ -1,14 +1,48 @@
{% extends "base.twig" %}
{% block content %}
<div class="content-wrapper">
<article class="post-type-{{post.post_type}}" id="post-{{post.ID}}">
<section class="article-content">
<h1 class="article-h1">{{post.title}}</h1>
<div class="article-body">
{{post.content}}
{% include 'components/title_page.twig' %}
<div class="content">
<section class="hero">
<h1 class="titre">{{ post.meta('titre') }}</h1>
<div class="sous_titre">
<h2 class="texte_chapeau">{{ post.meta('sous_titre') }}</h2>
</div>
<div class="slide_image">
{% for item in post.meta('slide_image') %}
<div class="images"><img src="{{ Image(item.image).src }}" /></div>
{% endfor %}
</div>
</section>
</article>
</div><!-- /content-wrapper -->
<section class="prochainement"></section>
<section class="association">
<section class="article-content">
<h2 class="texte_chapeau">{{ post.meta('texte_chapeau_asso') }}</h2>
<div class="image_sectionasso">
<img src="{{ Image(post.meta('image')).src }}" />
</div>
<div class="article-body">
{{ post.meta('paragraphe_descriptif') }}
{{ post.meta('paragraphe_descriptif_2') }}
</div>
<div class="redirection_page">
{% include 'components/buttons/bouton_ensavoir.html.twig' %}
</div>
</section>
</section>
<section class="section_projet">
<section class="article-content">
<h2 class="texte_chapeau">{{ post.meta('texte_chapeau_projet') }}</h2>
</section>
<section class="section_temps_forts"></section>
<section class="mine_en_video">
<section class="article-content">
<div class="video_lamine">
{{video_la_mine}}
</div>
</section>
</section>
</div>
{% endblock %}