<?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(); ?>
		
<div class="archive-page2">
            <div class="container">


                <div class="row">   
                    <div class="col-lg-8 col-md-8">
                        <div class="rachive-info-cats">
                            <a href="/"><i class="las la-home"> </i> </a>  <i class="las la-angle-right"></i> <?php echo e($data->title); ?>

                        </div>

                        <div class="archivePage-content2">
                            <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="themesBazar-3 themesBazar-m2">
                                    <div class="archivePage-wrpp2">
                                        <div class="archive2-image">
                                            <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); ?>">

                                             

                                        </div>
                                        <h4 class="archivePage2-title">
                                            <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>
                                        </h4>
                                        
                                        <div class="archive-meta2">
                                            <a href="<?php echo e(route('frontend.postBySubcategory.details',[$post->category->slug,$post->slug])); ?>"><i class="las la-tags"> </i>  প্রকাশের তারিখঃ <?php echo e($post->createdAt()); ?> ইং
  </a>
                                        </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 style="text-align: center; margin:20px; display:display: ruby;"><?php echo e($posts->links()); ?> </div>

                           

                                

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

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

                            
                                

                       
                            <div class="archivePopular">                        
                                <ul class="nav nav-pills" id="archivePopular-tab" role="tablist">
                                    <li class="nav-item" role="presentation">
                                        <div class="nav-link active"  data-bs-toggle="pill" data-bs-target="#archiveTab_recent" role="tab" aria-controls="archiveRecent" aria-selected="false"> সর্বশেষ সংবাদ </div>
                                    </li>
                                    
        
                                    <li class="nav-item" role="presentation">
                                        <div class="nav-link" data-bs-toggle="pill" data-bs-target="#archiveTab_popular" role="tab" aria-controls="archivePopulars" aria-selected="false"> আলোচিত সংবাদ </div>
                                    </li>
                                      
        
                                
        
                                </ul>
                            </div>

                            <div class="tab-content" id="pills-tabContentarchive">
                                <div class="tab-pane active show  fade" id="archiveTab_recent" role="tabpanel" aria-labelledby="archiveRecent">                                                                                                   
                                    <div class="archiveTab-sibearNews">
                                        

                                                                                             
                                                                         
<?php $__currentLoopData = $is_trendings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $is_trending): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>	
                                    <div class="archive-tabWrpp archiveTab-border">
                                            <div class="archiveTab-image ">
                                                <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); ?>">
                                            </div>
                                             

                                            <h4 class="archiveTab_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="archive-conut">
                                                                                             <?php echo e($loop->iteration); ?>

                                                 
                                            </div>
                                            

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














                                         
                                        
                                     
                                    </div>
                                 
                             
                                   
                                                    
                                </div>
    
                                    
                                <div class="tab-pane fade" id="archiveTab_popular" role="tabpanel" aria-labelledby="archivePopulars">                                            
                                    <div class="archiveTab-sibearNews">
                                        

                                        
                                                     
                                                                         
<?php $__currentLoopData = $is_recents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $is_recent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="archive-tabWrpp archiveTab-border">
                                            <div class="archiveTab-image ">
                                                <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); ?>">
                                            </div>
                                             

                                            <h4 class="archiveTab_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="archive-conut">
                                                                                               <?php echo e($loop->iteration); ?>

                                                 
                                            </div>
                                            

                                        </div>
                                                                              
 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
                                    
									
                                                                            
   
                                        
                                     
                                    </div>
                              
                                  
    
                                    
                                </div>
    
                            </div>
                            
                            
                            <div class="siteber-add2">
                              <?php echo $gs->sidebar_ads; ?>   
                                
                            </div>                           
                        
                        </div> <!-- Fixd Siteber End -->


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

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