This commit is contained in:
2020-09-14 20:00:46 +02:00
parent 93c5e32689
commit cca5ead09a
31 changed files with 692 additions and 203 deletions
+8 -10
View File
@@ -29,10 +29,10 @@
<section id="section_projets" class="row">
<div class="container-fluid">
{% include 'partial/section_projets.twig' %}
{# <div class="paralax" data-rellax-speed="-2" data-rellax-percentage="0.5">
<img src="{{theme.link}}/asset/images/objet_3.svg" alt="objet 3">
</div> #}
{% include 'partial/section_projets.twig' %}
{# <div class="paralax" data-rellax-speed="-2" data-rellax-percentage="0.5">
<img src="{{theme.link}}/asset/images/objet_3.svg" alt="objet 3">
</div> #}
</div>
</section>
@@ -44,14 +44,12 @@
<section id="section_MineVideo" class="row">
<div class="container-fluid">
<h3>La Mine en vidéo</h3>
<div class="row">
{% if post.video_la_mine %}
<figure>
<h3>La Mine en vidéo</h3>
{% if post.video_la_mine %}
<figure class="row">
<iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
</figure>
{% endif %}
</div>
{% endif %}
</div>
</section>
+16 -16
View File
@@ -2,12 +2,13 @@
{% block content %}
{% include 'components/title_page.twig' %}
{% set now = 'now'|date('Ydj') %}
<section>
<ul class="btn_archive d-flex flex-wrap button-group filter-button-group my-0">
<section class="row filter">
<ul class="d-flex flex-wrap">
<li><a href="/agenda">Agenda</a></li>
</ul>
<ul class="cat-list d-flex flex-wrap button-group filter-button-group">
<ul class="cat-list col d-flex flex-wrap">
<li data-filter="*" >
Tous
</li>
@@ -24,20 +25,19 @@
{% endif %}
{% endfor %}
</ul>
<div class="grid">
{% for item in posts %}
{% set end = item.informations_fin_event|date("Ydj") %}
{% if now >= end %}
</section>
{% include 'components/thumbnails/thumbnails.twig'%}
<section class="row grid">
{% for item in posts %}
{% set end = item.informations_fin_event|date("Ydj") %}
{% if now >= end %}
{% include 'components/thumbnails/thumbnails.twig'%}
{% endif %}
{% endif %}
{% endfor %}
</div>
<div class="paralax" data-rellax-speed="-5">
<img src="{{theme.link}}/asset/images/objet_4.svg" alt="objet 4">
</div>
</section>
{% endfor %}
<div class="paralax" data-rellax-speed="-5">
<img src="{{theme.link}}/asset/images/objet_4.svg" alt="objet 4">
</div>
</section>
{% endblock %}
@@ -4,59 +4,65 @@
{% include 'components/title_page.twig' %}
<section class="row">
<aside class="sidebar_left col-md-4 mr-2">
{% include '/components/sider_left.twig' with { name__template : 'association' } %}
<div class="wrapper">
{% include '/components/sider_left.twig' with { name__template : 'association' } %}
</div>
{% include '/components/buttons/bouton_asso.html.twig' %}
</aside>
<div class="wrapper__content col-md-7">
<div class="wrap__content __asso">
<div class="__header">
<section class="wrapper__content col-md-7">
<article class="wrap__content __asso">
<header>
<h2 class="titre_1">{{ post.meta('titre_asso') }}</h2>
</div>
<div class="__body">
</header>
<section class="__body">
{{ post.meta('paragraphe_asso') }}
</div>
</section>
</article>
</div>
<div class="wrap__content engagement">
<div class="__header">
<article class="wrap__content engagement">
<header>
<h2 class="titre_1">{{ post.meta('titre_engage') }}</h2>
</div>
</header>
<div class="__body">
<div class="__image">
<section class="__body">
<figure class="__image">
<img src="{{ Image(post.meta('image_engagement')).src }}" />
</div>
<div class="tableau_engagements row align-items-start">
<div class="gutter-sizer"></div>
</figure>
<section class="tableau_engagements card-columns ">
{# <div class="gutter-sizer"></div> #}
{% for item in post.meta('type_engagement') %}
<div class="engagement col-md-12 col-lg-6"> <!--semble pas marcher (à cause de massonery ?)-->
<div class="__head">
<article class="engagement card"> <!--semble pas marcher (à cause de massonery ?)-->
<header>
<h4>{{item.titre_engagement}}</h4>
</div>
</header>
<div class="__content">
{{item.paragraphe_engagement}}
</div>
</div>
</article>
{% endfor %}
</div>
</section>
<div class="wrap__content vie-asso">
<section class="wrap__content vie-asso">
<div class="__header">
<h2 class="titre_1">{{ post.meta('titre_vieasso') }}</h2>
</div>
<div class="__body">
{{ post.meta('paragraphe_vieasso') }}
</div>
</section>
</div>
</div>
</div>
</div>
</section>
</article>
</section>
</section>
@@ -51,9 +51,5 @@
{% endfor %}
</ul>
</div>
<div class = "__bouttons" >
{% include '/components/buttons/bouton_asso.html.twig' %}
</div>
</div>
{% endif %}
@@ -1,5 +1,5 @@
<section class="title_page">
<div class="{{class}}">
<h2 class="titre_page">{{post.title}}</h2>
</div>
<div class="{{class}}">
<h2 class="titre_page">{{post.title}}</h2>
</div>
</section>
@@ -6,4 +6,5 @@
{% endfor %}
{% include 'partial/pagination.twig' with { pagination: posts.pagination({show_all: false, mid_size: 3, end_size: 2}) } %}
{% endblock %}
@@ -5,26 +5,27 @@
<section class="row">
<aside class="sidebar_left col-md-4 mr-2">
<aside class="sidebar_left col-12 col-md-12 col-lg-6 col-xl-4">
{% include 'components/sider_left.twig' with { name__template : 'benevole' } %}
</aside>
<div class="wrapper__content col-md-7">
<div class="wrap__content">
<article class="wrapper__content col-12 col-md-12 col-lg-6 col-xl-8">
<div class="__header">
<div class="wrap__content">
<header>
<h2 class="__chapeau">{{ post.meta('texte_chapeau') }}</h2>
</div>
</header>
<div class="__body">
{{ post.meta('paragraphe_descriptif') }}
</div>
</div>
</div>
<div class="paralax" data-rellax-speed="-2">
<img src="{{theme.link}}/asset/images/objet_6.svg" alt="objet 6">
</div>
<div class="paralax" data-rellax-speed="-2">
<img src="{{theme.link}}/asset/images/objet_6.svg" alt="objet 6">
</div>
</article>
</section>
@@ -4,31 +4,28 @@
{% include 'components/title_page.twig' %}
<section class="row">
<aside class="sidebar_left col-md-4 mr-2">
<div class="__header">
<aside class="sidebar_left col-12 col-md-6 col-lg-6 col-xl-4">
<header>
<div class="title">
<h3>On s'organise</h3>
</div>
</div>
</header>
{% include 'components/forms/form_lacollecte.twig' %}
</aside>
<div class="wrapper__content col-md-7">
<article class="wrapper__content col-12 col-md-12 col-lg-6 col-xl-8">
<div class="wrap__content">
<div class="__header">
<header class="__header">
<h2 class="__chapeau">{{ post.meta('texte_chapeau') }}</h2>
</div>
</header>
<div class="__body">
{{ post.meta('paragraphe_descriptif') }}
</div>
</div>
</div>
<div class="paralax" data-rellax-speed="5">
<img src="{{theme.link}}/asset/images/objet_5.svg" alt="objet 5">
</div>
<div class="paralax" data-rellax-speed="5">
<img src="{{theme.link}}/asset/images/objet_5.svg" alt="objet 5">
</div>
</article>
</section>
{% endblock %}
@@ -1,37 +1,33 @@
{% extends "base.twig" %}
{% block content %}
{% include 'components/title_page.twig' %}
<div class="paralax w-30" data-rellax-speed="5">
<img src="{{theme.link}}/asset/images/objet_2.svg" alt="objet 2">
</div>
{% include 'components/title_page.twig' %}
<div class="paralax w-30" data-rellax-speed="5">
<img src="{{theme.link}}/asset/images/objet_2.svg" alt="objet 2">
</div>
{% for item in posts %}
<section>
<div class="header">
<div class="title">
<h3>{{item.title}}</h3>
</div>
<div class="content_zone">
{{item.text}}
</div>
</div>
<article>
<header>
<h3>{{item.title}}</h3>
<div><p>{{item.text}}</p></div>
</header>
<div class="projet row">
{% for projet in item.meta("projets") %}
<div class="wrap_content col- col-md-6 col-lg-4">
<div class="img">
<img src="{{ Image(projet.image).src }}" alt="{{ Image(projet.image).title }}">
</div>
<div class="title _pjt">
{{projet.titre}}
</div>
<div class="content">
{{projet.text}}
</div>
<div class="wrap_content p-3 col-12 col-md-6 col-lg-4">
<figure class="img">
<img src="{{ Image(projet.image).src }}" alt="{{ Image(projet.image).title }}">
</figure>
<div class="title _pjt">
<p>{{projet.titre}}</p>
</div>
<div class="content">
{{projet.text}}
</div>
</div>
{% endfor %}
</div>
</section>
</article>
{% endfor %}
{% endblock %}
@@ -4,37 +4,37 @@
{% include 'components/title_page.twig'%}
{% for item in posts %}
<section class="row tpsF">
<div class="sidebar col-md-4">
<article class="row tpsF">
<aside class="sidebar col-md-4">
<div class="title">
<h3>{{item.title}}</h3>
<div class="next_edition">
<p>Prochaine Édition : <time>{{item.next_edition|date("F Y") }}</time>
</p>
<p>Prochaine Édition : <time>{{item.next_edition|date("F Y") }}</time></p>
</div>
</div>
<div class="content">
{{item.meta('text')}}
</div>
</div>
<div class="wrap_content col-md-8">
<div class="slide">
{% for media in item.meta('slide') %}
{% for add in media %}
{% if add.acf_fc_layout == 'images' %}
<div class="img">
<img src="{{ Image(add.image).src }}" alt="{{ Image(add.image).title }}">
</div>
{% endif %}
{% if add.acf_fc_layout == 'video' %}
<div class="video">
</aside>
<figure class="main-carousel col-md-8">
{% for media in item.meta('slide') %}
{% for add in media %}
{% if add.acf_fc_layout == 'images' %}
<div class="img">
<img src="{{ Image(add.image).src }}" alt="{{ Image(add.image).title }}">
</div>
{% endif %}
{% if add.acf_fc_layout == 'video' %}
<div class="video">
<div class="position-relative">
{{ add.video }}
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</section>
{% endfor %}
</figure>
</article>
{% endfor %}
{% endblock %}
@@ -5,14 +5,14 @@
<img src="{{ Image(post.meta('image')).src }}" />
</figure>
<div class="row">
<div class="col-6">
<div class="col-12 col-md-6">
{{ post.meta('paragraphe_descriptif') }}
</div>
<div class="col-6">
<div class="col-12 col-md-6">
{{ post.meta('paragraphe_descriptif_2') }}
</div>
<div class="col">
{% include 'components/buttons/bouton_ensavoir.html.twig' %}
<div class="col-12 mx-0 px-0">
{% include 'components/buttons/bouton_ensavoir.html.twig' %}
</div>
</div>
</div>
</div>
@@ -1,6 +1,5 @@
<h3 class="titre">Les temps forts</h3>
<h3>Les temps forts</h3>
<div class="row">
{% for item in tpsF %}
<article class="thumbnails col-12 col-md-6 col-lg {{cat}}">
<figure>
@@ -18,10 +17,9 @@
</div>
</div>
</article>
{% endfor %}
</div>
<div class="row wrap-btn">
<a rel="noreferrer" class="btn _all" href="/les-temps-forts">Tout voir</a>
</div>
@@ -3,11 +3,9 @@
{% block content %}
{% include 'components/title_page.twig' %}
<section>
<article>
<div class="wrapper__content prive">
<div class="wrap__content">
<div class="__header">
<h2 class="texte_chapeau">{{ post.meta('texte_chapeau') }}</h2>
</div>
@@ -18,36 +16,35 @@
</div>
<div class="wrap__content privatiser __slide">
<div class="wrap__content privatiser main-carousel">
{% for item in post.meta('slide_image') %}
<div class="images">
<div class="img">
<figure>
<img src="{{ Image(item.image).src }}" />
</div>
<div class="legendes col-4">
<div class="__head">
<h6>{{ item.titre_legende}}</h6>
<div class="container position-relative">
<figcaption class="legendes col-10 col-md-6 col-lg-4">
<div class="__head">
<h6>{{ item.titre_legende}}</h6>
</div>
<div class="__content">
<p>{{ item.texte_legende}}</p>
</div>
</figcaption>
</div>
<div class="__content">
<p>{{ item.texte_legende}}</p>
</div>
</div>
</div>
</figure>
{% endfor %}
</div>
<div class="wrap__content __organisation">
<div class="__body row">
{% for item in post.meta('type_organisation') %}
<div class="__content _orga col-lg-4">
<div class="title">
<h5>{{ item.titre_bloc}}</h5>
</div>
<article class="__content _orga col-lg-4">
<div class="title">
<h5>{{ item.titre_bloc}}</h5>
</div>
<div class="__item">
{{item.paragraphe_descriptif}}
</div>
</div>
</article>
{% endfor %}
</div>
@@ -64,5 +61,5 @@
</div>
</section>
</article>
{% endblock %}
+17 -14
View File
@@ -2,7 +2,8 @@
{% block content %}
{% set group = post.meta('informations') %}
<div class="content-wrapper">
<section class="content-wrapper">
<div class="Btn retour">
<a href="/agenda">Retour</a>
<div class="fleche"></div>
@@ -11,12 +12,11 @@
<article class="row">
<div class="header mobile col-12 d-lg-none d-block">
<h3 class="titre_event">{{ post.title }}</h3>
</div>
<div class="__img_event col-lg-6 col-12">
<figure class="__img_event col-lg-6 col-12">
<img src="{{ Image(post.image_event).src }}" />
</div>
</figure>
<div class="article-content col-lg-6 col-12 my-3 my-lg-0">
<div class="header d-none d-lg-block">
@@ -109,20 +109,23 @@
</div>
</article>
</div>
</section>
{% if other %}
<div class="other">
<div class="header_other">
<h3 class="voir_aussi">Voir aussi</h3>
</div>
<div class="other-posts row">
{% for item in other %}
{% include 'components/thumbnails/thumbnails.twig' with { name : 'other'} %}
{% endfor %}
</div>
<section class="other">
<div class="header_other">
<h3 class="voir_aussi">Voir aussi</h3>
</div>
<div class="other-posts row">
{% for item in other %}
{% include 'components/thumbnails/thumbnails.twig' with { name : 'other'} %}
{% endfor %}
</div>
</section>
{% endif %}
{% endblock %}