
<?php $__env->startSection('content'); ?>
<div class="page-content mb-10">
	<div class="shop-default-banner shop-boxed-banner banner d-flex align-items-center mb-6"
		style="background-image: url(web/images/banner/news.jpg); background-color: #607d8b;background-size: cover;background-position: right;">
		<div class="container banner-content">
			<h3 class="banner-title text-white text font-weight-bolder ls-10">News</h3>
		</div>
	</div>

	<div class="container">
	    <div class="row post-wrapper appear-animate mb-4">
            <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cont): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
            <div class="col-lg-3 col-md-6 col-6">    
	            <div class="post text-center overlay-zoom" style="margin-bottom: 15px;">
	                <figure class="post-media br-sm">
	                    <a href="<?php echo e(url('postdetails/'.$cont->id)); ?>">
	                        <center><img class="lazy" src="<?php echo e(URL::to($cont->image)); ?>" style="height:120px;width:auto;background-color:#4b6e91;" /></center>                                
	                    </a>
	                </figure>
	                <div class="post-details">
	                    <h4 class="post-title"><a href="<?php echo e(url('postdetails/'.$cont->id)); ?>"><?php echo e($cont->title); ?></a>
	                    </h4>
	                    <a href="<?php echo e(url('postdetails/'.$cont->id)); ?>" class="btn btn-link btn-dark btn-underline">Read More<i
	                            class="w-icon-long-arrow-right"></i></a>
	                </div>
	            </div>
            </div> 
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            <nav aria-label="Page navigation example">
	          <ul class="pagination">
	            <?php echo e($posts->appends(['query'=>request('query')])->render()); ?>

	          </ul>
	        </nav>
	    </div>
	</div>

</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('web.layout.mainx', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ebs/public_html/resources/views/web/news.blade.php ENDPATH**/ ?>