<nav class="navbar navbar-expand-lg">
    <div class="container">
        <!-- Dark mode logo -->
        <a class="navbar-brand" href="<?php echo e(url(getCurrentLocale().'/')); ?>">
            <img src="<?php echo e(url('')); ?>/assets/web/images/logo.svg" alt="" class="logo logo-dark"/>
        </a>
        <!-- Light mode logo -->
        <a class="navbar-brand" href="<?php echo e(url(getCurrentLocale().'/')); ?>">
            <img src="<?php echo e(url('')); ?>/assets/web/images/logo-white.svg" alt="" class="logo logo-white d-none"/>
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav m-auto">
                <li class="nav-item">
                    <a class="nav-link <?php if(\Request::segment(count(request()->segments())) == 'ar' ||\Request::segment(count(request()->segments())) == 'en'): ?> active <?php endif; ?>" href="<?php echo e(url(getCurrentLocale().'/')); ?>">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/1.svg" alt="" class="icon"/> <span><?php echo e(__('web.home')); ?></span>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(\Request::segment(count(request()->segments())) == 'aboutus'): ?> active <?php endif; ?>" href="<?php echo e(url(getCurrentLocale().'/aboutus')); ?>">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/2.svg" alt="" class="icon"/> <span><?php echo e(__('web.aboutus')); ?></span>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(\Request::segment(count(request()->segments())) == 'package'): ?> active <?php endif; ?>" href="<?php echo e(url(getCurrentLocale().'/package')); ?>">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/3.svg" alt="" class="icon"/> <span><?php echo e(__('web.packages')); ?></span>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(\Request::segment(count(request()->segments())) == null): ?> active <?php endif; ?>" href="<?php echo e(url(getCurrentLocale().'/')); ?>#formcalcalories">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/4.svg" alt="" class="icon"/> <span> <?php echo e(__('web.calcalories')); ?> </span>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(\Request::segment(count(request()->segments())) == 'contactus'): ?> active <?php endif; ?>" href="<?php echo e(url(getCurrentLocale().'/contactus')); ?>">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/nav/3.svg" alt="" class="icon"/> <span> <?php echo e(__('web.contactus')); ?></span>
                    </a>
                </li>
                <?php if(\Auth::user()): ?>
                <li class="nav-item">
                    <a href="<?php echo e(url(getCurrentLocale().'/profile')); ?>" class="sign_butn user_img">
                         <img src="<?php echo e(asset(\Auth::user()->photo)); ?>" alt=""/>
                         <span> <?php echo e(\Auth::user()->name); ?> </span> 
                     </a>
                </li>
                <?php endif; ?>
            </ul>
            <div class="links">
                <?php if(\Auth::user()): ?>
                <a href="<?php echo e(url(getCurrentLocale().'/logout')); ?>" class="sign_butn"><?php echo e(__('web.logout')); ?></a> 
                <!--<a href="<?php echo e(url(getCurrentLocale().'/profile')); ?>" class="sign_butn"><?php echo e(__('web.profile')); ?></a>-->
                <?php else: ?>
                <a href="<?php echo e(url(getCurrentLocale().'/login')); ?>" class="sign_butn"><?php echo e(__('web.login')); ?></a> |
                <a href="<?php echo e(url(getCurrentLocale().'/regist')); ?>" class="sign_butn"><?php echo e(__('web.regist')); ?></a>
                <?php endif; ?>
                <?php if(getCurrentLocale() == 'ar'): ?>
                <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('en')); ?>" class="lang_butn">En</a>
                <?php else: ?>
                <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('ar')); ?>" class="lang_butn">عربية</a>
                <?php endif; ?>
                <?php if(\Auth::user()): ?>
                <div class="dropdown">
                    <button class="lang_butn noti_butn" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/notification.png" alt="" class="icon"/>
                    </button>
                    <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                        <h6 class="title mb-3"><b>الاشعارات</b></h6>
                        <div class="noti-dropdown-body">
                            <div class="noti-item">
                                <div class="dateTime d-block">
                                    <p class="p"><i class="far fa-clock"></i> 8 min ago</p>
                                    <p class="p"><i class="far fa-calendar-alt"></i> 14 jan 2021</p>
                                </div>
                                <div class="noti-body mt-1">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/noti-success.svg" alt="" class="icon">
                                    <div class="text">
                                        <h6 class="title mb-0">مبروك</h6>
                                        <p class="p">تم الاشتراك بنجاح</p>
                                    </div>
                                </div>
                                <!-- <button class="deleteButton"><i class="fas fa-times-circle"></i></button> -->
                            </div>
                            <div class="noti-item ">
                                <div class="dateTime d-block">
                                    <p class="p"><i class="far fa-clock"></i> 8 min ago</p>
                                    <p class="p"><i class="far fa-calendar-alt"></i> 14 jan 2021</p>
                                </div>
                                <div class="noti-body mt-1">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/noti-alert.svg" alt="" class="icon">
                                    <div class="text">
                                        <h6 class="title mb-0">تنبيه هام</h6>
                                        <p class="p">الرجاء اكمل البيانات</p>
                                    </div>
                                </div>
                                <!-- <button class="deleteButton"><i class="fas fa-times-circle"></i></button> -->
                            </div>
                            <div class="noti-item">
                                <div class="dateTime d-block">
                                    <p class="p"><i class="far fa-clock"></i> 8 min ago</p>
                                    <p class="p"><i class="far fa-calendar-alt"></i> 14 jan 2021</p>
                                </div>
                                <div class="noti-body mt-1">
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/noti-success.svg" alt="" class="icon">
                                    <div class="text">
                                        <h6 class="title mb-0">مبروك</h6>
                                        <p class="p">تم الاشتراك بنجاح</p>
                                    </div>
                                </div>
                                <!-- <button class="deleteButton"><i class="fas fa-times-circle"></i></button> -->
                            </div>
                        </div>
                        <a href="notifications.html" class="more-noti">كل الاشعارات</a>
                    </div>
                </div>
                <?php endif; ?>
            </div>
            <div class="themeToggler">
                <label id="switch" class="switch">
                    <input type="checkbox" onchange="toggleTheme()" id="slider">
                    <span class="slider round"></span>
                </label>
            </div>
        </div>

    </div>
</nav><?php /**PATH /home/omaralyomhost/public_html/raied/resources/views/web/layouts/include/menu.blade.php ENDPATH**/ ?>