{% extends 'about/about_layout.html.twig' %} {% block page_title %}{{ 'menu.about'|trans }} | Nos Valeurs{% endblock %} {% block extra_css %} .value-card { background: #fff; border-radius: 25px; padding: 50px 35px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); border: 1px solid #f5f5f5; height: 100%; position: relative; overflow: hidden; } .value-card:hover { transform: translateY(-12px); box-shadow: 0 30px 70px rgba(0,0,0,0.12); border-color: rgba(245, 158, 0, 0.3); } .value-icon { font-size: 50px; color: #F59E00; margin-bottom: 25px; display: block; transition: transform 0.4s ease; } .value-card:hover .value-icon { transform: scale(1.1) rotate(5deg); } .video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); max-width: 800px; margin: 0 auto; } {% endblock %} {% block about_content %}

{% if app.request.locale == 'en' and aboutinformation.valuesTitleEn %}{{ aboutinformation.valuesTitleEn }}{% else %}{{ aboutinformation.valuesTitle|default('Nos Valeurs') }}{% endif %}

{% set valuesIntro = (app.request.locale == 'en' and aboutinformation.valuesIntroEn) ? aboutinformation.valuesIntroEn : aboutinformation.valuesIntro %} {% if valuesIntro %}

{{ valuesIntro|raw }}

{% endif %}
{% for i in 1..4 %} {% set vTitle = attribute(aboutinformation, 'value' ~ i ~ 'Title') %} {% set vTitleEn = attribute(aboutinformation, 'value' ~ i ~ 'TitleEn') %} {% set vText = attribute(aboutinformation, 'value' ~ i ~ 'Text') %} {% set vTextEn = attribute(aboutinformation, 'value' ~ i ~ 'TextEn') %} {% set currentTitle = (app.request.locale == 'en' and vTitleEn) ? vTitleEn : vTitle %} {% set currentText = (app.request.locale == 'en' and vTextEn) ? vTextEn : vText %} {% if currentTitle %}

{{ currentTitle }}

{{ currentText|raw }}
{% endif %} {% endfor %}
{% if aboutinformation.valuesVideoUrl %}
{% set youtubeIdVal = aboutinformation.valuesVideoUrl|split('v=')|last %}
{% endif %}
{% endblock %}