templates/ui/nav/_navbar.html.twig line 1
<nav class="navbar navbar-expand-lg bg-white shadow-sm border pt-0">
<div class="container-fluid">
<a class="navbar-brand pt-0 mt-1" href="/">
<img src="{{ asset('images/septam.png') }}" alt="logo" width="150">
</a>
<button class="navbar-toggler mt-2" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav">
{% if is_granted('ROLE_ADMIN') %}
<li class="nav-item on-hover-link">
<a class="nav-link" href="{{ path('app_admin') }}">
Administration
</a>
</li>
{% endif %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li class="nav-item on-hover-link">
<a class="nav-link" href="/logout">
Déconnexion
</a>
</li>
{% else %}
<li class="nav-item on-hover-link">
<a class="nav-link" href="/login">
Connexion
</a>
</li>
{% endif %}
<li class="nav-item on-hover-link">
<a class="nav-link" href="#">
Téléchargement
</a>
</li>
<li class="nav-item on-hover-link">
<a class="nav-link" href="https://septam.fr">
Retour au site
</a>
</li>
</ul>
</div>
</div>
</nav>