<style>
.navbar-brand {
    text-align: justify;
}
</style>
<nav class="sidenav navbar navbar-vertical  fixed-left  navbar-expand-xs navbar-light bg-white" id="sidenav-main">
    <div class="scrollbar-inner">
        <!-- Brand -->
        <div class="sidenav-header d-flex align-items-center">
            <a class="navbar-brand" href="<?=base_url('dashboard')?>">
                SPK-PJMB-SAW
                <!-- <br>
                Metode SAW -->
            </a>
            <div class="ml-auto">
                <!-- Sidenav toggler -->
                <div class="sidenav-toggler d-none d-xl-block" data-action="sidenav-unpin" data-target="#sidenav-main">
                    <div class="sidenav-toggler-inner">
                        <i class="sidenav-toggler-line"></i>
                        <i class="sidenav-toggler-line"></i>
                        <i class="sidenav-toggler-line"></i>
                    </div>
                </div>
            </div>
        </div>
        <div class="navbar-inner">
            <!-- Collapse -->
            <div class="collapse navbar-collapse" id="sidenav-collapse-main">
                <!-- Nav items -->
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 0){ echo 'active'; } ?>" href="<?=base_url('dashboard')?>">
                            <i class="ni ni-books text-black"></i>
                            <span class="nav-link-text">Beranda</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 1){ echo 'active'; } ?>" href="<?=base_url('balita')?>">
                            <i class="ni ni-circle-08 text-black"></i>
                            <span class="nav-link-text">Data Balita</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 2){ echo 'active'; } ?>" href="<?=base_url('alternatif')?>">
                            <i class="ni ni-collection text-black"></i>
                            <span class="nav-link-text">Data Alternatif</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 3){ echo 'active'; } ?>" href="<?=base_url('kriteria')?>">
                            <i class="ni ni-bullet-list-67 text-black"></i>
                            <span class="nav-link-text">Data Kriteria</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 4){ echo 'active'; } ?>"
                            href="<?=base_url('bobotpreferensi')?>">
                            <i class="ni ni-sound-wave text-black"></i>
                            <span class="nav-link-text">Bobot Preferensi</span>
                        </a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link <?php if($menu== 5){ echo 'active'; } ?>" href="<?=base_url('hasil')?>">
                            <i class="ni ni-chart-bar-32 text-black"></i>
                            <span class="nav-link-text">Hasil Perhitungan</span>
                        </a>
                    </li>
                </ul>

                <hr class="my-3">
                <!-- Heading -->
                <h6 class="navbar-heading p-0 text-muted">
                    <span class="docs-normal"></span>
                </h6>
                <!-- Navigation -->
                <ul class="navbar-nav mb-md-3">

                    <li class="nav-item">
                        <a class="nav-link active active-pro" href="<?=base_url('logout')?>">
                            <i class="ni ni-button-power text-dark"></i>
                            <span class="nav-link-text">Logout</span>
                        </a>
                    </li>
                </ul>

            </div>
        </div>
    </div>
</nav>