<nav id="sidebar" class="sidebar js-sidebar">
    <div class="sidebar-content js-simplebar">
         <a class="sidebar-brand" style="display: flex; justify-content: center; ">
            <span style="text-align: center;">HTU</span>
        </a>

        <div style="display: flex; justify-content: center; ">
            <img src="<?php echo e(asset('public/assets/img/htu_logo.png')); ?>" style="width: 50px; height: 50px;" alt="">
        </div>
        
        <ul class="sidebar-nav">
            <li class="sidebar-header">
                Menu
            </li>

            <li class="sidebar-item active">
                <a class="sidebar-link" href="<?php echo route('dashboard'); ?> ">
                    <i class="align-middle" data-feather="credit-card"></i> <span class="align-middle">Dashboard</span>
                </a>
            </li>

            <li class="sidebar-item">
                <a class="sidebar-link" href="<?php echo route('complaints'); ?> ">
                    <i class="align-middle" data-feather="message-square"></i> <span class="align-middle">Complaints</span>
                </a>
            </li>

            <?php if(in_array('view-system-users', Session::get('current_user.privillages.keys'))): ?>
            <li class="sidebar-item">
                <a class="sidebar-link" href="<?php echo route('system-users'); ?> ">
                    <i class="align-middle" data-feather="user"></i> <span class="align-middle">System Users</span>
                </a>
            </li>
            <?php endif; ?>


            <?php if(in_array('view-designations', Session::get('current_user.privillages.keys'))): ?>
            <li class="sidebar-item">
                <a class="sidebar-link" href="<?php echo route('designations'); ?> ">
                    <i class="align-middle" data-feather="shield"></i> <span class="align-middle">Designations</span>
                </a>
            </li>
            <?php endif; ?>
           
            <?php if(in_array('view-action-logs', Session::get('current_user.privillages.keys'))): ?>
            <li class="sidebar-item">
                <a class="sidebar-link" href="<?php echo route('action-logs'); ?> ">
                    <i class="align-middle" data-feather="file-text"></i> <span class="align-middle">Action Logs</span>
                </a>
            </li>
            <?php endif; ?>
            
        </ul>
    </div>
</nav>