<div class="nav-collapse">
    <a class="sidebar-gone-show nav-collapse-toggle nav-link" href="#">
      <i class="fas fa-ellipsis-v"></i>
    </a>
    <ul class="navbar-nav">


<?php if((Auth::user()->tipeuser)=='admin'): ?>


<?php elseif((Auth::user()->tipeuser)=='guru'): ?>


<?php elseif((Auth::user()->tipeuser)=='siswa'): ?>
        
    <li class="nav-item <?php echo e($pages=='materibelajar' ? 'active' : ''); ?>"><a href="<?php echo e(route('menusiswa.dataajar')); ?>" class="nav-link">Materi</a></li>
    <li class="nav-item <?php echo e($pages=='penilaian' ? 'active' : ''); ?>"><a href="<?php echo e(route('menusiswa.lihatnilai')); ?>" class="nav-link">Penilaian</a></li>

<?php else: ?>
<?php endif; ?>


    </ul>
  </div>
<?php /**PATH C:\Xampp 8.2\htdocs\sim\resources\views/includes/topbar.blade.php ENDPATH**/ ?>