<aside class="main-sidebar sidebar-dark bg-success elevation-4">
    <!-- Brand Logo -->
    <a href="index3.html" class="brand-link">
        <img src="dist/img/lti/AdminLTELogo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3" style="opacity: .8">
        <span class="brand-text font-weight-light">Admin SMKN2</span>
    </a>

    <!-- Sidebar -->
    <div class="sidebar sidebar-light-success">
        <!-- Sidebar user panel (optional) -->
        <div class="user-panel mt-3 pb-3 mb-3 d-flex">
            <div class="image">
                <img src="dist/img/imgadmin/<?= $_SESSION['admin']['admin_foto'] ?>" class="img-circle elevation-2" alt="User Image">
            </div>
            <div class="info">
                <p style="color: black;" href="#" class="d-block"><?= $_SESSION['admin']['admin_nama'] ?></p>
            </div>
        </div>

        <!-- Sidebar Menu -->
        <nav class="mt-2" style="color :green">
            <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
                <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
                <li class="nav-item has-treeview menu-open mt-1">
                    <a href="?=page=home" class="nav-link active">
                        <i class="nav-icon fas fa-home"></i>
                        <p>
                            Home

                        </p>
                    </a>
                </li>

                <li class="nav-item has-treeview ">
                    <a href="#" class="nav-link active">
                        <i class="nav-icon fas fa-tachometer-alt"></i>
                        <p>
                            Data Master
                            <i class="right fas fa-angle-left"></i>
                        </p>
                    </a>

                    <ul class="nav nav-treeview">
                        <li class="nav-item">
                            <a href="?page=pages/admin/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Admin</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/guru/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Guru</p>
                            </a>
                        </li>
                        <!-- <li class="nav-item">
                            <a href="?page=pages/artikel/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Artikel</p>
                            </a>
                        </li> -->

                        <li class="nav-item">
                            <a href="?page=pages/jurusan/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Jurusan</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/berita/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Berita</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/kategori/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Kategori Berita</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/pengumuman/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Pengumuman</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/profil/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Profil</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/kategori_profil/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Kategori Profil</p>
                            </a>
                        </li>

                        <li class="nav-item">
                            <a href="?page=pages/galeri/view" class="nav-link a">
                                <i class="far fa-circle nav-icon"></i>
                                <p>Galeri</p>
                            </a>
                        </li>

                    </ul>
                </li>

                <script>
                    $(document).ready(function() {
                        $(".a").mouseover(function() {
                            $(".a").css("color", "green")

                        })

                        $(".a").mouseout(function() {
                            $('.a').css("color", "black")

                        })


                    })
                </script>

                </li>
            </ul>
        </nav>
        <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
</aside>