fix fichier manquants
This commit is contained in:
@@ -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 %}
|
@@ -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>
|
@@ -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>
|
@@ -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 %}
|
@@ -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>
|
@@ -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 %} #}
|
@@ -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>
|
@@ -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 %}
|
@@ -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 %}
|
@@ -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 %}
|
Reference in New Issue
Block a user