<?php $__env->startSection('contents'); ?>
    <?php $__env->startSection('meta'); ?>
<title><?php echo e($data->title); ?></title>
<meta property="og:title" content="<?php echo e($data->title); ?>" />
<meta property="og:image" content="<?php echo e(asset('assets/images/'.$gs->og_baner)); ?>" />
<?php $__env->stopSection(); ?>	
<?php $__env->startPush('css'); ?>

<?php $__env->stopPush(); ?>
         
		 
		 <!--==========ThemesBazar=============
                        Section-One Start
                    ==============ThemesBazar============-->
        <div class="all-section" ><!-- All Section-->

            <section class="archive-page">
                <div class="container">
                    <div class="row">
                        <div class="col-lg-8 col-md-8">                        
                            <div class="cat-info">
                                <ul>
                                    <li><a href="#"> <i class="las la-home"></i> /  </a></li>
                                    <li><a href="#"> <?php echo e($data->title); ?> </a></li>
                                </ul>
                            </div>

                            

                            <div class="archive-wrpp">
                                
                                <div class="row">
                                    
                                				

        <?php if($posts->count()>0): ?>                       
 <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
												
                                    <div class="col-lg-6 col-md-6">
                                        <div class="archive-items">
                                            <div class="archive-image2">
                                                <img class="lazyload" src="<?php echo e(asset('assets/images/logo/'.$gs->lazy_baner)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$post->image_big)); ?>" alt="<?php echo e(strlen($post->title)>100 ? mb_substr($post->title,0,100,'utf-8').'...' : $post->title); ?>" title="<?php echo e(strlen($post->title)>100 ? mb_substr($post->title,0,100,'utf-8').'...' : $post->title); ?>">
                                                 

                                                <h6 class="archive-title2">
                                                    <a href="<?php echo e(route('frontend.postBySubcategory.details',[$post->category->slug,$post->slug])); ?>"> <?php echo e(strlen($post->title)>100 ? mb_substr($post->title,0,100,'utf-8').'...' : $post->title); ?>  </a>
                                                </h6>
                                            </div>
                                        

                                        </div>
                                    </div>
                                    									 
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                               <?php else: ?>
                                <div class="col-lg-12">
                                    <div class="card">
                                        <div class="card-body">
                                            <p class="text-danger text-danger text-center"><?php echo e(__('This Category has no news.')); ?></p>
                                        </div>
                                    </div>
                                </div>
                        <?php endif; ?>   
									
									
									
									
									
                                    
                                   
                                </div>
                                
                                
                               
                               
                               
                            </div>

                             <div style="text-align: center; float: right;"> <?php echo e($posts->links()); ?> </div>

                            <!-- <div class="archive-btn">
                                <a href=""> আরও পড়ুন </a>
                            </div> -->


                        </div>
                        <div class="col-lg-4 col-md-4">
                            <div class="sitebar-fixd" style="position: sticky; top: 0;"><!-- Fixd Siteber -->

                                
                                
                                


                                 <div class="nav nav-tabs " id="home-tab" role="tablist">

                            <div class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" role="tab" aria-controls="nav-home" aria-selected="false">  সর্বশেষ সংবাদ

                            </div>

                            <button class="nav-link " id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="true"> আলোচিত সংবাদ </button>

                        

                        </div>
                                            
                                <div class="tab-content" id="myTabContent">

                            <div class="tab-pane fade active show" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">

                                <div class="tavs">  

                                                                                         
                                                                         
                                    
<?php $__currentLoopData = $is_trendings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $is_trending): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>	
                                    <div class="tab-item"> <!-- tab Item Start-->                                  

                                        <div class="tab-image tab-border">

                                            <img class="lazyload" src="<?php echo e(asset('assets/images/logo/'.$gs->lazy_baner)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$is_trending->image_big)); ?>" alt="<?php echo e(strlen($is_trending->title)>60 ? mb_substr($is_trending->title,0,60,"utf-8") : $is_trending->title); ?>" title="<?php echo e(strlen($is_trending->title)>60 ? mb_substr($is_trending->title,0,60,"utf-8") : $is_trending->title); ?>">

                                             


                                            <h4 class="tab_hadding"><a href="<?php echo e(route('frontend.postBySubcategory.details',[$is_trending->category->slug,$is_trending->slug])); ?>"> <?php echo e(strlen($is_trending->title)>60 ? mb_substr($is_trending->title,0,60,"utf-8") : $is_trending->title); ?> </a></h4> 



                                            <div class="conut">
                                                                                <?php echo e($loop->iteration); ?>

                                                 

                                            </div>



                                        </div>

                                                                            

                                    </div><!-- tab Item End-->   

                                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>                                    
                                    

                                   
								   

                                                                                                                             

                                </div>

                            </div>

                            <div class="tab-pane fade " id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">

                                <div class="tavs">                       

                                    

                                      
                                       <?php $__currentLoopData = $is_recents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $is_recent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>                                  

                                    <div class="tab-item"> <!-- tab Item Start-->                                  

                                        <div class="tab-image tab-border">

                                            <img class="lazyload" src="<?php echo e(asset('assets/images/logo/'.$gs->lazy_baner)); ?>" data-src="<?php echo e(asset('assets/images/post/'.$is_recent->image_big)); ?>" alt="<?php echo e(strlen($is_recent->title)>60 ? mb_substr($is_recent->title,0,60,"utf-8") : $is_recent->title); ?>" title="<?php echo e(strlen($is_recent->title)>60 ? mb_substr($is_recent->title,0,60,"utf-8") : $is_recent->title); ?>">

                                             


                                            <h4 class="tab_hadding"><a href="<?php echo e(route('frontend.postBySubcategory.details',[$is_recent->category->slug,$is_recent->slug])); ?>"> <?php echo e(strlen($is_recent->title)>60 ? mb_substr($is_recent->title,0,60,"utf-8") : $is_recent->title); ?>  </a></h4> 



                                            <div class="conut">

                                                                                <?php echo e($loop->iteration); ?>

                                                 

                                            </div>



                                        </div>

                                                                            

                                    </div><!-- tab Item End-->  
                                                                         
 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                                   
								   
								   
                                     
                                                    

                                </div>            

                            </div>

                        

                        </div>

                        
                                
        


  



                            </div>
                             

                        </div>
						
						
                    </div>
                </div>
            </section>

        </div><!-- All Section Close -->

		
		
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/creativedesignbd/news5.creativedesign.com.bd/project/resources/views/frontend/category.blade.php ENDPATH**/ ?>