
<body>

    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="{{url(getCurrentLocale().'/')}}">
                <img src="{{url('')}}/assets/lamis/images/logo.png" alt="">
            </a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse justify-content-end" id="navbarNav">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/')}}">{{__('site.home')}}</a>
                    </li>
                  
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/levels')}}">{{__('site.step')}}</a>
                    </li>
                   
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/package')}}">{{__('site.package')}}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/utility')}}">{{__('site.service')}}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/new')}}">{{__('site.news')}}</a>
                    </li>
                    @if(!\Auth::guard('member')->user())
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/login')}}">{{__('site.login')}}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/regist')}}">{{__('site.regist')}}</a>
                    </li>
                    @else
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/member')}}">{{__('site.profile')}}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="{{url(getCurrentLocale().'/member/logout')}}">{{__('site.logout')}}</a>
                    </li>
                    @endif
                      @if(getCurrentLocale() == 'ar')
                      <li class="nav-item">
                <!--<li><a href="{{LaravelLocalization::getLocalizedUrl('en')}}">{{__('web.en')}}</a></li>-->
               <a class="lang" href="{{LaravelLocalization::getLocalizedUrl('en')}}" style="margin-top: 8px;"><i class="fas fa-globe">EN</i></a>
               </li>
                @else
                 <li class="nav-item">
                <!--<li><a href="{{LaravelLocalization::getLocalizedUrl('ar')}}">{{__('web.ar')}}</a></li>-->
                <a class="lang" href="{{LaravelLocalization::getLocalizedUrl('ar')}}" style="margin-top: 8px;"><i class="fas fa-globe">AR</i></a>
                </li>
                @endif
                </ul>
            </div>
        </div>
    </nav>