<?php
// app/views/partials/navbar.php
?>
<nav class="app-header navbar navbar-expand bg-body">
  <div class="container-fluid">
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-lte-toggle="sidebar" href="#" role="button">
          <i class="fa-solid fa-bars"></i>
        </a>
      </li>
    </ul>

    <ul class="navbar-nav ms-auto">
      <li class="nav-item">
        <span class="nav-link text-muted small">
          <?= e($_SESSION['user']['full_name'] ?? $_SESSION['user']['username'] ?? '') ?>
        </span>
      </li>
    </ul>
  </div>
</nav>
