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