<div class="navs-container">
    <!--Start main-nav-->
    <nav class="navbar navbar-expand-lg navbar-light bg-white">
        <div class="container">
                <span class="nav_toggler" id="menuToggler">
                    <span class="navbar-toggler-icon"></span>
                </span>
            <!-- menu_box -->
            <div class="menu_box" id="menu_box">
                <h5 class="menu_title mb-4"><span class="zi-5"><?php echo e(__('web.main_menu')); ?> </span></h5>
                <div class="links">
                    <a href="<?php echo e(url(getCurrentLocale().'/')); ?>"><?php echo e(__('web.home')); ?></a>
                    <a href="<?php echo e(url(getCurrentLocale().'/aboutus')); ?>"><?php echo e(__('web.aboutus')); ?> </a>
                    <a href="<?php echo e(url(getCurrentLocale().'/contactus')); ?>"><?php echo e(__('web.contactus')); ?> </a>
                    <?php if(\Auth::user()): ?>
                        <a href="<?php echo e(url(getCurrentLocale().'/profile')); ?>"><?php echo e(__('web.profile')); ?></a>
                        <a href="<?php echo e(url(getCurrentLocale().'/logout')); ?>"><?php echo e(__('web.logout')); ?></a>
                    <?php else: ?>
                        <a href="<?php echo e(url(getCurrentLocale().'/login')); ?>"><?php echo e(__('web.login')); ?> </a>
                        <a href="<?php echo e(url(getCurrentLocale().'/regist')); ?>"><?php echo e(__('web.regist')); ?> </a>
                    <?php endif; ?>
                </div>
                <h5 class="menu_title mb-4 mt-4"><span class="zi-5">  <?php echo e(__('web.contact_us')); ?>  </span></h5>
                <div class="social_links d-flex justify-content-center">
                    <?php if($settings['facebook']): ?>
                        <a href="<?php echo e($settings['facebook']); ?>" target="_blank">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/socialmedia-1.png" class="icon" alt=""/>
                        </a>
                    <?php endif; ?>
                    <?php if($settings['instagram']): ?>
                        <a href="<?php echo e($settings['instagram']); ?>" target="_blank">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/socialmedia-2.png" class="icon" alt=""/>
                        </a>
                    <?php endif; ?>
                    <?php if($settings['twitter']): ?>
                        <a href="<?php echo e($settings['twitter']); ?>" target="_blank">
                            <img src="<?php echo e(url('')); ?>/assets/web/images/icons/socialmedia-3.png" class="icon" alt=""/>
                        </a>
                    <?php endif; ?>
                    <?php if($settings['whatsapp']): ?>
                    <a href="https://api.whatsapp.com/send?phone=<?php echo e($settings['whatsapp']); ?>&text=" target="_blank">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/socialmedia-4.png" class="icon" alt=""/>
                    </a>
                    <?php endif; ?>
                </div>
            </div>
            <a class="navbar-brand" href="<?php echo e(url(getCurrentLocale().'/')); ?>">
                <img src="<?php echo e(url('')); ?>/assets/web/images/logo.png" class="logo" alt=""/>
            </a>
            <div class="d-flex align-items-center">
                <?php if(\Auth::user()): ?>
                <a class="noti_icon noti me-4" data-bs-toggle="offcanvas" onclick="showNotification()" href="#offcanvas_noti" role="button" aria-controls="offcanvasExample"> <i class="far fa-bell"></i> </a>
                <?php endif; ?>
                <div class="dropdown search_dropdown">
                    <button class="butn lang_butn fw-bold secondary_border_butn color-secondary"  id="dropdownSearchButton">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/search.svg" class="icon filterSecondary icon-15" alt=""/>
                    </button>
                    <div class="search_box" id="dropdownSearch">
                        <form action="<?php echo e(url(getCurrentLocale().'/')); ?>" <?php if(in_array(\Request::segment(count(request()->segments())) , ['ar','en','/',''])): ?> onsubmit="showProvider(this)" <?php endif; ?>>
                            <div class="form-group mb-0">
                                <input class="form-control search_input" id="search"  <?php if(isset($request)): ?> value="<?php echo e($request->search); ?>" <?php endif; ?> name="search" placeholder="   <?php echo e(__('web.search_here')); ?> ..."/>
                                <button type="submit" class="submit-butn"><img src="<?php echo e(url('')); ?>/assets/web/images/icons/search.svg" alt="" class="icon icon-18 filterPrimary"/></button>
                                <a class="filter_butn bg-white butn sm_butn white_butn" data-bs-toggle="collapse" id="collapseSearchButn" href="#collapseSearch" role="button" aria-expanded="false" aria-controls="collapseExample">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/filtering.svg" class="icon" alt=""/>
                                </a>
                            </div>
                            <div class="collapse collapse_wrapper mt-3" id="collapseSearch">
                                <div class="form-group mb-3">
                                    <select id="order_by" name="orderBy" class="form-control form-select">
                                        <option value=""><?php echo e(__('web.order_by')); ?> </option>
                                        <option <?php if(isset($request)): ?> <?php if($request->orderBy == 'rate_desc'): ?> selected <?php endif; ?> <?php endif; ?> value="rate_desc"><?php echo e(__('web.rate_desc')); ?></option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" id="date" type="date" name="date"  <?php if(isset($request)): ?> value="<?php echo e($request->date); ?>" <?php endif; ?>/>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <?php if(getCurrentLocale() == 'ar'): ?>
                    <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('en')); ?>" class="butn lang_butn fw-bold secondary_border_butn color-secondary  ms-4">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/lang.svg" class="icon filterSecondary me-2 icon-15" alt=""/> EN
                    </a>
                <?php else: ?>
                    <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('ar')); ?>" class="butn lang_butn fw-bold secondary_border_butn color-secondary  ms-4">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/lang.svg" class="icon filterSecondary me-2 icon-15" alt=""/> العربية
                    </a>
                <?php endif; ?>

            </div>
        </div>
    </nav>


</div>
<?php /**PATH /Applications/MAMP/htdocs/youdra/resources/views/web/layouts/menu.blade.php ENDPATH**/ ?>