<div class="sidebar">
    <nav class="sidebar-nav">
        <ul class="nav">
        <?php if(auth()->user()->is_super_admin_account): ?>
            <li class="nav-item">
                <a class="nav-link" href="/sadmin_dashboard">
                    <i class="nav-icon fas fa-tachometer-alt"></i> Dashboard
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/schools">
                    <i class="nav-icon fas fa-landmark"></i> Colegios
                </a>
            </li>

            
            <li class="nav-item">
                <a class="nav-link" href="/plans">
                    <i class="nav-icon far fa-handshake"></i> Planes
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/custom-plans">
                    <i class="nav-icon fas fa-drafting-compass"></i> + Planes
                </a>
            </li>
            
            <li class="nav-item">
                <a class="nav-link" href="/settings">
                    <i class="nav-icon fas fa-tools"></i> Ajustes
                </a>
            </li>

            

            <li class="nav-item">
                <a class="nav-link" href="/privacy-policy">
                    <i class="nav-icon fas fa-lock"></i> Privacidad
                </a>
            </li>

            <li class="nav-item">
                <a class="nav-link" href="/terms">
                    <i class="nav-icon fas fa-allergies"></i> Terminos
                </a>
            </li>
            
        <?php else: ?> 
        <div style="background: white;">
          <img src="<?php echo e(Auth::user()->logo_url); ?>" width="200" alt="Logo">
          </div>
            <li class="nav-item">
                <a class="nav-link" href="/drivers/map">
                    <i class="nav-icon fas fa-tachometer-alt"></i> Dashboard
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/school">
                    <i class="nav-icon fas fa-landmark"></i> Colegio
                </a>
            </li>

            <li class="nav-item">
                <a class="nav-link" href="/drivers">
                    <i class="nav-icon fas fa-user-tie"></i> Conductores
                </a>
            </li>

            <li class="nav-item">
                <a class="nav-link" href="/parents">
                    <i class="nav-icon fas fa-users"></i> Padres
                </a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="/buses">
                    <i class="nav-icon fas fa-bus-alt"></i> Buses
                </a>
            </li>
        <?php endif; ?>               
        </ul>

    </nav>
</div>
<?php /**PATH /home/dev/Documents/Projects/sburkbackend/resources/views/layouts/sidebar.blade.php ENDPATH**/ ?>