<?php $__env->startSection('title', $blog->title . ' | Dr. Rajan Shah'); ?>

<?php if($blog->meta_description): ?>
    <?php $__env->startSection('meta_description', $blog->meta_description); ?>
<?php endif; ?>

<?php $__env->startSection('content'); ?>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
    <div class="mb-8">
        <a href="<?php echo e(route('blogs.index')); ?>" class="text-teal-600 hover:text-teal-800 font-medium">&larr; Back to all blogs</a>
    </div>

    <article class="bg-white rounded-lg shadow-md overflow-hidden">
        <?php if($blog->image_url): ?>
            <img class="w-full h-auto" src="<?php echo e($blog->image_url); ?>" alt="<?php echo e($blog->title); ?>">
        <?php endif; ?>
        
        <div class="p-8">
            <header class="mb-8 border-b pb-8">
                <h1 class="text-3xl font-bold text-gray-900 sm:text-4xl mb-4"><?php echo e($blog->title); ?></h1>
                <p class="text-gray-500">Published on <?php echo e($blog->created_at->format('F d, Y')); ?></p>
            </header>
            
            <div class="prose prose-teal prose-lg max-w-none text-gray-800">
                <?php echo $blog->content; ?>

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

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/sumankc/Desktop/ Websites/Dr Rajan/resources/views/blogs/show.blade.php ENDPATH**/ ?>