 <div class="header-nav animate-dropdown"> <div class="container"> <div class="yamm navbar navbar-default" role="navigation"> <div class="navbar-header"> <button data-target="#mc-horizontal-menu-collapse" data-toggle="collapse" class="navbar-toggle collapsed" type="button"> <span class="sr-only"> <?php echo app('translator')->getFromJson('Toggle navigation'); ?> </span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="nav-bg-class"> <div class="navbar-collapse collapse" id="mc-horizontal-menu-collapse"> <div class="nav-outer"> <ul class="nav navbar-nav"> <li class="<?php echo e(Html::isActive([url('/')])); ?> dropdown yamm-fw"> <a href="<?php echo e(url('/')); ?>" > <?php echo app('translator')->getFromJson('Home'); ?> </a> </li> <?php if(count($brands) > 0): ?> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown"> <?php echo app('translator')->getFromJson('Brands'); ?> </a> <ul class="dropdown-menu pages"> <li> <div class="yamm-content"> <div class="row"> <div class="col-xs-12 col-menu"> <ul class="links"> <?php $__currentLoopData = $brands; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a href="<?php echo e(route('front.brand.show', [$brand->slug])); ?>"><?php echo e($brand->name); ?></a></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> </div> </div> </li> </ul> </li> <?php endif; ?> <?php if(count($root_categories) > 0): ?> <?php $__currentLoopData = $root_categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($category->is_active): ?> <li class="dropdown yamm mega-menu"> <?php if($category->categories()->where('show_in_menu', true)->count()): ?> <a href="<?php echo e(route('front.category.show', [$category->slug])); ?>" data-hover="dropdown" class="dropdown-toggle" data-toggle="dropdown"><?php echo e($category->name); ?></a> <?php echo $__env->make('partials.front.sub-categories-navbar', [ 'child_categories' => $category->categories()->where('show_in_menu', true)->orderBy('priority', 'asc')->get(), 'category' => $category ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php else: ?> <a href="<?php echo e(route('front.category.show', [$category->slug])); ?>"><?php echo e($category->name); ?></a> <?php endif; ?> </li> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(count($deals) > 0): ?> <?php $i = 0; ?> <?php $__currentLoopData = $deals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $deal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="dropdown hidden-sm"> <a href="<?php echo e(route('front.deal.show', [$deal->slug])); ?>"><?php echo e($deal->name); ?> <?php if($i === 0): ?> <span class="menu-label new-menu hidden-xs">new</span> <?php endif; ?> </a> </li> <?php $i++ ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(count($pages) > 0): ?> <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="dropdown hidden-sm"> <a href="<?php echo e(route('front.page.show', [$page->slug])); ?>"><?php echo e($page->title); ?> </a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </ul> <div class="clearfix"></div> </div> </div> </div> </div> </div> </div>