<nav class="navbar navbar-expand-lg navbar-light">
    <div class="container">
        <a class="navbar-brand" href="<?php echo e(route('home')); ?>">
            <img src="<?php echo e(url('')); ?>/assets/web/images/logo.png" alt="" class="logo">
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-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 mx-auto mb-2 mb-lg-0">
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['ar','en','/',''])): ?> active <?php endif; ?>" aria-current="page" href="<?php echo e(route('home')); ?>"><?php echo e(__('web.home')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['aboutus'])): ?> active <?php endif; ?>" href="<?php echo e(route('aboutus')); ?>"><?php echo e(__('web.aboutus')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['services'])): ?> active <?php endif; ?>" href="<?php echo e(route('services')); ?>"><?php echo e(__('web.our_services')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['courses'])): ?> active <?php endif; ?>" href="<?php echo e(route('courses.index')); ?>"><?php echo e(__('web.courses')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['partners'])): ?> active <?php endif; ?>" href="<?php echo e(route('partners')); ?>"><?php echo e(__('web.partners')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['news'])): ?> active <?php endif; ?>" href="<?php echo e(route('news')); ?>"><?php echo e(__('web.news')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link <?php if(in_array(\Request::segment(count(request()->segments())) , ['contactus'])): ?> active <?php endif; ?>" href="<?php echo e(route('contactus')); ?>"><?php echo e(__('web.contactus')); ?></a>
                </li>
            </ul>
            <?php if(\Auth::user()): ?>
                <!--<a href="<?php echo e(route('profile')); ?>" class="butn sub_butn"> <span> <?php echo e(__('web.profile')); ?> </span> </a>-->
                <!--<a href="<?php echo e(route('logout')); ?>" class="butn ms-2"> <span> <?php echo e(__('web.logout')); ?> </span> </a>-->
                <div class="dropdown">
                  <button class="butn dropdown-toggle bg-white" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
                        <?php echo e(__('web.profile')); ?>

                  </button>
                  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
                    <li><a class="dropdown-item" href="<?php echo e(route('profile')); ?>"><?php echo e(__('web.profile')); ?></a></li>
                    <li><a class="dropdown-item" href="<?php echo e(route('logout')); ?>"><?php echo e(__('web.logout')); ?></a></li>
                  </ul>
                </div>
            <?php else: ?>
                <div class="dropdown">
                  <button class="butn dropdown-toggle bg-white" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
                        <?php echo e(__('web.login')); ?>

                  </button>
                  <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
                    <li><a class="dropdown-item" href="<?php echo e(route('regist')); ?>"><?php echo e(__('web.regist')); ?></a></li>
                    <li><a class="dropdown-item" href="<?php echo e(route('login')); ?>"><?php echo e(__('web.login')); ?></a></li>
                  </ul>
                </div>
                <!--<a href="<?php echo e(route('regist')); ?>" class="butn sub_butn"> <span> <?php echo e(__('web.regist')); ?> </span> </a>-->
                <!--<a href="<?php echo e(route('login')); ?>" class="butn ms-2"> <span> <?php echo e(__('web.login')); ?> </span> </a>-->
            <?php endif; ?>
        </div>
    </div>
</nav>
<?php /**PATH /home/omaralyomhost/public_html/ntc/resources/views/web/layouts/menu.blade.php ENDPATH**/ ?>