

<?php $__env->startSection('title'); ?>
Blog Details
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
 <section id="blog-details" class="py-5">
        <div class="container">
            <div class="row">
                <div class="col-md-8">
                   
                    <div class="blog-cart">
                        <div class="blog-image">
                            <img src="<?php echo e(asset('uploads/blog')); ?>/<?php echo e($blog->image); ?>" alt="">
                        </div>
                        <div class="blog-desc">
                            <div class="blog-title">
                                <h5><?php echo e($blog->title); ?></h5>
                            </div>
                            <div class="blog-date">
                                <p><strong>Posted On: </strong><?php echo e($blog->created_at->format('d M Y')); ?><strong>By: </strong> Admin</p>
                            </div>
                            <div class="blog-body">
                                <p><?php echo $blog->description; ?></p>
                            </div>
                            
                        </div>
                    </div>
                 
                    
                </div>
                <div class="col-md-4">
                    <div class="blog-sidebar">
                        <h3>Latest Post</h3>
                        <?php $__currentLoopData = $all_blog_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="sidebar-cart">
                            <div class="row">
                                <div class="col-6">
                                    <img src="<?php echo e(asset('uploads/blog')); ?>/<?php echo e($list->image); ?>" alt="">
                                </div>
                                <div class="col-6">
                                    <h6><?php echo e(Illuminate\Support\Str::limit($blog->title, 20)); ?></h6>
                                    <a href="<?php echo e(url('blog_details')); ?>/<?php echo e($list->id); ?>">View Post</a>
                                </div>
                            </div>
                        </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                </div>
            </div>
        </div>
    </section>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Hafeez_Works_UIT\FashionTrailor\FashionTailor\resources\views/frontend/blog_details.blade.php ENDPATH**/ ?>