<?php $__env->startSection('title', $blog->title); ?>

<?php $__env->startSection('content'); ?>
<section class="py-5">
    <div class="container">

        <div class="mb-4 text-center">
            <h1 class="fw-bold"><?php echo e($blog->title); ?></h1>
            <?php if($blog->published_at): ?>
                <p class="text-muted">
                    <?php echo e($blog->published_at->format('F d, Y')); ?>

                </p>
            <?php endif; ?>
        </div>

        <?php if($blog->image): ?>
            <div class="mb-4 text-center">
                <img src="<?php echo e(asset('storage/'.$blog->image)); ?>"
                     class="img-fluid rounded shadow"
                     style="max-height:450px;object-fit:cover"
                     alt="<?php echo e($blog->title); ?>">
            </div>
        <?php endif; ?>

        <div class="blog-content">
            <?php echo nl2br(e($blog->content)); ?>

        </div>

    </div>
</section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /usr/local/var/www/memafarms/resources/views/frontend/blog_detail.blade.php ENDPATH**/ ?>