<!-- 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;&nbsp;Dashboard</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="{{ url_for('participants') }}"><i class="fa fa-user"></i>&nbsp;&nbsp;Participants</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="{{ url_for('appointments') }}"><i
            class="fa fa-calendar"></i>&nbsp;&nbsp;Appointments</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="{{ url_for('studies') }}"><i class="fa fa-flask"></i>&nbsp;&nbsp;Studies</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="{{ url_for('questionnaires') }}"><i
            class="fa-regular fa-clipboard"></i>&nbsp;&nbsp;Questionnaires</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;&nbsp;REDCap</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;&nbsp;GitHub</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="{{ url_for('other') }}"><i class="fa-solid fa-bars"></i>&nbsp;&nbsp;Other
          &nbsp;</a>
      </li>
    </ul>
  </div>
  </div>
</nav>