<div class="desktop-menu">
<div class="container pt-4">
<div class="row d-flex align-items-center">
<div class="col-lg-2 col-sm-12 mobile-header">
{# Facebook #}
{% if setting.siteFacebook != null %}
<a href="{{ setting.siteFacebook }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="32" height="32" viewBox="0 0 24 24">
<path fill="currentColor"
d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z">
</path>
</svg>
</a>
{% endif %}
{# Instagram #}
{% if setting.siteInstagram != null %}
<a href="{{ setting.siteInstagram }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="32" height="32" viewBox="0 0 256 256"><path fill="currentColor" d="M160 128a32 32 0 1 1-32-32a32.1 32.1 0 0 1 32 32Zm68-44v88a56 56 0 0 1-56 56H84a56 56 0 0 1-56-56V84a56 56 0 0 1 56-56h88a56 56 0 0 1 56 56Zm-52 44a48 48 0 1 0-48 48a48 48 0 0 0 48-48Zm16-52a12 12 0 1 0-12 12a12 12 0 0 0 12-12Z"/></svg>
</a>
{% endif %}
{# LinkedIn #}
{% if setting.siteLinkedin != null %}
<a href="{{ setting.siteLinkedin }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="29" height="29" viewBox="0 0 20 20">
<path fill="currentColor"
d="M10 .4C4.698.4.4 4.698.4 10s4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6S15.302.4 10 .4zM7.65 13.979H5.706V7.723H7.65v6.256zm-.984-7.024c-.614 0-1.011-.435-1.011-.973c0-.549.409-.971 1.036-.971s1.011.422 1.023.971c0 .538-.396.973-1.048.973zm8.084 7.024h-1.944v-3.467c0-.807-.282-1.355-.985-1.355c-.537 0-.856.371-.997.728c-.052.127-.065.307-.065.486v3.607H8.814v-4.26c0-.781-.025-1.434-.051-1.996h1.689l.089.869h.039c.256-.408.883-1.01 1.932-1.01c1.279 0 2.238.857 2.238 2.699v3.699z">
</path>
</svg>
</a>
{% endif %}
</div>
<div class="col-lg-8 col-sm-12 mb-2">
<a href="{{ path('app_home') }}" class="text-decoration-none">
<img src="{{ asset('assets/img/' ~ setting.siteLogo ) }}" alt="{{ setting.siteName }}"
class="img-fluid d-block mx-auto" style="max-width: 550px; width: 100%;">
</a>
</div>
<div class="col-lg-2 col-sm-12 mobile-header">
<div class="row mb-4">
<div class="col mobile-padding">
<svg width="32" height="32" viewBox="0 0 24 24" style="color: #0a3962;">
<path fill="currentColor" fill-rule="evenodd"
d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12zm8 0c0-.17.01-.336.031-.5H12a1 1 0 1 0 0-2H9.877A3.993 3.993 0 0 1 13 8c.902 0 1.731.297 2.4.8a1 1 0 0 0 1.2-1.6a6.001 6.001 0 0 0-9.057 2.3H7a1 1 0 0 0 0 2h.02a6.081 6.081 0 0 0 0 1H7a1 1 0 1 0 0 2h.544a6.001 6.001 0 0 0 9.057 2.3a1 1 0 0 0-1.201-1.6c-.669.503-1.498.8-2.4.8a3.992 3.992 0 0 1-3.123-1.5H12a1 1 0 1 0 0-2H9.031A4.039 4.039 0 0 1 9 12z"
clip-rule="evenodd"></path>
</svg>
<span class="fw-bold" style="color: #0a3962;">
<a href="{{ path('app_tarif') }}" class="text-decoration-none" style="color: #0a3962;">
Les tarifs
</a>
</span>
</div>
</div>
<div class="row">
<div class="col">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--ri" width="32" height="32"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="color: #21afe6;">
<path fill="currentColor"
d="M4 22a8 8 0 1 1 16 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6z">
</path>
</svg>
<span class="fw-bold">
<a href="{{ setting.siteEspaceClient }}" target="_blank" class="text-decoration-none" style="color: #21afe6;">
Espace client
</a>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col header-menu mobile-header mobile-header-menu">
<a href="{{ path('app_home') }}" class="menu-elem text-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'home' %}active{% endif %}" style="letter-spacing : 2px;">
Accueil
</a>
<a href="{{ path('app_difference') }}" class="menu-elem ext-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'difference' %}active{% endif %}" style="letter-spacing : 2px;">
Notre différence
</a>
<a href="{{ path('app_expert_index') }}" class="menu-elem ext-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'experts' %}active{% endif %}" style="letter-spacing : 2px;">
Nos experts
</a>
<div class="menu-elem dropdown">
<a href="#" data-bs-toggle="dropdown" aria-expanded="false" class="dropdown-toggle text-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'blog' %}active{% endif %}" style="letter-spacing : 2px;">
Nos actualités
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="{{ path('app_blog_article_index') }}">Blog</a></li>
<li><a class="dropdown-item" href="{{ path('app_newsletter') }}">Newsletter</a></li>
</ul>
</div>
<a href="{{ path('app_office') }}" class="menu-elem text-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'offices' %}active{% endif %}" style="letter-spacing : 2px;">
Nos offices
</a>
<a href="{{ path('app_contact') }}" class="menu-elem text-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'contact' %}active{% endif %}" style="letter-spacing : 2px;">
Contact
</a>
<a href="{{ path('app_offres') }}" class="menu-elem text-decoration-none fw-bold text-dark text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'offres' %}active{% endif %}" style="letter-spacing : 2px;">
Nos offres d'emploi
</a>
</div>
</div>
</div>
</div>
<div class="mobile-menu">
<div class="nav-links">
<div class="d-flex justify-content-center align-items-center">
{# Facebook #}
{% if setting.siteFacebook != null %}
<a href="{{ setting.siteFacebook }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="32" height="32" viewBox="0 0 24 24">
<path fill="currentColor"
d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95z">
</path>
</svg>
</a>
{% endif %}
{# Instagram #}
{% if setting.siteInstagram != null %}
<a href="{{ setting.siteInstagram }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="32" height="32" viewBox="0 0 256 256"><path fill="currentColor" d="M160 128a32 32 0 1 1-32-32a32.1 32.1 0 0 1 32 32Zm68-44v88a56 56 0 0 1-56 56H84a56 56 0 0 1-56-56V84a56 56 0 0 1 56-56h88a56 56 0 0 1 56 56Zm-52 44a48 48 0 1 0-48 48a48 48 0 0 0 48-48Zm16-52a12 12 0 1 0-12 12a12 12 0 0 0 12-12Z"/></svg>
</a>
{% endif %}
{# LinkedIn #}
{% if setting.siteLinkedin != null %}
<a href="{{ setting.siteLinkedin }}" target="_blank" class="text-decoration-none" style="color: #0a3962;">
<svg width="29" height="29" viewBox="0 0 20 20">
<path fill="currentColor"
d="M10 .4C4.698.4.4 4.698.4 10s4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6S15.302.4 10 .4zM7.65 13.979H5.706V7.723H7.65v6.256zm-.984-7.024c-.614 0-1.011-.435-1.011-.973c0-.549.409-.971 1.036-.971s1.011.422 1.023.971c0 .538-.396.973-1.048.973zm8.084 7.024h-1.944v-3.467c0-.807-.282-1.355-.985-1.355c-.537 0-.856.371-.997.728c-.052.127-.065.307-.065.486v3.607H8.814v-4.26c0-.781-.025-1.434-.051-1.996h1.689l.089.869h.039c.256-.408.883-1.01 1.932-1.01c1.279 0 2.238.857 2.238 2.699v3.699z">
</path>
</svg>
</a>
{% endif %}
</div>
{# Logo #}
<a href="{{ path('app_home') }}" class="text-decoration-none">
<img src="{{ asset('assets/img/' ~ setting.siteLogo ) }}" alt="{{ setting.siteName }}"
class="img-fluid d-block mx-auto" style="max-width: 550px; width: 100%;">
</a>
<div class="d-flex justify-content-center align-items-center flex-column my-4">
{# Menu Tarifs, Clients #}
<div class="d-flex">
<svg class="me-2" width="25" height="25" viewBox="0 0 24 24" style="color: #0a3962;">
<path fill="currentColor" fill-rule="evenodd"
d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12zm8 0c0-.17.01-.336.031-.5H12a1 1 0 1 0 0-2H9.877A3.993 3.993 0 0 1 13 8c.902 0 1.731.297 2.4.8a1 1 0 0 0 1.2-1.6a6.001 6.001 0 0 0-9.057 2.3H7a1 1 0 0 0 0 2h.02a6.081 6.081 0 0 0 0 1H7a1 1 0 1 0 0 2h.544a6.001 6.001 0 0 0 9.057 2.3a1 1 0 0 0-1.201-1.6c-.669.503-1.498.8-2.4.8a3.992 3.992 0 0 1-3.123-1.5H12a1 1 0 1 0 0-2H9.031A4.039 4.039 0 0 1 9 12z"
clip-rule="evenodd"></path>
</svg>
<span class="fw-bold" style="color: #0a3962;">
<a href="{{ path('app_tarif') }}" class="text-decoration-none" style="color: #0a3962;">
Les tarifs
</a>
</span>
</div>
<div class="d-flex mt-3">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" role="img" class="iconify iconify--ri" width="32" height="32"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" style="color: #21afe6;">
<path fill="currentColor"
d="M4 22a8 8 0 1 1 16 0H4zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6z">
</path>
</svg>
<span class="fw-bold">
<a href="{{ setting.siteEspaceClient }}" target="_blank" class="text-decoration-none" style="color: #21afe6;">
Espace client
</a>
</span>
</div>
</div>
<div class="d-flex justify-content-center align-items-center flex-column">
{# Menu principal #}
<a href="{{ path('app_home') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'home' %}active{% endif %}">
Accueil
</a>
<a href="{{ path('app_difference') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'difference' %}active{% endif %}">
Notre différence
</a>
<a href="{{ path('app_expert_index') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'experts' %}active{% endif %}">
Nos experts
</a>
<div class="menu-elem dropdown">
<a href="#" data-bs-toggle="dropdown" aria-expanded="false" class="dropdown-toggle text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'blog' %}active{% endif %}">
Nos actualités
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="{{ path('app_blog_article_index') }}">Blog</a></li>
<li><a class="dropdown-item" href="{{ path('app_newsletter') }}">Newsletter</a></li>
</ul>
</div>
<a href="{{ path('app_office') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'offices' %}active{% endif %}">
Nos offices
</a>
<a href="{{ path('app_contact') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'contact' %}active{% endif %}">
Contact
</a>
<a href="{{ path('app_offres') }}" class="text-decoration-none fw-bold text-uppercase padding {% if pageTitle is defined and pageTitle != null and pageTitle == 'offres' %}active{% endif %}">
Nos offres d'emploi
</a>
</div>
</div>
{# Logo #}
<a href="{{ path('app_home') }}" class="homebutton text-decoration-none">
<img src="{{ asset('assets/img/' ~ setting.siteLogo ) }}" alt="{{ setting.siteName }}" class="img-fluid" style="max-width: 270px; width: 100%;">
</a>
{# <img src="{{ asset('assets/img/menu-btn.png') }}" alt="Menu burger" class="menu-burger"> #}
<div id="burger-menu">
<span></span>
</div>
</div>
<script>
const menuBurger = document.querySelector('#burger-menu');
const navLinks = document.querySelector('.nav-links');
menuBurger.addEventListener('click', () => {
navLinks.classList.toggle('displayburger');
menuBurger.classList.toggle("close");
});
</script>