<!-- Navbar -->
<nav class="navbar sticky-top navbar-expand-lg bg-dark border-bottom border-body" data-bs-theme="dark"">
    <div class="container-fluid">
        <a class="navbar-brand" href="{{ url_for('index') }}">
            <i class="fa fa-house"></i>
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown"
            aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNavDropdown">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('dashboard') }}"><i
                            class="fas fa-rocket"></i>&nbsp&nbspDashboard</i></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('participants') }}"><i
                            class="fa fa-user"></i>&nbsp&nbspParticipants</i></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('appointments') }}"><i
                            class="fa fa-calendar"></i>&nbsp&nbspAppointments</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('studies') }}"><i class="fa fa-flask"></i>&nbsp&nbspStudies</a>
                </li>
                <li class="nav-item"></li>
                <a class="nav-link" href="{{ url_for('questionnaires') }}"><i
                        class="fa-regular fa-clipboard"></i>&nbsp&nbspQuestionnaires</i></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" target="_blank" href="https://apps.sjdhospitalbarcelona.org/redcap/"><i
                            class="fa fa-database"></i>&nbsp&nbspREDCap</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" target="_blank" href="https://github.com/NeuroDevComp/babylab-redcap"><i
                            class="fa-brands fa-github"></i>&nbsp&nbspGitHub</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('index') }}"><i
                            class="fa-solid fa-rotate"></i>&nbsp&nbspRefresh
                        &nbsp</a>
                </li>
            </ul>
        </div>
    </div>
</nav>