<div class="col-xl-12 col-sm-12 col-md-6 col-lg-12">
    <div class="post-widget">
        <div class="title">
            <h3>Latest Posts</h3>
        </div>

        <?php $__currentLoopData = $post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="single-post">
            <div class="part-img">
                <img src="<?php echo e(asset('assets/images/post/'.$data->image)); ?>" alt="">
            </div>
            <div class="part-text">
                <a href="<?php echo e(route('blog.details',[$data->id,str_slug($data->title)])); ?>">
                    <?php echo e($data->title); ?>

                </a>
                <h5><span><i class="far fa-clock"></i></span><?php echo e($data->created_at->diffForHumans()); ?></h5>
            </div>
        </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    </div>


</div>
