<aside class="main-sidebar sidebar-dark-primary elevation-4">

    <a href="<?= base_url('dashboard') ?>" class="brand-link">

        <img src="<?= base_url('assets/img/logo.jpg') ?>"

            class="brand-image img-circle elevation-3"

            style="opacity:.8">

        <span class="brand-text font-weight-light">

            PERPUSTAKAAN 

        </span>

    </a>

    <div class="sidebar">

        <nav class="mt-2">

            <ul class="nav nav-pills nav-sidebar flex-column"

                data-widget="treeview"

                role="menu">

                <li class="nav-item">

                    <a href="<?= base_url('dashboard') ?>" class="nav-link">

                        <i class="nav-icon fas fa-home"></i>

                        <p>Dashboard</p>

                    </a>

</li>

                <li class="nav-item">

                    <a href="<?= base_url('buku') ?>" class="nav-link">

                        <i class="nav-icon fas fa-book"></i>

                        <p>Data Buku</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('ruang_baca') ?>" class="nav-link">

                        <i class="nav-icon fas fa-book-reader"></i>

                        <p>Ruang Baca</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('anggota') ?>" class="nav-link">

                        <i class="nav-icon fas fa-users"></i>

                        <p>Data Anggota</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('peminjaman') ?>" class="nav-link">

                        <i class="nav-icon fas fa-book-reader"></i>

                        <p>Peminjaman</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('pengembalian') ?>" class="nav-link">

                        <i class="nav-icon fas fa-undo"></i>

                        <p>Pengembalian</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('pengunjung') ?>" class="nav-link">

                        <i class="nav-icon fas fa-user-check"></i>

                        <p>Pengunjung</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('laporan') ?>" class="nav-link">

                        <i class="nav-icon fas fa-print"></i>

                        <p>Laporan</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('pengaturan') ?>" class="nav-link">

                        <i class="nav-icon fas fa-cog"></i>

                        <p>Pengaturan</p>

                    </a>

                </li>

                <li class="nav-item">

                    <a href="<?= base_url('logout') ?>" class="nav-link">

                        <i class="nav-icon fas fa-sign-out-alt"></i>

                        <p>Logout</p>

                    </a>

                </li>

            </ul>

        </nav>

    </div>

</aside>