<!-- Main Sidebar Container -->
<aside class="main-sidebar sidebar-bg-dark sidebar-color-primary shadow">
  <div class="brand-container">
    <a href="javascript:;" class="brand-link">
      <img src="@@path/assets/img/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image opacity-80 shadow">
      <span class="brand-text fw-light">AdminLTE 4</span>
    </a>
    <a class="pushmenu mx-1" data-lte-toggle="sidebar-mini" href="javascript:;" role="button"><i class="fas fa-angle-double-left"></i></a>
  </div>
  <!-- Sidebar -->
  <div class="sidebar">
    <nav class="mt-2">
      <!-- Sidebar Menu -->
      <ul class="nav nav-pills nav-sidebar flex-column" data-lte-toggle="treeview" role="menu" data-accordion="false">
        <li class="nav-item @@if (context.mainPage === 'dashboard') {menu-open}">
          <a href="javascript:;" class="nav-link @@if (context.mainPage === 'dashboard') {active}">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Dashboard
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="@@path/index.html" class="nav-link @@if (context.page === 'index') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Dashboard v1</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="@@path/index2.html" class="nav-link @@if (context.page === 'index2') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Dashboard v2</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="@@path/index3.html" class="nav-link @@if (context.page === 'index3') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Dashboard v3</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-item @@if (context.mainPage === 'widgets') {menu-open}">
          <a href="javascript:;" class="nav-link @@if (context.mainPage === 'widgets') {active}">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Widgets
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="@@path/pages/widgets/small-box.html" class="nav-link @@if (context.page === 'small-box') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Small Box</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="@@path/pages/widgets/info-box.html" class="nav-link @@if (context.page === 'info-box') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>info Box</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="@@path/pages/widgets/cards.html" class="nav-link @@if (context.page === 'cards') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Cards</p>
              </a>
            </li>
          </ul>
        </li>

        <li class="nav-item @@if (context.mainPage === 'layout') {menu-open}">
          <a href="javascript:;" class="nav-link @@if (context.mainPage === 'layout') {active}">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Layout Options
              <span class="badge bg-info float-end me-3">6</span>
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="@@path/pages/layout/fixed-sidebar.html" class="nav-link @@if (context.page === 'fixed-sidebar') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Fixed Sidebar</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-item @@if (context.mainPage === 'forms') {menu-open}">
          <a href="javascript:;" class="nav-link @@if (context.mainPage === 'forms') {active}">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Forms
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="@@path/pages/forms/general.html" class="nav-link @@if (context.page === 'general') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>General Elements</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-item @@if (context.mainPage === 'tables') {menu-open}">
          <a href="javascript:;" class="nav-link @@if (context.mainPage === 'tables') {active}">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Tables
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="@@path/pages/tables/simple.html" class="nav-link @@if (context.page === 'simple') {active}">
                <i class="nav-icon far fa-circle"></i>
                <p>Simple Tables</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-header">MULTI LEVEL EXAMPLE</li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon fas fa-circle"></i>
            <p>Level 1</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon fas fa-circle"></i>
            <p>
              Level 1
              <i class="end fas fa-angle-left"></i>
            </p>
          </a>
          <ul class="nav nav-treeview">
            <li class="nav-item">
              <a href="javascript:;" class="nav-link">
                <i class="nav-icon far fa-circle"></i>
                <p>Level 2</p>
              </a>
            </li>
            <li class="nav-item">
              <a href="javascript:;" class="nav-link">
                <i class="nav-icon far fa-circle"></i>
                <p>
                  Level 2
                  <i class="end fas fa-angle-left"></i>
                </p>
              </a>
              <ul class="nav nav-treeview">
                <li class="nav-item">
                  <a href="javascript:;" class="nav-link">
                    <i class="nav-icon far fa-dot-circle"></i>
                    <p>Level 3</p>
                  </a>
                </li>
                <li class="nav-item">
                  <a href="javascript:;" class="nav-link">
                    <i class="nav-icon far fa-dot-circle"></i>
                    <p>Level 3</p>
                  </a>
                </li>
                <li class="nav-item">
                  <a href="javascript:;" class="nav-link">
                    <i class="nav-icon far fa-dot-circle"></i>
                    <p>Level 3</p>
                  </a>
                </li>
              </ul>
            </li>
            <li class="nav-item">
              <a href="javascript:;" class="nav-link">
                <i class="nav-icon far fa-circle"></i>
                <p>Level 2</p>
              </a>
            </li>
          </ul>
        </li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon fas fa-circle"></i>
            <p>Level 1</p>
          </a>
        </li>
        <li class="nav-header">LABELS</li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon far fa-circle text-danger"></i>
            <p class="text">Important</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon far fa-circle text-warning"></i>
            <p>Warning</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="javascript:;" class="nav-link">
            <i class="nav-icon far fa-circle text-info"></i>
            <p>Informational</p>
          </a>
        </li>
      </ul>
    </nav>
  </div>
  <!-- /.sidebar -->
</aside>
