<!--========ThemesBazar===============

                        ThemesBazar Header Section Start

                    ============ThemesBazar==============-->  

            <header class="header">

                <div class="container">

                    <div class="row">
							@php
								Session::has('language') ? $lid=Session::get('language') : $lid = (DB::table('languages')->where('is_default','=',1)->first()->id)
							@endphp
							
							@php
								$header_footer_logo = d_logo($lid);
							@endphp
                        <div class="col-lg-3 col-md-3">

                            <div class="logo">

                             <a href="{{ route('frontend.index')}}"> <img src="{{asset('assets/images/logo/'.$gs->logo)}}" alt="{{ $gs->title }}"> </a>

                            </div>

                        </div>

                        <div class="col-lg-9 col-md-9">

                            <div class="row">

                                <div class="col-lg-6 col-md-6">

                                    <div class="date">

                                        <i class="las la-map-marker"></i> ঢাকা <i class="lar la-calendar-minus"></i> 
                                                                          
                                    <span id ="Clock" onload="displayTime()"></span> | <span id="date-today"></span>
                                    , 
                                    <!------------ Bangla Date Code Start-->        
      ১২ মাঘ ১৪৩১<!------------ Bangla Date Code Close-->   বঙ্গাব্দ
                                     
                                     

                                    </div>

                                </div>

                                <div class="col-lg-6 col-md-6">

                                    <div class="header-social">
										@foreach ($social_links as $social_link) 

                          <a href="{{ $social_link->link}}" target="_blank" title="{{$social_link->name}}"><i class="{{$social_link->icon}}"></i> </a>
                                    @endforeach	
                                    </div>

                

                                </div>

                            </div>

                        </div>

                   

                    

                    </div>

                </div>

            </header>

                

                    <!--==========ThemesBazar=============

                        ThemesBazar Header Section End

                    ==============ThemesBazar============-->    

                    
                      


                    

                    <!--=========ThemesBazar==============

                        Menu-section-Start

                    =============ThemesBazar=============-->           

        <div class="menu-section" id="myHeader">

            <div class="container">

                <div class="row">

                    <div class="col-lg-11 col-md-10">

                        <div class="mobile_logo">

                            <a href="{{route('frontend.index')}}"> <img src="{{asset('assets/images/logo/'.$gs->footer_logo)}}" alt="{{ $gs->title }}"> </a>

                        </div>

                        <div class="stellarnav">

                            <ul>
                                @foreach ($categories as $category)
								 @if ($loop->first)		
                                <li class="active"><a href="{{ route('frontend.index')}}"> <i class="las la-home"></i> {{$category->title}}</a></li>


                           

                               @endif
 @if ($category->child()->count() > 0)                       
                                <li><a href="{{ route('frontend.category',$category->slug)}}" >{{$category->title}}</a>

                                         <ul>
                                        
                                         @foreach ($category->child as $child)                           
                                        <li><a href="{{ route('frontend.postBySubcategory.details',[$category->slug,$child->slug])}}" >{{$child->title}}</a></li>
										@endforeach	
										
                                                                            </ul>
                                                                    </li>
                                                            
                               
                                                         @else
					@if ($loop->first)
					@else     
                                        <li><a href="{{ route('frontend.category',$category->slug)}}" >{{$category->title}}</a></li>
									             @endif
				@endif
			@endforeach	
									
									<li><a href="{{ $gs->epaper_link }}" >ই-পেপার</a></li>
                                                                            
																			
																			
																			
																			
																			</ul>
                                                                    </li>
                                

                            

                            </ul>

                        </div><!-- .stellarnav -->

                    </div>

                    

                    <div class="col-lg-1 col-md-2">

                        <div id="wrapper">

                            <div class="menuIcon">

                             ‍<span>  </span> 

                                <div class="circle icon">

                                        

                                    </div>

                            </div>

                        </div>

                        

                                   

              

                        <!-- search start -->

                        <div class="searchIcon">

                            <i class="las la-search"></i>

                        </div>

                        

                        <form class="searchBar" method="get" action="{{ route('front.news_search') }}">
                            <input type="text" name="search"  placeholder="এখানে লিখুন">

                            <button><input type="submit" value="খুজুন"></button>

                            

                            <div class="remove">

                                <i class="las la-times"></i>

                            </div>

    

                        </form>



                    </div>         

                    

                    

                </div>





            

            </div>

            

        </div>





                    <!--==========ThemesBazar=============

                        Menu-section-End

                    ==============ThemesBazar============-->
