<?php $__env->startSection('css'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="page-title-area">
        <div class="container">
            <div class="page-title">
                <h1><?php echo e($page_title); ?></h1>
            </div>
        </div>
    </div>


    <div class="blog-area">
        <div class="container">
            <div class="row">
                <div class="col-xl-8 col-sm-12 col-lg-8">
                    <div class="blog-left-side">
                        <?php if(count($blogs) >0): ?>
                        <?php $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="single-blog">
                                <div class="part-img">
                                    <img src="<?php echo e(asset('assets/images/post/'.$data->image)); ?>" alt="<?php echo e($data->title); ?>">
                                </div>
                                <div class="part-summary">
                                    <a href="javascript: void(0)" class="no-text-decoration cursor-default"><i
                                            class="far fa-clock"></i><?php echo e(date('d M Y',strtotime($data->created_at))); ?></a>
                                </div>
                                <div class="part-text">
                                    <h2><a href="<?php echo e(route('blog.details',[$data->id,str_slug($data->title)])); ?>">
                                            <?php echo e($data->title); ?>

                                        </a></h2>
                                    <p><?php echo e(str_limit(strip_tags($data->details),320)); ?></p>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                        <div class="post-navigation ">
                            <?php echo e($blogs->links('partials.pagination')); ?>

                        </div>

                            <?php else: ?>

                            <div class="single-blog">

                                <div class="part-text">
                                    <h2><a href="javascript:void(0)" class="no-text-decoration cursor-default">
                                           No Blogs Found !!
                                        </a></h2>
                                </div>
                            </div>


                        <?php endif; ?>
                    </div>


                </div>


                <div class="col-xl-4 col-sm-12 col-lg-4">
                    <div class="blog-right-side">

                        <div class="row">
                            <div class="col-xl-12 col-sm-12 col-md-6 col-lg-12">

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

                                <?php echo $__env->make('partials.category-list', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                            </div>

                            <?php echo $__env->make('partials.latest-blog', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                        </div>

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




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

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