<header class="header-1">

    <div class="container">
        <div class="row align-items-center justify-content-between">
            <div class="col-lg-2 col-sm-5 col-md-4 col-6">
                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                        <div class="easier-mode">
                            <div class="easier-section-area">
                                <?php endif; ?>
                                <?php endif; ?>
                                <div class="logo">
                                    <?php if(!empty($header_image_style1->section_image)): ?>
                                        <a href="<?php echo e(url('/')); ?>">
                                            <img src="<?php echo e(asset('uploads/img/general/'.$header_image_style1->section_image)); ?>"  alt="logo icon">
                                        </a>
                                    <?php else: ?>
                                        <a href="#">
                                            <img src="<?php echo e(asset('uploads/img/dummy/your-logo.jpg')); ?>"  alt="logo icon">
                                        </a>
                                    <?php endif; ?>
                                </div>
                                <?php if(Auth::user()): ?>
                            </div>
                            <div class="easier-middle">
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                                    <?php
                                        $url = request()->path();
                                        $modified_url = str_replace('/', '-bracket-', $url);
                                    ?>
                                    <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                        <?php echo csrf_field(); ?>
                                        <input type="hidden" name="route" value="header-image.create">
                                        <input type="hidden" name="style" value="style1">
                                        <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                        <button type="submit" class="custom-btn text-white"><i class="fa fa-edit text-white"></i> <?php echo e(__('content.logo')); ?></button>
                                    </form>
                                <?php endif; ?>
                            </div>
                        </div>
                    <?php endif; ?>
            </div>
            <div class="col-lg-10 text-end p-lg-0 d-none d-lg-flex justify-content-between align-items-center">
                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('menu check')): ?>
                        <div class="easier-mode">
                            <div class="easier-section-area">
                                <?php endif; ?>
                                <?php endif; ?>
                                <div class="menu-wrap">
                                    <div class="main-menu">
                                        <ul>
                                            <?php if(is_countable($menus) && count($menus) > 0): ?>
                                                <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <li><a href="<?php if(!empty($menu->uri)): ?> <?php if((session()->has('language_name_from_dropdown') && $language->language_code == session()->get('language_code_from_dropdown')) || !session()->has('language_name_from_dropdown') ): ?> <?php echo e(url($menu->uri)); ?> <?php elseif(session()->has('language_name_from_dropdown')): ?> <?php echo e(url($menu->uri)); ?> <?php endif; ?>  <?php elseif(!empty($menu->url)): ?> <?php echo e($menu->url); ?> <?php else: ?> # <?php endif; ?>"><?php echo e($menu->menu_name); ?></a>
                                                        <?php if($menu->submenus->count() > 0): ?>
                                                            <ul class="sub-menu">
                                                                <?php $__currentLoopData = $menu->submenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                    <li><a href="<?php if(!empty($submenu->uri)): ?> <?php if((session()->has('language_name_from_dropdown') && $language->language_code == session()->get('language_code_from_dropdown')) || !session()->has('language_name_from_dropdown') ): ?> <?php echo e(url($submenu->uri)); ?> <?php elseif(session()->has('language_name_from_dropdown')): ?> <?php echo e(url($submenu->uri)); ?> <?php endif; ?>  <?php elseif(!empty($submenu->url)): ?> <?php echo e($submenu->url); ?> <?php else: ?> # <?php endif; ?>"><?php echo e($submenu->submenu_name); ?></a></li>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                <?php unset($submenu); ?>
                                                            </ul>
                                                        <?php endif; ?>
                                                    </li>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                <?php unset($menu); ?>



                                            <?php else: ?>
                                                <li><a href="#">demos</a>
                                                    <ul class="sub-menu">
                                                        <li><a href="#">Home 1</a></li>
                                                        <li><a href="#">Home 2</a></li>
                                                        <li><a href="#">Home 3</a></li>
                                                    </ul>
                                                </li>
                                                <li><a href="#">About</a> </li>
                                                <li><a href="#">Services</a></li>
                                                <li><a href="#">Pages</a>
                                                    <ul class="sub-menu">
                                                        <li><a href="#">faq</a></li>
                                                        <li><a href="#">team</a></li>
                                                        <li><a href="#">portfolio</a></li>
                                                        <li><a href="#">pricing</a></li>
                                                        <li><a href="#">404</a></li>
                                                    </ul>
                                                </li>
                                                <li><a href="#">News</a></li>
                                                <li><a href="#">Contact</a></li>
                                            <?php endif; ?>

                                            <?php if(is_countable($display_dropdowns) && count($display_dropdowns) > 0): ?>
                                                <?php
                                                    $url = request()->path();
                                                    $modified_url = str_replace('/', '-bracket-', $url);
                                                ?>
                                                <li><a href="#"><?php if(session()->has('language_name_from_dropdown')): ?> <?php echo e(session()->get('language_name_from_dropdown')); ?> <?php else: ?> <?php echo e($language->language_name); ?> <?php endif; ?></a>
                                                    <ul class="sub-menu">
                                                        <?php $__currentLoopData = $display_dropdowns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $display_dropdown): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                            <li><a href="<?php echo e(url('language/set-locale/'.$display_dropdown->id.'/'.$modified_url)); ?>"><?php echo e($display_dropdown->language_name); ?></a></li>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                        <?php unset($display_dropdown); ?>
                                                    </ul>
                                                </li>
                                            <?php endif; ?>

                                        </ul>
                                    </div>
                                </div>
                                <?php if(Auth::user()): ?>
                            </div>
                            <div class="easier-middle">
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('menu check')): ?>
                                    <?php
                                        $url = request()->path();
                                        $modified_url = str_replace('/', '-bracket-', $url);
                                    ?>
                                    <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                        <?php echo csrf_field(); ?>
                                        <input type="hidden" name="route" value="menu.create">
                                        <input type="hidden" name="style" value="">
                                        <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                        <button type="submit" class="custom-btn text-white">
                                            <i class="fa fa-plus text-white"></i> <?php echo e(__('content.menu')); ?>

                                        </button>
                                    </form>
                                <?php endif; ?>
                            </div>
                        </div>
                    <?php endif; ?>
                    <?php if(Auth::user()): ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                            <div class="easier-mode">
                                <div class="easier-section-area">
                                    <?php endif; ?>
                                    <?php endif; ?>
                                    <div class="header-right-element text-white">
                                        <?php if(isset($external_url)): ?>
                                            <?php if(!empty($external_url->button_name)): ?>
                                                <a href="<?php echo e($external_url->button_url); ?>" class="theme-btn black"><?php echo e($external_url->button_name); ?></a>
                                            <?php endif; ?>
                                        <?php else: ?>
                                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                            <a href="#" class="theme-btn black">get started</a>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                    </div>
                                    <?php if(Auth::user()): ?>
                                </div>
                                <div class="easier-middle">
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                                        <?php
                                            $url = request()->path();
                                            $modified_url = str_replace('/', '-bracket-', $url);
                                        ?>
                                        <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                            <?php echo csrf_field(); ?>
                                            <input type="hidden" name="route" value="external-url.create">
                                            <input type="hidden" name="style" value="">
                                            <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                            <button type="submit" class="custom-btn text-white">
                                                <i class="fa fa-plus text-white"></i> <?php echo e(__('content.external_url')); ?>

                                            </button>
                                        </form>
                                    <?php endif; ?>
                                </div>
                            </div>
                        <?php endif; ?>
            </div>
            <div class="d-block d-lg-none col-sm-1 col-md-8 col-6">
                <div class="mobile-nav-wrap">
                    <div id="hamburger"><i class="fal fa-bars"></i></div>
                    <!-- mobile menu - responsive menu  -->
                    <div class="mobile-nav">
                        <button type="button" class="close-nav">
                            <i class="fal fa-times-circle"></i>
                        </button>
                        <nav class="sidebar-nav">
                            <?php if(Auth::user()): ?>
                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('menu check')): ?>
                                    <div class="easier-mode">
                                        <div class="easier-section-area">
                                            <?php endif; ?>
                                            <?php endif; ?>
                                            <ul class="metismenu" id="mobile-menu">
                                                <?php if(is_countable($menus) && count($menus) > 0): ?>
                                                    <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li><a <?php if($menu->submenus->count() > 0): ?> class="has-arrow"  <?php endif; ?> href="<?php if(!empty($menu->uri)): ?> <?php if((session()->has('language_name_from_dropdown') && $language->language_code == session()->get('language_code_from_dropdown')) || !session()->has('language_name_from_dropdown') ): ?> <?php echo e(url($menu->uri)); ?> <?php elseif(session()->has('language_name_from_dropdown')): ?> <?php echo e(url($menu->uri)); ?> <?php endif; ?>  <?php elseif(!empty($menu->url)): ?> <?php echo e($menu->url); ?> <?php else: ?> # <?php endif; ?>"><?php echo e($menu->menu_name); ?></a>
                                                            <?php if($menu->submenus->count() > 0): ?>
                                                                <ul class="sub-menu">
                                                                    <?php $__currentLoopData = $menu->submenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                        <li><a href="<?php if(!empty($submenu->uri)): ?> <?php if((session()->has('language_name_from_dropdown') && $language->language_code == session()->get('language_code_from_dropdown')) || !session()->has('language_name_from_dropdown') ): ?> <?php echo e(url($submenu->uri)); ?> <?php elseif(session()->has('language_name_from_dropdown')): ?> <?php echo e(url($submenu->uri)); ?> <?php endif; ?>  <?php elseif(!empty($submenu->url)): ?> <?php echo e($submenu->url); ?> <?php else: ?> # <?php endif; ?>"><?php echo e($submenu->submenu_name); ?></a></li>
                                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                    <?php unset($submenu); ?>
                                                                </ul>
                                                            <?php endif; ?>
                                                        </li>
                                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    <?php unset($menu); ?>
                                                    <?php if(is_countable($display_dropdowns) && count($display_dropdowns) > 0): ?>
                                                        <?php
                                                            $url = request()->path();
                                                            $modified_url = str_replace('/', '-bracket-', $url);
                                                        ?>
                                                        <li><a class="has-arrow" href="#"><?php if(session()->has('language_name_from_dropdown')): ?> <?php echo e(session()->get('language_name_from_dropdown')); ?> <?php else: ?> <?php echo e($language->language_name); ?> <?php endif; ?></a>
                                                            <ul class="sub-menu">
                                                                <?php $__currentLoopData = $display_dropdowns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $display_dropdown): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                    <li><a href="<?php echo e(url('language/set-locale/'.$display_dropdown->id.'/'.$modified_url)); ?>"><?php echo e($display_dropdown->language_name); ?></a></li>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                                <?php unset($display_dropdown); ?>
                                                            </ul>
                                                        </li>
                                                    <?php endif; ?>

                                                <?php else: ?>
                                                    <li><a class="has-arrow" href="#">Homes</a>
                                                        <ul class="sub-menu">
                                                            <li><a href="#">Homepage 1</a></li>
                                                            <li><a href="#">Homepage 2</a></li>
                                                            <li><a href="#">Homepage 3</a></li>
                                                        </ul>
                                                    </li>
                                                    <li><a href="#">about</a></li>
                                                    <li><a href="#">services</a></li>
                                                    <li>
                                                        <a class="has-arrow" href="#">Pages</a>
                                                        <ul class="sub-menu">
                                                            <li><a href="#">faq</a></li>
                                                            <li><a href="#">team</a></li>
                                                            <li><a href="#">portfolio</a></li>
                                                            <li><a href="#">pricing</a></li>
                                                            <li><a href="#">404</a></li>
                                                        </ul>
                                                    </li>
                                                    <li><a href="#">News</a></li>
                                                    <li><a href="#">Contact</a></li>
                                                <?php endif; ?>
                                            </ul>
                                            <?php if(Auth::user()): ?>
                                        </div>
                                        <div class="easier-middle">
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('menu check')): ?>
                                                <?php
                                                    $url = request()->path();
                                                    $modified_url = str_replace('/', '-bracket-', $url);
                                                ?>
                                                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                    <?php echo csrf_field(); ?>
                                                    <input type="hidden" name="route" value="menu.create">
                                                    <input type="hidden" name="style" value="">
                                                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                    <button type="submit" class="custom-btn text-white">
                                                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.menu')); ?>

                                                    </button>
                                                </form>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(Auth::user()): ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                                        <div class="easier-mode">
                                            <div class="easier-section-area">
                                                <?php endif; ?>
                                                <?php endif; ?>
                                                <?php if(isset($external_url)): ?>
                                                    <?php if(!empty($external_url->button_name)): ?>
                                                        <a href="<?php echo e($external_url->button_url); ?>" class="theme-btn d-block mt-4 text-center ms-0"><?php echo e($external_url->button_name); ?></a>
                                                    <?php endif; ?>
                                                <?php else: ?>
                                                    <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                                    <a href="#" class="theme-btn d-block mt-4 text-center ms-0">get started</a>
                                                    <?php endif; ?>
                                                <?php endif; ?>
                                                <?php if(Auth::user()): ?>
                                            </div>
                                            <div class="easier-middle">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('setting check')): ?>
                                                    <?php
                                                        $url = request()->path();
                                                        $modified_url = str_replace('/', '-bracket-', $url);
                                                    ?>
                                                    <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                        <?php echo csrf_field(); ?>
                                                        <input type="hidden" name="route" value="external-url.create">
                                                        <input type="hidden" name="style" value="">
                                                        <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                        <button type="submit" class="custom-btn text-white">
                                                            <i class="fa fa-plus text-white"></i> <?php echo e(__('content.external_url')); ?>

                                                        </button>
                                                    </form>
                                    <?php endif; ?>
                        </nav>
                    </div>
                    <?php endif; ?>
                </div>
                <div class="overlay"></div>
            </div>
        </div>
    </div>
</header>
<?php /**PATH /home/beevgisw/grievances/resources/views/frontend/sections/header/header-style1.blade.php ENDPATH**/ ?>