<header class="header">
    <?php echo $__env->make($activeTemplate.'partials.top_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="header__bottom">
      <div class="container">
        <nav class="navbar navbar-expand-xl p-0 align-items-center">
          <a class="site-logo site-title" href="<?php echo e(route('home')); ?>"><img src="<?php echo e(getImage(getFilePath('logoIcon').'/logo.png')); ?>" alt="site-logo"></a>
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="<?php echo app('translator')->get('Toggle navigation'); ?>">
            <div class="navbar-toggler__icon">
                <i class="las la-bars"></i>
            </div>
          </button>
          <div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
            <ul class="navbar-nav main-menu ml-auto">
                <li>
                    <a class="<?php echo e(menuActive('home')); ?>" href="<?php echo e(route('home')); ?>"><?php echo app('translator')->get('Home'); ?></a>
                </li>
                <li>
                    <a class="<?php echo e(menuActive('plans')); ?>" href="<?php echo e(route('plans')); ?>"><?php echo app('translator')->get('Plans'); ?></a>
                </li>
                <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <a class="<?php echo e(menuActive('pages', [$data->slug])); ?>" href="<?php echo e(route('pages', [$data->slug])); ?>"><?php echo e(__($data->name)); ?></a>
                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                <li class="nav-item">
                    <a class="<?php echo e(menuActive(['blogs','blog.details'])); ?>" href="<?php echo e(route('blogs')); ?>"><?php echo app('translator')->get('Blogs'); ?></a>
                </li>
                <li class="nav-item">
                    <a class="<?php echo e(menuActive('contact')); ?>" href="<?php echo e(route('contact')); ?>"><?php echo app('translator')->get('Contact'); ?></a>
                </li>
            </ul>
            <?php if(auth()->guard()->check()): ?>
                <div class="nav-right">
                    <a href="<?php echo e(route('user.home')); ?>" class="btn btn-md btn--base"><?php echo app('translator')->get('Dashboard'); ?></a>
                </div>
            <?php else: ?>
                <div class="nav-right d-block d-md-none d-flex justify-content-between">
                    <a href="<?php echo e(route('user.login')); ?>" class="btn btn-md btn--base"><?php echo app('translator')->get('Login'); ?></a>
                    <?php if($general->multi_language): ?>
                    <select class="language-select mr-3 langSel ">
                      <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <option value="<?php echo e($item->code); ?>" <?php if(session('lang')==$item->code): ?> selected <?php endif; ?>><?php echo e(__($item->name)); ?></option>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                    <?php endif; ?>
                </div>
            <?php endif; ?>
          </div>
        </nav>
      </div>
    </div><!-- header__bottom end -->
    
   
</header>
<?php /**PATH /home/tradveia/public_html/core/resources/views/templates/basic/partials/header.blade.php ENDPATH**/ ?>