<?php
$menu_data = App\Models\Menu::get();
$menu_item = array();
?>
<?php $__currentLoopData = $menu_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php
    $menu_item[$row->name] = $row->status;
    ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<!-- header-area -->
<header>
    <div class="transparent-header">
        <div id="sticky-header" class="tg-header__area tg-header__area-four">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="tgmenu__wrap">
                            <nav class="tgmenu__nav">
                                <div class="logo">
                                    <a href="<?php echo e(url('/')); ?>"><img src="<?php echo e(asset('uploads/'.$global_setting->logo_white)); ?>" alt="Logo"></a>
                                </div>
                                <div class="tgmenu__navbar-wrap tgmenu__main-menu d-none d-lg-flex">
                                    <ul class="navigation">
                                        <?php if($menu_item['Home'] == 'Show'): ?>
                                        <li><a href="<?php echo e(url('/')); ?>"><?php echo e(__('Home')); ?></a></li>
                                        <?php endif; ?>

                                        <?php if($menu_item['About'] == 'Show'): ?>
                                        <li class="<?php echo e(Route::is('about') ? 'active' : ''); ?>"><a href="<?php echo e(route('about')); ?>"><?php echo e(__('About Us')); ?></a></li>
                                        <?php endif; ?>

                                        <?php if($menu_item['Services'] == 'Show'): ?>
                                        <li class="<?php echo e(Route::is('services') ? 'active' : ''); ?>"><a href="<?php echo e(route('services')); ?>"><?php echo e(__('Services')); ?></a></li>
                                        <?php endif; ?>

                                        <?php if($menu_item['FAQ'] == 'Show' || $menu_item['Projects'] == 'Show' || $menu_item['Lawyers'] == 'Show' || $menu_item['Pricing'] == 'Show' || $menu_item['Photo Gallery'] == 'Show' || $menu_item['Video Gallery'] == 'Show'): ?>
                                        <li class="menu-item-has-children"><a href="javascript:void(0);"><?php echo e(__('Pages')); ?></a>
                                            <ul class="sub-menu">

                                                <?php if($menu_item['FAQ'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('faq')); ?>"><?php echo e(__('FAQ')); ?></a></li>
                                                <?php endif; ?>

                                                <?php if($menu_item['Projects'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('projects')); ?>"><?php echo e(__('Projects')); ?></a></li>
                                                <?php endif; ?>

                                                <?php if($menu_item['Lawyers'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('lawyers')); ?>"><?php echo e(__('Lawyers')); ?></a></li>
                                                <?php endif; ?>

                                                <?php if($menu_item['Pricing'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('pricing')); ?>"><?php echo e(__('Pricing')); ?></a></li>
                                                <?php endif; ?>

                                                <?php if($menu_item['Photo Gallery'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('photo_gallery')); ?>"><?php echo e(__('Photo Gallery')); ?></a></li>
                                                <?php endif; ?>

                                                <?php if($menu_item['Video Gallery'] == 'Show'): ?>
                                                <li><a href="<?php echo e(route('video_gallery')); ?>"><?php echo e(__('Video Gallery')); ?></a></li>
                                                <?php endif; ?>
                                            </ul>
                                        </li>
                                        <?php endif; ?>

                                        <?php if($menu_item['Blog'] == 'Show'): ?>
                                        <li class="<?php echo e(Route::is('blog') ? 'active' : ''); ?>"><a href="<?php echo e(route('blog')); ?>"><?php echo e(__('Blog')); ?></a></li>
                                        <?php endif; ?>

                                        <?php if($menu_item['Contact'] == 'Show'): ?>
                                        <li class="<?php echo e(Route::is('contact') ? 'active' : ''); ?>"><a href="<?php echo e(route('contact')); ?>"><?php echo e(__('Contact')); ?></a></li>
                                        <?php endif; ?>
                                    </ul>
                                </div>

                                <?php if($menu_item['Booking'] == 'Show'): ?>
                                <div class="tgmenu__action d-none d-md-block">
                                    <ul class="list-wrap">
                                        <li>
                                            <a href="<?php echo e(route('appointment')); ?>" class="btn btn-three">
                                                <span class="btn-text" data-text="<?php echo e(__('Make An Appointment')); ?>"></span>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                                <?php endif; ?>

                                <div class="mobile-nav-toggler d-lg-none d-inline-flex">
                                    <a href="javascript:void(0)" class="sidebar-btn">
                                        <span class="line"></span>
                                        <span class="line"></span>
                                        <span class="line"></span>
                                    </a>
                                </div>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Mobile Menu  -->
    <div class="tgmobile__menu">
        <nav class="tgmobile__menu-box">
            <div class="close-btn"><i class="fas fa-times"></i></div>
            <div class="nav-logo">
                <a href="<?php echo e(url('/')); ?>"><img src="<?php echo e(asset('uploads/'.$global_setting->logo)); ?>" alt="Logo"></a>
            </div>
            <div class="tgmobile__menu-outer">
                <!--Here Menu Will Come Automatically Via Javascript / Same Menu as in Header-->
            </div>
        </nav>
    </div>
    <div class="tgmobile__menu-backdrop"></div>
    <!-- End Mobile Menu -->
</header>
<!-- header-area-end -->
<?php /**PATH /Applications/MAMP/htdocs/arefindigital/lawyer_sohel/main_files/resources/views/front/layouts/nav_home.blade.php ENDPATH**/ ?>