{% extends 'about/about_layout.html.twig' %} {% block page_title %}{{ 'menu.about'|trans }} | Gouvernance{% 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 ease; border: 1px solid #f5f5f5; height: 100%; } .value-icon { font-size: 50px; color: #F59E00; margin-bottom: 25px; display: block; } .containerx { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 30px; margin-top: 30px; } .itemx { background: #fff; border: 1px solid rgba(0,0,0,0.05); padding: 30px; text-align: center; border-radius: 20px; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.03); } .itemx:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: #F59E00; } .itemx img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; border: 3px solid #F59E00; padding: 5px; } .leader-item { max-width: 450px; margin: 0 auto 50px auto; } .leader-item img { width: 180px; height: 180px; } @media(max-width: 991px) { .containerx { grid-template-columns: repeat(2, 1fr); } } @media(max-width: 767px) { .containerx { grid-template-columns: 1fr; } } {% endblock %} {% block about_content %}

{% if app.request.locale == 'en' %}{{ aboutinformation.govTitleEn|default('Our Governance') }}{% else %}{{ aboutinformation.govTitle|default('Notre Gouvernance') }}{% endif %}

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

{{ govIntro|raw }}

{% endif %}
{% for i in 1..3 %} {% set pillarTitle = attribute(aboutinformation, 'govPillar' ~ i ~ 'Title' ~ (app.request.locale == 'en' ? 'En' : '')) %} {% set pillarText = attribute(aboutinformation, 'govPillar' ~ i ~ 'Text' ~ (app.request.locale == 'en' ? 'En' : '')) %} {% if pillarTitle %}

{{ pillarTitle }}

{{ pillarText|raw }}
{% endif %} {% endfor %}
{% set impactTitle = (app.request.locale == 'en' and aboutinformation.govImpactTitleEn) ? aboutinformation.govImpactTitleEn : aboutinformation.govImpactTitle %} {% if impactTitle %}

{{ impactTitle }}

{% for i in 1..3 %} {% set point = (app.request.locale == 'en' and attribute(aboutinformation, 'govImpactPoint' ~ i ~ 'En')) ? attribute(aboutinformation, 'govImpactPoint' ~ i ~ 'En') : attribute(aboutinformation, 'govImpactPoint' ~ i) %} {% if point %}

{{ point|raw }}

{% endif %} {% endfor %}
{% endif %} {% if aboutinformation.govCodirVideoFile or aboutinformation.govCodirVideoUrl %}
{% if aboutinformation.govCodirVideoFile %} {% else %} {% set youtubeId = aboutinformation.govCodirVideoUrl|split('v=')|last %} {% endif %}
{% endif %}

{{ 'section.governance'|trans }} (CODIR)

{% if membresCodir|length > 0 %} {% set leader = null %} {% set others = [] %} {% for membre in membresCodir %} {% if membre.ordre == 1 or (leader is null and (membre.nom|lower matches '/melek/') ) %} {% set leader = membre %} {% else %} {% set others = others|merge([membre]) %} {% endif %} {% endfor %} {% if leader %}
{{ leader.nom }}

{{ leader.nom }}

{{ leader.role }}

{% if app.request.locale == 'en' and leader.descriptionEn %}{{ leader.descriptionEn }}{% else %}{{ leader.description }}{% endif %}

{% if leader.linkedinUrl %} {% endif %}
{% endif %}
{% for membre in others %}
{{ membre.nom }}

{{ membre.nom }}

{{ membre.role }}

{% if membre.linkedinUrl %} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}