<header id="navbar">
<div class="header-content-burger index-burger">
<nav class="navbar">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas"
data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Menu mobile -->
<div class="offcanvas offcanvas-end menu-mobile" tabindex="-1" id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<button type="button" class="btn-close btn-close-white text-reset" data-bs-dismiss="offcanvas"
aria-label="Close"></button>
</div>
<div class="logo-offcanvas">
<a class="navbar-brand ml-0 logo-club" href="{{ path('kiwi_homepage') }}">
<img src="{{ asset('build/img/logo-haribo-pro.jpg') }}" />
</a>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
<li class="nav-item">
<a aria-current="page" href="{{ path('kiwi_homepage') }}">Accueil</a>
</li>
{% if app.user %}
<!-- If we're connect -->
<li class="nav-item">
<a href="https://www.haribopro.com/">Haribo pro</a>
</li>
<li class="dropdown nav-item">
<button class="btn-dropdown dropdown-toggle" type="button" data-bs-toggle="dropdown"
aria-expanded="false">
Mon compte
</button>
<ul class="dropdown-menu" id="myAccountList">
<li><a href="{{ path('kiwi_user_space') }}">Mon espace membre</a></li>
<li><a href="{{ path('kiwi_account') }}">Gérer mon compte</a></li>
<li><a href="{{ path('participation_odr') }}">Mes demandes</a></li>
<li><a href="{{ path('app_logout') }}"><i
class="fa-solid fa-power-off"></i>Déconnexion</a></li>
</ul>
</li>
{% else %}
<!-- If we are not connect -->
<li class="nav-item">
{% include '/security/partials/login/nav-item/popin-login.html.twig' with {'dataTarget':
'#modal_login'}%}
</li>
<li class="nav-item nav-item-two">
<a href="{{ path('kiwi_operation_odr') }}">Offres de remboursement</a>
</li>
<li class="nav-item">
<a href="https://www.haribopro.com/">Haribo pro</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>
</div>
<div class="logo-contener">
<a class="navbar-brand ml-0 logo-club" href="https://www.haribopro.com/">
<img src="{{ asset('build/img/logo-haribo-pro.jpg') }}" />
</a>
</div>
<nav class="navbar navbar-expand-lg navbar-light" id="navbarFixed">
<div class="navbar-collapse nav" id="navbarSupportedContent">
<ul class="navbar-nav nav-fill w-100 puce-container">
<li class="nav-item nav-item-two hover-red">
<a href="{{ path('kiwi_homepage') }}">Accueil</a>
</li>
<li class="nav-item nav-item-two hover-red">
<a href="{{ path('kiwi_operation_odr') }}">Offres de remboursement</a>
</li>
{# {% set getOperationOdrs = odrManager.getOnlineOffers() %}#}
{% if app.user %}
{# SI ON EST CONNECTE #}
<li class="dropdown nav-item dropdown-menu-desktop" id="dropDownContainer">
<button class="btn-dropdown dropdown-toggle" type="button" data-bs-toggle="dropdown"
aria-expanded="false" tabindex="1" id="dropDownButton">
Mon compte
</button>
<ul class="dropdown-menu" id="accountList">
<li><a href="{{ path('kiwi_user_space') }}">Mon espace membre</a></li>
<li><a href="{{ path('kiwi_account') }}">Gérer mon compte</a></li>
<li><a href="{{ path('participation_odr') }}">Mes demandes</a></li>
<li class="nav-item nav-item-four"><a href="{{ path('app_logout') }}"><i
class="fas fa-power-off"></i> Déconnexion</a></li>
</ul>
<li />
<li class="nav-item nav-item-four hover-red">
<a href="https://www.haribopro.com/" class="haribo-pro-li"></i> Haribo pro</a>
</li>
{% else %}
{# SI ON EST PAS CONNECTE #}
<li class="nav-item nav-item-three hover-red">
{% include '/security/partials/login/nav-item/popin-login.html.twig' with {'dataTarget':
'#modal_login'}%}
</li>
<li class="nav-item nav-item-three hover-red">
<a href="https://www.haribopro.com/" class="haribo-pro-li">Haribo pro</a>
</li>
{% endif %}
</ul>
</div>
</nav>
</header>
{% if isModalConnection is defined and isModalConnection == true %}
<!-- Modal -->
<div class="modal fade modal-login" id="modal_login" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
{# <div class="modal-header">
<a href="javascript:void(0);" type="button" data-bs-dismiss="modal" aria-label="Close"><i
class="fa-solid fa-xmark"></i></a>
</div> #}
<div class="modal-header">
<h5 class="modal-title" id="odrModalLabel"></h5>
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true"><i class="fa-solid fa-xmark"></i></span>
</button>
</div>
<div class="modal-body">
{% block login_modal_content %}
Here is default modal content.
use login_modal_content block to put your content.
{% endblock %}
</div>
{% block login_modal_footer %}
headerdiv class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Understood</button>
</div>
{% endblock %}
</div>
</div>
</div>
</div>
{% endif %}