<nav class="navbar navbar-expand-md navbar-light">
    <a class="navbar-brand" href="<?php echo e(url('/')); ?>"><img src="<?php echo e(asset('site-assets/images/website/')); ?>/<?php echo e(setting('website_logo')); ?>" onerror="this.src='<?php echo e(asset('site-assets/images/logo.png')); ?>'" style="width: 100px;" /></a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainnav" aria-controls="mainnav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="mainnav">
        <ul class="navbar-nav ml-auto" style="justify-content: center; width: 100%;">
            <!-- <li><a href="<?php echo e(url('/')); ?>" class="<?php echo e(Request::is('/') ? 'active' : ''); ?>"><?php echo e(__('lang.navigation_home')); ?></a></li>
            <li><a href="<?php echo e(url('about')); ?>" class="<?php echo e(Request::is('about') ? 'active' : ''); ?>"><?php echo e(__('lang.navigation_about')); ?></a></li>
            <li><a href="<?php echo e(url('contact-us')); ?>" class="<?php echo e(Request::is('contact-us') ? 'active' : ''); ?>"><?php echo e(__('lang.navigation_contactus')); ?></a></li> -->
            <li>
                <div class="dropdown mobileshow">
                    <a href="<?php echo e(url('set-language?lang_code=ar')); ?>" class="language dropdown-toggle" data-toggle="dropdown"> <img src="<?php echo e(asset('site-assets/images/langarrow.png')); ?>" /> <?php echo e(Config::get('languages')[App::getLocale()]); ?> </a>
                    <!-- <div class="dropdown-menu">
                        <?php $__currentLoopData = Config::get('languages'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($lang != App::getLocale()): ?>
                                    <a class="dropdown-item" href="<?php echo e(url('set-language?lang_code=').$lang); ?>"> <?php echo e($language); ?></a>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div> -->
                </div>
            </li>
        </ul>
    </div>
    <div class="header-right">
        <?php if(auth()->guard()->check()): ?>
            <!-- <a href="<?php echo e(url('cart')); ?>" class="btn1"><img src="<?php echo e(asset('site-assets/images/cart.svg')); ?>" style="width:21px!important;"/></a> <?php if(Session()->has('total_cart')): ?> <?php if(Session()->get('total_cart')>0): ?><span class="badge"><?php echo e(Session()->get('total_cart')); ?></span> <?php endif; ?> <?php endif; ?> -->
            <a href="<?php echo e(url('profile')); ?>" class="btn1"><img src="<?php echo e(asset('site-assets/images/User.svg')); ?>"/></a>
        <?php endif; ?> 
        <?php if(auth()->guard()->guest()): ?>
            <a href="<?php echo e(url('signin')); ?>" class="btn1"><img src="<?php echo e(asset('site-assets/images/User.svg')); ?>"/></a>
        <?php endif; ?>
       
    </div>  
    <div class="dropdown websi">
        <!-- <a href="<?php echo e(url('set-language?lang_code=ar')); ?>" class="language dropdown-toggle" data-toggle="dropdown"> 
            <img src="<?php echo e(asset('site-assets/images/langarrow.png')); ?>" /> 
            <?php echo e(Config::get('languages')[App::getLocale()]); ?> 
        </a> -->
        <!-- <div class="dropdown-menu">
            <?php $__currentLoopData = Config::get('languages'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if($lang != App::getLocale()): ?>
                        <a class="dropdown-item" href="<?php echo e(url('set-language?lang_code=').$lang); ?>"> <?php echo e($language); ?></a>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div> -->
    </div>
</nav><?php /**PATH /Applications/MAMP/htdocs/hayawater/resources/views/partials/site/header-menu.blade.php ENDPATH**/ ?>