

<?php $__env->startSection('title', $post->title); ?>
<?php $__env->startPush('styles'); ?>



<link rel="stylesheet" href="<?php echo e(asset('assets/css/module-css/blog.css')); ?>" />



<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
    <?php echo $__env->make('layouts.partials.page_header', [
        'title' => $post->title,
        'breadcrumbs' => [
            ['label' => 'Home', 'url' => route('home')],
            ['label' => 'Blog', 'url' => route('blog.index')],
            ['label' => $post->title, 'url' => '']
        ]
    ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <!--Blog Details Start-->
    <section class="blog-details">
        <div class="container">
            <div class="row">
                <!-- Left Column: Post Content -->
                <div class="col-xl-8 col-lg-7">
                    <div class="blog-details__left">
                        <div class="blog-details__img-box">
                            <div class="blog-details__img">
                                <img
                                    src="<?php echo e($post->featured_image ? asset('storage/' . $post->featured_image) : asset('images/blog/blog-details-img-1.jpg')); ?>"
                                    alt="<?php echo e($post->title); ?>">
                            </div>
                        </div>
                        <div class="blog-details__content">
                            <h3 class="blog-details__title-1"><?php echo e($post->title); ?></h3>
                            <div class="blog-details__client-and-meta">
                                <div class="blog-details__client-box">
                                    <div class="blog-details__client-img">
                                        <img
                                            src="<?php echo e($post->author->profile_photo_path ? asset('storage/' . $post->author->profile_photo_path) : asset('images/blog/blog-details-client-img-1.jpg')); ?>"
                                            alt="">
                                    </div>
                                    <div class="blog-details__client-content">
                                        <p>Published By</p>
                                        <h4><?php echo e($post->author->name); ?></h4>
                                    </div>
                                </div>
                                <ul class="blog-details__client-meta list-unstyled">
                                    <li>
                                        <div class="icon"><span class="icon-calendar"></span></div>
                                        <p><?php echo e($post->published_at->format('M d, Y')); ?></p>
                                    </li>
                                    <li>
                                        <div class="icon"><span class="icon-tags"></span></div>
                                        <p><?php echo e($post->category->name ?? 'General'); ?></p>
                                    </li>
                                    <li>
                                        <div class="icon"><span class="icon-comments"></span></div>
                                        <p>(Comments)</p>
                                    </li>
                                </ul>
                            </div>
                            <div class="blog-details__text-content">
                                <?php echo $post->content; ?>

                            </div>
                            <div class="blog-details__tag-and-share">
                                <div class="blog-details__tag">
                                    <span>Tags:</span>
                                    <a href="#">Scholarship</a>
                                    <a href="#">Study Abroad</a>
                                    <a href="#">Admission</a>
                                </div>
                                <div class="blog-details__share">
                                    <span>Share</span>
                                    <a href="#"><i class="fab fa-pinterest-p"></i></a>
                                    <a href="#"><i class="fab fa-instagram"></i></a>
                                    <a href="#"><i class="fab fa-facebook-f"></i></a>
                                </div>
                            </div>

                            <!-- Comments Section (Static for now, can be dynamic later) -->
                            <div class="comment-one">
                                <h3 class="comment-one__title">Comments (0)</h3>
                                <ul class="comment-one__single-list list-unstyled">
                                    <li>
                                        <div class="comment-one__single">
                                            <div class="comment-one__image-box">
                                                <div class="comment-one__image">
                                                    <img src="<?php echo e(asset('images/blog/comment-1-1.jpg')); ?>" alt="">
                                                </div>
                                            </div>
                                            <div class="comment-one__content">
                                                <div class="comment-one__name-box">
                                                    <h4>Sample User <span>Student</span></h4>
                                                </div>
                                                <p>This is a static comment placeholder. The comments system can be
                                                    implemented later.</p>
                                                <div class="comment-one__btn-box">
                                                    <a href="#" class="comment-one__btn">Reply</a>
                                                    <span><?php echo e(date('M d, Y')); ?></span>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>

                            <!-- Comment Form (Static for now) -->
                            <div class="comment-form">
                                <h3 class="comment-form__title">Leave a Comment</h3>
                                <form action="#" class="comment-form__form contact-form-validated" method="post">
                                    <?php echo csrf_field(); ?>
                                    <div class="row">
                                        <div class="col-xl-6 col-lg-6">
                                            <div class="comment-form__input-box">
                                                <input type="text" placeholder="Full Name" name="name">
                                            </div>
                                        </div>
                                        <div class="col-xl-6 col-lg-6">
                                            <div class="comment-form__input-box">
                                                <input type="email" placeholder="Email Address" name="email">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-xl-12">
                                            <div class="comment-form__input-box text-message-box">
                                                <textarea name="message" placeholder="Write Your Comment"></textarea>
                                            </div>
                                            <div class="comment-form__btn-box">
                                                <button type="submit" class="comment-form__btn"><span
                                                        class="icon-arrow-circle"></span>Submit Comment
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Right Sidebar -->
                <div class="col-xl-4 col-lg-5">
                    <?php echo $__env->make('blog.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                </div>
            </div>
    </section>
    <!--Blog Details End-->

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

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