<div id="header" class="d-flex align-items-center p-0">
<nav class="navbar dark-mode w100" role="navigation">
<div class="navbar__logo">
{% if app.user %}
<a href="{{ path('dashboard') }}"> </a>
{% else %}
<a href="{% if current == "login" or current == "cgv" or current == "cgu" %}{{ path('home') }}{% else %}#home{% endif %}"> </a>
{% endif %}
</div>
<ul class="navbar__links">
<li class="navbar__link first"><a href="{% if current == "login" %}{{ path('home') }}{% endif %}#about">À propos</a></li>
<li class="navbar__link second"><a href="{% if current == "login" %}{{ path('home') }}{% endif %}#services">Services</a></li>
<li class="navbar__link third"><a href="{% if current == "login" %}{{ path('home') }}{% endif %}#avantages">Avantages</a></li>
<li class="navbar__link four"><a href="{% if current == "login" %}{{ path('home') }}{% endif %}#testimonials">Témoignages</a></li>
<li class="navbar__link fifth"><a href="{% if current == "login" %}{{ path('home') }}{% endif %}#contact">Contact</a></li>
{% if app.user %}
{% if current != "dashboard" %}
<li class="navbar__link sixt"><a href="{{ path('dashboard') }}">Tableau de bord</a></li>
{% endif %}
{% else %}
{% if current != "login" %}
<li class="navbar__link sixt ms-5"><a href="{{ path('app_login') }}">Connexion</a></li>
{% endif %}
{% endif %}
</ul>
<button class="burger me-5">
<span class="bar"></span>
</button>
</nav>
{# <div class="row h100 w100">
<div class="col-lg-2 col-sm-6 d-flex align-items-center ">
<div id="logo" class="">
{% if app.user %}
<a href="{{ path('dashboard') }}"> </a>
{% else %}
<a href="{% if current == "login" or current == "cgv" or current == "cgu" %}{{ path('home') }}{% else %}#home{% endif %}"> </a>
{% endif %}
</div>
</div>
<div class="col-8 navbar">
{% if not app.user %}
{% include "components/partials/_nav.html.twig" %}
{% endif %}
</div>
<div class="col-2 d-flex align-items-center justify-content-end navbar">
{% if app.user %}
{% if current != "dashboard" %}
<a class="btn btn-yellow" href="{{ path('dashboard') }}" role="button">Tableau de bord</a>
{% endif %}
{% else %}
{% if current != "login" %}
<a class="btn btn-secondary" href="{{ path('app_login') }}" role="button"><i class="fa-regular fa-user"></i> Connexion</a>
{% endif %}
{% endif %}
</div>
<div class="col-auto">
<button class="burger">
<span class="bar"></span>
</button>
</div>
</div> #}
</div>
{# {% if not app.user %}
<div class="nav_mobil">
{% include "components/partials/_nav_mobil.html.twig" %}
</div>
{% endif %} #}