<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="?page=home">
        <div class="sidebar-brand-icon"><i class="fas fa-church"></i></div>
        <div class="sidebar-brand-text mx-3">SIMJEDPW</div>
    </a>

    <hr class="sidebar-divider my-0">

    <!-- Dashboard -->
    <li class="nav-item">
        <a class="nav-link" href="?page=home">
            <i class="fas fa-fw fa-tachometer-alt"></i>
            <span>Dashboard</span></a>
    </li>

    <hr class="sidebar-divider">

    <!-- MENU ADMIN DPW -->
   <?php if($_SESSION['role'] == 'admin_dpw'): ?>
    <hr class="sidebar-divider">
    <div class="sidebar-heading">MANAJEMEN DPW</div>
    
    <li class="nav-item"><a class="nav-link" href="?page=gereja"><i class="fas fa-fw fa-church"></i><span>Data Gereja</span></a></li>
    <li class="nav-item"><a class="nav-link" href="?page=gembala"><i class="fas fa-fw fa-user-tie"></i><span>Data Gembala</span></a></li>
    <li class="nav-item"><a class="nav-link" href="?page=pengurus_dpw"><i class="fas fa-fw fa-sitemap"></i><span>Pengurus DPW</span></a></li>
    <li class="nav-item"><a class="nav-link" href="?page=visi_misi"><i class="fas fa-fw fa-bullseye"></i><span>Visi Misi DPW</span></a></li>
    <li class="nav-item"><a class="nav-link" href="?page=inventaris_dpw"><i class="fas fa-fw fa-box"></i><span>Inventaris DPW</span></a></li>
    
    <hr class="sidebar-divider">
    <div class="sidebar-heading">LAPORAN</div>
    <li class="nav-item"><a class="nav-link" href="?page=laporan_dpw"><i class="fas fa-fw fa-file-alt"></i><span>Laporan DPW</span></a></li>
<?php endif; ?>

</ul>