<nav class="navbar navbar-expand-lg bg-body-tertiary">
    <div class="container-fluid">
        <a class="navbar-brand" href="{{ path('tvdt_backoffice_index') }}">Tijd voor de test</a>
        <button class="navbar-toggler"
                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>
        {% if is_granted('IS_AUTHENTICATED') %}
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                    <li class="nav-item">
                        <a class="nav-link{% if 'tvdt_backoffice_index' == app.current_route() %} active{% endif %}"
                           href="{{ path('tvdt_backoffice_index') }}">{{ 'Seasons'|trans }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link"
                           href="{{ path('tvdt_backoffice_template') }}">{{ 'Download Template'|trans }}</a>
                    </li>
                </ul>
                <ul class="navbar-nav mb-auto me-2 me-lg-0">
                    <li class="nav-item">
                        <a class="nav-link"
                           href="{{ path('tvdt_login_logout') }}">{{ 'Logout'|trans }}</a>
                    </li>
                </ul>
            </div>
        {% endif %}
    </div>
</nav>
