<?php $__env->startSection('content'); ?>

<div class="header-banner bg-theme-grad"><div class="nk-banner"><div class="banner banner-page"><div class="banner-wrap"><div class="container"><div class="row justify-content-center"><div class="col-xl-6 col-lg-9"><div class="banner-caption cpn tc-light text-center"><div class="cpn-head"><h2 class="title ttu">Blog & News</h2><p>Our Blog, News & Gallery.</p></div></div></div></div></div></div></div></div><!-- .nk-banner --><div class="nk-ovm shape-a-sm"></div></div><!-- .header-banner @e  --></header><main class="nk-pages"><section class="section bg-white"><div class="container">

<div class="nk-block nk-block-blog"><div class="row">

<?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-lg-4 col-sm-6"><div class="blog"><div class="blog-photo"><?php if( file_exists($data->image)): ?>
                        <img src="<?php echo e(asset($data->image)); ?>" width="100"
                             alt="Notification Image">
                    <?php else: ?>


                    <?php endif; ?></div><div class="blog-text"><ul class="blog-meta"><li><a href="<?php echo e(route('blogview',$data->id)); ?>"><?php echo e(Carbon\Carbon::parse($data->created_at)->diffForHumans()); ?></a></li><li><a href="<?php echo e(route('blogview',$data->id)); ?>"><?php echo e($data->category->name); ?></a></li></ul><h4 class="title title-sm"><a href="<?php echo e(route('blogview',$data->id)); ?>"><?php echo e($data->title); ?>.</a></h4><p><?php echo e(substr($data->details, 0, 25)); ?>....</p></div></div><!-- .blog --></div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

 </div><!-- .nk-block --></div><!-- .container --></section><!-- .section --></main>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('include.front', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>