fix fichier manquants

This commit is contained in:
2021-06-10 19:04:46 +02:00
parent 2d6f28e2ad
commit a67dfeed74
25 changed files with 4067 additions and 1003 deletions

View File

@@ -0,0 +1,33 @@
{% if btn == 'more' and section == 'pack' %}
<div class="__btn __learn-more {{color}}">
En savoir plus
<div class="triangle {{color}}"></div>
</div>
{% elseif btn == 'envie' %}
<div class="__btn __learn-more __grey">
{{module.header.btn_txt_envie}}
{% include 'components/buttons/icone_arrow.html.twig' %}
</div>
{% elseif btn == 'devis' %}
<a class="__btn __devis {{color}}" target="_blank" href="/organisez-vos-evenements/demande-de-devis">
Faire une demande de devis
</a>
{% elseif btn == 'dl' %}
{% set image_parts = pathinfo(item.btn_url) %}
{% set image_basename_imgB = image_parts.basename %}
{% set image_page_imgB = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
<a class="__btn __dl {{color}}" href="{{ image_page_imgB.media[image_basename_imgB].url() }}" download>
{{item.btn_txt}}
</a>
{% elseif btn == 'link_ext' %}
<div class="__btn __learn-more __grey">
En savoir plus
{% include 'components/buttons/icone_arrow.html.twig' %}
</div>
{% endif %}

View File

@@ -0,0 +1,38 @@
<span>
<svg height="6.0939641" width="10">
<inkscape:clipboard
max="12.54392,7.542428"
min="2.54392,1.4484637"
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0.45009641;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" />
<g
id="g825"
transform="matrix(0.38979491,-0.22504822,0.22504822,0.38979491,-58.95949,-23.049672)"
style="fill:#ffffff;stroke:#ffffff">
<path
inkscape:transform-center-y="-1.5488751e-06"
inkscape:transform-center-x="-1.2765429"
d="m 106.39593,121.13789 -3.82964,2.21104 -3.829629,2.21104 v -4.42208 -4.42208 l 3.829629,2.21104 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="false"
sodipodi:arg2="1.0471976"
sodipodi:arg1="0"
sodipodi:r2="2.5530884"
sodipodi:r1="5.1061769"
sodipodi:cy="121.13789"
sodipodi:cx="101.28975"
sodipodi:sides="3"
id="path819"
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
sodipodi:type="star" />
<rect
y="120.63676"
x="82.185379"
height="1.0022607"
width="16.036171"
id="rect821"
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>
</span>

View File

@@ -0,0 +1,8 @@
<div class="close">
<svg height="14.998837" width="15" >
<g transform="matrix(2.8345935,0,0,2.8345935,-66.055662,-122.48714)">
<path d="m 23.509451,43.41759 4.879659,4.879249" style="fill:none;stroke:#79797b;stroke-width:0.412105;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path style="fill:none;stroke:#79797b;stroke-width:0.412105;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 23.509451,48.296839 28.38911,43.41759" />
</g>
</svg>
</div>

View File

@@ -0,0 +1,8 @@
{% if header.entete.text == true %}
<div class="entete">
<div class="entete_c">
<h1>{{page.title}}</h1>
<p>{{ header.entete.text }}</p>
</div>
</div>
{% endif %}

View File

@@ -0,0 +1,16 @@
{% set image_parts = pathinfo(item.imb_background) %}
{% set image_basename_imgB = image_parts.basename %}
{% set image_page_imgB = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
<div class="__wrap-content" style="background-image: url('{{ image_page_imgB.media[image_basename_imgB].url() }}')" >
<div class="__content">
{% include 'components/buttons/icone_close.html.twig' %}
{% include 'components/learn_more/txt_more.html.twig' with { btn: 'devis' } %}
<div class="__btn">
{% include 'components/buttons/btn.html.twig' with { btn: 'devis' } %}
{% include 'components/buttons/btn.html.twig' with { btn: 'dl' } %}
</div>
</div>
</div>

View File

@@ -0,0 +1,21 @@
{# {% for item in module.header.list %} #}
{% set titleHyp = item.title|lower|hyphenize %}
{% if titleHyp == "bien-tre" %}
{% set color = "__blue" %}
{% elseif titleHyp == "nature" %}
{% set color = "__green" %}
{% elseif titleHyp == "gastronomie" %}
{% set color = "__red" %}
{% else %}
{% set color = "__grey" %}
{% endif %}
<div id="{{titleHyp}}" class="__more {{color}} ">
<div class="__details">
{% include 'components/learn_more/img_more.html.twig' %}
</div>
</div>
{# {% endfor %} #}

View File

@@ -0,0 +1,9 @@
<div class="__title">
<h6>{{item.titre}}</h6>
</div>
<div class="__txt">
<p>{{item.txt_color}}</p>
</div>
<div class="__txt black">
<p>{{item.txt_black}}</p>
</div>

View File

@@ -0,0 +1,24 @@
{% if list == "true" %}
{% set image_parts = pathinfo(item.img_thumb) %}
{% set image_basename_thumb = image_parts.basename %}
{% set image_page_thumb = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
{{ image_page_thumb.media[image_basename_thumb].resize(500, 500).html() }}
<div class="__sub-title">
<p>{{item.sous_title}}</p>
</div>
{% else %}
{% set image_parts = pathinfo(module.header.img_thumb_envie) %}
{% set image_basename_thumb = image_parts.basename %}
{% set image_page_thumb = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
{{ image_page_thumb.media[image_basename_thumb].html() }}
<div class="__sub-title">
<p>{{module.header.sous_title_envie}}</p>
</div>
{% endif %}

View File

@@ -0,0 +1,110 @@
{% for item in module.header.list %}
{# img thumb #}
{% set image_parts = pathinfo(item.img_thumb) %}
{% set image_basename_thumb = image_parts.basename %}
{% set image_page_thumb = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
{% set titleHyp = item.title|lower|hyphenize %}
{% if titleHyp == "bien-tre" %}
{% set color = "__blue" %}
{% elseif titleHyp == "nature" %}
{% set color = "__green" %}
{% elseif titleHyp == "gastronomie" %}
{% set color = "__red" %}
{% else %}
{% set color = "__grey" %}
{% endif %}
<div id="{{titleHyp}}" class="{{section}} __thumbnails">
<div class="__title">
<div class="__d-inline">
<span>{{item.title}}</span>
</div>
</div>
<div class="__thumb __hover">
{% if section == 'pack' %}
<a href="#">
<div class="__images">
{% include 'components/thumbnails/img_tbn.html.twig' with { list: 'true'} %}
</div>
{% include 'components/buttons/btn.html.twig' with { btn: 'more'} %}
</a>
{% else %}
<a target="_blank" href=" {{item.btn_url}} ">
<div class="__images">
{% include 'components/thumbnails/img_tbn.html.twig' with { list: 'true'} %}
</div>
{% include 'components/buttons/btn.html.twig' with { btn: 'link_ext'} %}
</a>
{% endif %}
</div>
{% if section == 'pack' %}
{% include 'components/learn_more/more.html.twig' %}
{% endif %}
</div>
{% endfor %}
{% if section == 'pack' %}
<div id="envie" class="{{section}} __thumbnails">
<div class="__title">
<div class="__d-inline">
<span>{{module.header.title_envie}}</span>
</div>
</div>
<div class="__thumb">
<a target="_blank" href="{{module.header.btn_url_envie}}">
<div class="__images ">
{% include 'components/thumbnails/img_tbn.html.twig' with { list: 'false'} %}
</div>
{% include 'components/buttons/btn.html.twig' with { btn: 'envie'} %}
</a>
</div>
</div>
{% endif %}
{% for item in module.header.list_offres %}
{% set titleHyp = item.title|lower|hyphenize %}
{% if titleHyp == "bien-tre" %}
{% set color = "__blue" %}
{% elseif titleHyp == "nature" %}
{% set color = "__green" %}
{% elseif titleHyp == "gastronomie" %}
{% set color = "__red" %}
{% else %}
{% set color = "__grey" %}
{% endif %}
<div id="{{titleHyp}}" class="{{section}} __thumbnails">
{% set image_parts = pathinfo(item.a_file) %}
{% set image_basename_thumb = image_parts.basename %}
{% set image_page_thumb = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
<div class="__title">
<div class="__d-inline">
<span>{{item.title}}</span>
</div>
</div>
<div class="__thumb">
<div class="__images ">
{{ image_page_thumb.media[image_basename_thumb].html() }}
</div>
</div>
</div>
{% endfor %}

View File

@@ -0,0 +1,34 @@
{% for item in module.header.list %}
{% set titleHyp = item.title|lower|hyphenize %}
{% if titleHyp == "bien-tre" %}
{% set color = "__blue" %}
{% elseif titleHyp == "nature" %}
{% set color = "__green" %}
{% elseif titleHyp == "gastronomie" %}
{% set color = "__red" %}
{% else %}
{% set color = "__grey" %}
{% endif %}
<div id="{{titleHyp}}" class="{{section}} __thumbnails">
{% set image_parts = pathinfo(item.a_file) %}
{% set image_basename_thumb = image_parts.basename %}
{% set image_page_thumb = image_parts.dirname == '.' ? module : module.find(image_parts.dirname) %}
<div class="__title">
<div class="__d-inline">
<span>{{item.title}}</span>
</div>
</div>
<div class="__thumb">
<div class="__images ">
{% include 'components/thumbnails/img_tbn.html.twig' with { list: 'true'} %}
</div>
</div>
</div>
{% endfor %}

View File

@@ -0,0 +1,14 @@
{% set collection = page.collection() %}
{% set image = page.media.images|first %}
<section id="footer" class="section blog-listing">
{% if image %}
{{image.html('', 'footer')}}
{% endif %}
{% for item in collection %}
<div class="sub-content ">
{{item.content}}
</div>
{% endfor %}
</section>

View File

@@ -0,0 +1,42 @@
{% extends 'partials/base.html.twig' %}
{% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %}
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog])|defined(true) %}
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
{% set hero_image_name = page.header.hero_image %}
{% block hero %}
{% if hero_image_name %}
{% set hero_image = page.media[hero_image_name] %}
{% set content %}
<h1>{{ page.title }}</h1>
<h2>{{ page.header.subtitle }}</h2>
{% include 'partials/blog/date.html.twig' %}
{% include 'partials/blog/taxonomy.html.twig' %}
{% endset %}
{% include 'partials/hero.html.twig' with {id: 'blog-hero'} %}
{% endif %}
{% endblock %}
{% block body %}
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
{% embed 'partials/layout.html.twig' %}
{% block item %}
<div class="content">
<div class="txt">
<h2>{{page.title}}</h2>
{{content}}
</div>
</div>
{% endblock %}
{% endembed %}
{% for child in page.collection %}
{{child.content}}
{% endfor %}
{% endblock %}

View File

@@ -0,0 +1,69 @@
{% extends 'partials/base.html.twig' %}
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% import _self as macro %}
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
{% block javascripts %}
{% if show_onpage_menu %}
{% do assets.add('theme://js/singlepagenav.min.js') %}
{% endif %}
{{ parent() }}
{% endblock %}
{% block bottom %}
{{ parent() }}
{% if show_onpage_menu %}
<script>
// singlePageNav initialization & configuration
$('ul.navigation').singlePageNav({
offset: $('#header').outerHeight(),
filter: ':not(.external)',
updateHash: true,
currentClass: 'active'
});
</script>
{% endif %}
{% endblock %}
{% block header_navigation %}
{% if show_onpage_menu %}
<ul class="navigation">
{% for module in page.collection() if module.header.visible is not same as(false) %}
{% set current_module = (module.active or module.activeChild) ? 'active' : '' %}
<li><a class="{{ current_module }}" href="#{{ macro.pageLinkName(module.menu) }}">{{ module.menu }}</a></li>
{% endfor %}
{% for mitem in site.menu %}
<li>
<a {% if mitem.class %}class="{{ mitem.class }}"{% endif %} href="{{ mitem.url }}">
{% if mitem.icon %}<i class="fa fa-{{ mitem.icon }}"></i>{% endif %}
{{ mitem.text }}
</a>
</li>
{% endfor %}
</ul>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block hero %}
{% for module in page.collection() if module.template == 'modular/hero' %}
<div id="{{ macro.pageLinkName(module.menu) }}"></div>
{{ module.content|raw }}
{% endfor %}
{% endblock %}
{% block body %}
<span class="ariane">
{% for module in page.collection() if module.template != 'modular/hero' %}
{{module.title}}
{% endfor %}
</span>
{% for module in page.collection() if module.template != 'modular/hero' %}
<div id="{{ macro.pageLinkName(module.menu) }}"></div>
{{ module.content|raw }}
{% endfor %}
{% endblock %}

View File

@@ -0,0 +1 @@
{{content}}

View File

@@ -0,0 +1 @@
{{content}}

View File

@@ -0,0 +1 @@
{{content}}

View File

@@ -0,0 +1,35 @@
{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}
{% set image = page.media.images|first %}
{% block body %}
<section id="body" class="start">
<section class="header-wrapper">
{% include 'components/hero/bandeau.html.twig' %}
</section>
<section class="body-wrapper">
<div class="content">
{% for module in page.collection() %}
<div class="section nos_pack">
<div class="__intro">
{{module.content}}
</div>
<div class="packs d-flex">
{% include 'components/thumbnails/thumbnails_offre.html.twig' %}
</div>
</div>
{% endfor %}
</div>
</section>
</section>
{% endblock %}
{% block devis %}
{% include 'partials/devis.html.twig' %}
{% endblock %}
{% block newsletter %}
{% include 'partials/newsletters.html.twig' %}
{% endblock %}

View File

@@ -0,0 +1,74 @@
{% extends 'partials/base.html.twig' %}
{% set collection = page.collection() %}
{% set image = page.media.images|first %}
{% block body %}
<section id="body" class="start">
<section class="header-wrapper">
{% include 'components/hero/bandeau.html.twig' %}
</section>
<section class="body-wrapper">
<div class="content">
{% for module in page.collection() %}
{% if module.template == 'modular/section-packs' %}
<div class="section nos_pack">
<div class="__intro">
{{module.content}}
</div>
<div class="packs d-flex">
{% include 'components/thumbnails/thumbnails.html.twig' with {section: 'pack'} %}
</div>
</div>
{% endif %}
{% if module.template == 'modular/section-lieux' %}
<div class="section nos_lieux">
<div class="__intro">
{{module.content}}
</div>
<div class="lieux d-flex">
{% include 'components/thumbnails/thumbnails.html.twig' with {section: 'lieux'} %}
</div>
<div class="dl_brochure">
{% set image_parts = pathinfo(page.header.btn_url) %}
{% set image_basename_url = image_parts.basename %}
{% set image_page_url = image_parts.dirname == '.' ? page : page.find(image_parts.dirname) %}
<a target="_blank" href="{{ image_page_url.media[image_basename_url].url() }}" download>{{page.header.btn_txt}}</a>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</section>
<section class="bandeau_partenaires">
<div class="logos_partenaires">
<img src="/user/themes/lecampus/images/Logos_LEADER_VD_HD/1-Logo_Val_de_Drome_quadri_2.jpg" alt="">
<img src="/user/themes/lecampus/images/Logos_LEADER_VD_HD/2-Logo_3CPS.jpg" alt="">
<img src="/user/themes/lecampus/images/Logos_LEADER_VD_HD/3-Drapeau-Europe-Feader-Quadri.jpg" alt="">
<img src="/user/themes/lecampus/images/Logos_LEADER_VD_HD/4-Logo_LEADER.jpg" alt="">
<img src="/user/themes/lecampus/images/Logos_LEADER_VD_HD/5-Logo-EERARA-FEADER-2017-Quadri-jpg-473-Ko-nouveau-logo.jpg" alt="">
</div>
</section>
</section>
{% endblock %}
{% block newsletter %}
{% include 'partials/newsletters.html.twig' %}
{% endblock %}
{% block devis %}
{% include 'partials/devis.html.twig' %}
{% endblock %}

View File

@@ -18,7 +18,7 @@
<link rel="canonical" href="{{ page.url(true, true) }}" />
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
{% do assets.addCss('theme://css-compiled/theme.css') %}
{% do assets.addCss('theme://css/tarteaucitron.css') %}
{% do assets.addCss('theme://css/leaflet.css') %}
{% do assets.addCss('theme://css/jquery.bxslider.min.css') %}