<?php $sidebar = Config::get('constants.modulos'); ?>
<?php $user = Auth::guard('superadmin')->user(); ?>
<div class="page-sidebar" id="sidebar">
    <div class="sidebar-header-wrapper">
        <input type="text" class="searchinput" readonly/>
    </div>
    <ul class="nav sidebar-menu">
        <li>
            <a href="<?php echo e(route("superadmin.index")); ?>">
                <i class="menu-icon fa fa-home"></i>
                <span class="menu-text">Inicio</span>
            </a>
        </li>
        <?php foreach($sidebar as $key => $value): ?>
            <li>
                <a href="<?php echo e(route("superadmin.".$value['route'].".index")); ?>">
                    <i class="menu-icon zmdi zmdi-<?php echo e($value['icon']); ?>"></i>
                    <span class="menu-text"><?php echo e($value['text']); ?></span>
                </a>
            </li>
        <?php endforeach; ?>
        <?php /*<li class="<?php echo e(($user->soporte==1) ? '' : 'd-none'); ?>">*/ ?>
            <?php /*<a href="<?php echo e(route("superadmin.tickets.index")); ?>">*/ ?>
                <?php /*<i class="menu-icon zmdi zmdi-settings"></i>*/ ?>
                <?php /*<span class="menu-text">Tickets</span>*/ ?>
            <?php /*</a>*/ ?>
        <?php /*</li>*/ ?>
    </ul>
</div>