<!-- Sidebar -->
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

    <!-- Sidebar - Brand -->
    <a class="sidebar-brand d-flex align-items-center justify-content-center" href="<?= base_url('vacancies') ?>">
        <div>
            <img src="<?= base_url('img/Journey-sidebar-with-slogan.png') ?>" alt=" Logo" style="max-width: 150px;">
        </div>
    </a>


    <!-- Divider -->
    <hr class="sidebar-divider my-0">
    <!-- Nav Item - Dashboard -->
    <li class="nav-item <?= (current_url() == base_url('vacancies')) ? 'active' : '' ?>">
        <a class="nav-link" href="<?= base_url('vacancies') ?>">
            <i class="fas fa-fw fa-briefcase"></i>
            <span>Lowongan Terbaru</span>
        </a>
    </li>
    <li class="nav-item <?= (current_url() == base_url('jobs/recommend')) ? 'active' : '' ?>">
        <a class="nav-link" href="<?= base_url('jobs/recommend') ?>">
            <i class="fas fa-fw fa-thumbs-up"></i>
            <span>Rekomendasi</span>
        </a>
    </li>
    <li class="nav-item <?= (current_url() == base_url('popular')) ? 'active' : '' ?>">
        <a class="nav-link" href="<?= base_url('popular') ?>">
            <i class="fas fa-fw fa-star"></i>
            <span>Lowongan Populer</span>
        </a>
    </li>
    <li class="nav-item <?= (current_url() == base_url('status')) ? 'active' : '' ?>">
        <a class="nav-link" href="<?= base_url('status') ?>">
            <i class="fas fa-fw fa-info-circle"></i>
            <span>Status Lamaran</span>
        </a>
    </li>
    <li class="nav-item <?= (current_url() == base_url('logout')) ? 'active' : '' ?>">
        <a class="nav-link" href="javascript:void(0);" onclick="confirmLogout()">
            <i class="fas fa-fw fa-sign-out-alt"></i>
            <span>Logout</span>
        </a>
    </li>




</ul>
<!-- End of Sidebar -->