<nav class="navbar navbar-expand-lg navbar-dark bg-ku-blue">
<div class="container-fluid">
<a class="navbar-brand" href="https://ku.edu">KU</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>
<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 app.request.get('_route') == 'home' %} active{% endif %}"
href="{{ path('home') }}">Home</a>
</li>
{% if is_granted('ROLE_ADMIN') %}
{% include 'admin/partials/nav.html.twig' %}
{% endif %}
</ul>
<div class="d-flex">
<ul class="navbar-nav ml-auto">
{% if not is_granted('ROLE_USER') %}
<li class="nav-item">
<a title="login" class="nav-link" href="{{ path('app_cas') }}">
<i class="fas fa-sign-in-alt"></i> <span class="sr-only">CAS Login</span>
</a>
</li>
{% else %}
<li class="nav-item">
<a title="login" class="nav-link" href="{{ path('app_logout') }}">
<i class="fas fa-sign-in-alt"></i> <span class="sr-only">Logout</span>
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>