           



           @php if(Auth::user()->role==1) { $urlProfile= 'superadmin'; } @endphp



            <div class="lalit-mod-left">



                <div class="lalit-nav-left">



                <ul>



                            @guest



                            @if (Route::has('login'))



                            <li>



                                <a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>



                            </li>



                            @endif



                            @else



                            @php if(Auth::user()->role==1) { $urlProfile= 'superadmin'; } elseif(Auth::user()->role==2)



                            { $urlProfile= 'admin'; } elseif(Auth::user()->role==3) { $urlProfile= 'staff'; }



                            elseif(Auth::user()->role==4) { $urlProfile= 'client'; } elseif(Auth::user()->role==5) {



                            $urlProfile= 'manager'; } elseif(Auth::user()->role==6) { $urlProfile= 'supervisor'; }



                            elseif(Auth::user()->role==7) { $urlProfile= 'hod'; }



                            elseif(Auth::user()->role==8) { $urlProfile= 'corporate_training'; }



                            @endphp



                            <li><a href="{{url($urlProfile)}}/profile"><img



                                        src="{{asset('frontend/images/2024/01/01/5.png')}}">



                                    Profile</a></li>



                            @if(Auth::user()->role==1)



                            <li class="nav-item">



                                <a class="nav-link" href="{{url('/superadmin/role')}}"><i style="color: red;"



                                        class="fas fa-building"></i>



                                    {{ __('Create Role') }}</a>



                            </li>



                            <li class="nav-item">



                                <a class="nav-link" href="{{url('/superadmin/create')}}"><i style="color: red;"



                                        class="fa fa-user-plus" aria-hidden="true"></i>



                                    {{ __('Create User') }}</a>



                            </li>



                            @endif



                            @endguest



                            <li class="nav-item">



                                <a class="nav-link" href="{{url($urlProfile)}}/smLeads"><i style="color: red;"



                                        class="fas fa-building"></i>



                                    {{ __('Social Media Leads') }}</a>



                            </li>



                            <li class="nav-item">



                                <a class="nav-link" href="{{url($urlProfile)}}/waLeads"><i style="color: red;"



                                        class="fas fa-building"></i>



                                    {{ __('Whatsapp Leads') }}</a>



                            </li>



                            <!-- <li><a href="#"><img src="{{asset('frontend/images/2024/01/01/6.png')}}"> Support Centre</a></li> -->

                                <li>



                                    <a href="{{ route('logout') }}" onclick="event.preventDefault();

                                    document.getElementById('logout-form').submit();">

                                    <i style="color: red;" class="fa fa-sign-out" aria-hidden="true"></i>

                                    {{ __('Logout') }}

                                    </a>

                                    <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">

                                    @csrf

                                    </form>

                                </li>

                        </ul>



                </div>







            </div>