<div class="sidebar" data-background-color="dark">
  <div class="sidebar-logo">
    <div class="logo-header" data-background-color="dark">
      <a href="" class="logo">
        <img src="../assets/img/sekolah/logoku5.png" alt="navbar brand" class="navbar-brand" height="70" />
      </a>
      <div class="nav-toggle">
        <button class="btn btn-toggle toggle-sidebar">
          <i class="gg-menu-right"></i>
        </button>
        <button class="btn btn-toggle sidenav-toggler">
          <i class="gg-menu-left"></i>
        </button>
      </div>
      <button class="topbar-toggler more">
        <i class="gg-more-vertical-alt"></i>
      </button>
    </div>
  </div>

  <div class="sidebar-wrapper scrollbar scrollbar-inner">
    <div class="sidebar-content">
      <ul class="nav nav-secondary">
        <li class="nav-section">
          <span class="sidebar-mini-icon">
            <i class="fa fa-ellipsis-h"></i>
          </span>
          <h4 class="text-section">Menu</h4>
        </li>
        <li class="nav-item <?= ($menu == "halamanutama") ? "active" : ""; ?>">
          <a href="<?= url("/admin/halamanutama.php"); ?>">
            <i class="fas fa-home"></i>
            <p>Halaman Utama</p>
          </a>
        </li>
        <li class="nav-item <?= ($menu == "halamanreward") ? "active" : ""; ?>">
            <a href="<?= url("/admin/halamanreward.php"); ?>">
                <i class="fas fa-gift"></i>
                <p>Halaman Reward</p>
            </a>
        </li>
        <li class="nav-item <?= ($menu == "jadwaldiskon") ? "active" : ""; ?>">
            <a href="<?= url("/admin/jadwaldiskon.php"); ?>">
                <i class="fas fa-calendar-day"></i> 
                <p>Jadwal Diskon</p>
            </a>
        </li>

        <li class="nav-item <?= ($menu == "barangdiskon") ? "active" : ""; ?>">
            <a href="<?= url("/admin/barangdiskon.php"); ?>">
                <i class="fas fa-box-open"></i> 
                <p>Barang Diskon</p>
            </a>
        </li>

        <li class="nav-item <?= ($menu == "halamanuploadbarang") ? "active" : ""; ?>">
            <a href="<?= url("/admin/halamanuploadbarang.php"); ?>">
                <i class="fas fa-upload"></i>
                <p>Upload Barang</p>
            </a>
        </li>
        <li class="nav-item <?= ($menu == "gantipassword") ? "active" : ""; ?>">
          <a href="<?= url("/admin/gantipassword.php"); ?>">
            <i class="fas fa-key"></i>
            <p>Ganti Password</p>
          </a>
        </li>
      </ul>
    </div>
  </div>
</div>
