<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')); ?>">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')); ?>">About</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')); ?>">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')); ?>">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')); ?>">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')); ?>">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')); ?>">Contact Us</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>
            <?php else: ?>
                <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 /Applications/MAMP/htdocs/ntc/resources/views/web/layouts/menu.blade.php ENDPATH**/ ?>