

<?php $__env->startSection('content'); ?>
<div class="container py-5">
    <div class="row justify-content-center">
        <div class="col-lg-8">

            <!-- Blog Card -->
            <div class="card shadow-lg border-0 rounded-3">
                <?php if($blog->image): ?>
                    <img src="<?php echo e(asset('storage/'.$blog->image)); ?>" 
                         alt="<?php echo e($blog->title); ?>" 
                         class="card-img-top img-fluid rounded-top"
                         style="max-height:400px; object-fit:cover;">
                <?php endif; ?>

                <div class="card-body p-4">
                    <!-- Blog Title -->
                    <h1 class="card-title fw-bold mb-3 text-center"><?php echo e($blog->title); ?></h1>

                    <!-- Divider -->
                    <hr class="my-4">

                    <!-- Blog Content -->
                    <div class="card-text fs-5 lh-lg text-muted">
                        <?php echo $blog->content; ?>

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

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

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\trinex\resources\views/show.blade.php ENDPATH**/ ?>