<!-- ======= Header ======= -->
<header id="header" class="header fixed-top" data-scrollto-offset="0">
<div class="container-fluid d-flex align-items-center justify-content-between">
<a href="{{ path('home') }}" class="logo d-flex align-items-center scrollto me-auto me-lg-0">
<!-- Uncomment the line below if you also wish to use an image logo -->
<!-- <img src="assets/img/logo.png" alt=""> -->
{% set logo = getSetting('logo', true) %}
{% if logo is not null %}
<img src="{{ asset(logo.path ~ logo.name) }}" alt="" class="img-fluid">
{% else %}
TeZeA
{% endif %}
</a>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto" href="{{ path('home')}}">Home</a></li>
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{# {% if is_granted('ROLE_USER') %}
<li class="dropdown"><a href="#"><span>Moje konto</span> <i class="bi bi-chevron-right"></i></a>
<ul>
<li><a href="{{ path("user_profil") }}">{% trans %}Mój profil{% endtrans %}</a></li>
<li>
<a href="{{ path("serviceSystemClient_tickets") }}">{% trans %}Zgłoszenia{% endtrans %}</a>
</li>
<li>
<a href="{{ path("user_edit", { 'id': app.user.id }) }}">{% trans %}Płatności{% endtrans %}</a>
</li>
<li><a href="#" data-bs-toggle="modal"
data-bs-target="#logoutModal">{% trans %}Wyloguj{% endtrans %}</a></li>
</ul>
</li>
{% endif %}#}
{% if is_granted('ROLE_USER') %}
<li><a class="nav-link scrollto" href="{{ path('panel') }}">Panel</a></li>
{% endif %}
{% else %}
<li><a class="nav-link scrollto btn-getstarted me-2" href="{{ path('app_login') }}">Logowanie</a></li>
<li><a class="nav-link scrollto btn-getstarted" href="{{ path('app_register') }}">Rejestracja</a></li>
{% endif %}
</ul>
<i class="bi bi-list mobile-nav-toggle d-none"></i>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->