<li class="nav-main-item">
    <?php if( isset($item['children']) && count($item['children']) > 0): ?>

        <a class="nav-main-link nav-main-link-submenu nav-main-submenu-right" data-toggle="submenu" aria-haspopup="true" aria-expanded="false" href="#">
            <span class="nav-main-link-name text-uppercase">
                    <i class="nav-main-link-icon <?php echo e($item['icon'] ?? 'fab fa-android'); ?>"></i> <?php echo e($item['name'] ?? $item['text'] ?? ''); ?>

            </span>
        </a>
        <ul class="nav-main-submenu">
            <?php echo $__env->renderEach('common.partials.navigation-item', $item['children'] , 'item'); ?>
        </ul>
    <?php else: ?>
        <a class="nav-main-link active" title="<?php echo e($item['title'] ?? ''); ?>" href="<?php echo e($item['href'] ?? route('web.home.index')); ?>">
            <span class="nav-main-link-name text-uppercase">
                <i class="nav-main-link-icon <?php echo e($item['icon'] ?? 'fab fa-android'); ?>"></i> <?php echo e($item['name'] ?? $item['text'] ?? ''); ?>

            </span>
        </a>
    <?php endif; ?>
</li>