<?php $__env->startSection('content'); ?>
    <!-- page-title -->
    <div class="prt-titlebar-wrapper prt-bg about-img">
        <div class="prt-titlebar-wrapper-bg-layer prt-bg-layer"></div>
        <div class="prt-titlebar-wrapper-inner">
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-12">
                        <div class="prt-page-title-row-heading">
                            <div class="page-title-heading">
                                <h2 class="title">News Room's Details</h2>
                            </div>
                            <div class="breadcrumb-wrapper">
                                <i class="flaticon-home"></i>
                                <span>
                                    <a title="Homepage" href="/">Home</a>
                                </span>
                                <div class="prt-sep"> - </div>
                                <span>
                                    <a title="Blog" href="<?php echo e(route('newsroom')); ?>">News Room</a>
                                </span>
                                <div class="prt-sep"> - </div>
                                <span><?php echo e($newsrooms->title); ?></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- page-title end -->

    <!-- ==================== Start Blog ==================== -->

    <section class="sidebar prt-sidebar-left prt-row">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-8">
                    <div class="single-blog">
                        <?php if(isset($newsrooms->image)): ?>
                            <div class="thumb" style="position: relative; overflow: hidden; border-radius: 8px;">
                                <img src="<?php echo e(asset('backend/images/newsroom/' . $newsrooms->image)); ?>" alt="<?php echo e($newsrooms->title); ?>" class="w-100" onerror="this.onerror=null; this.src='<?php echo e(asset('frontend/img/pg1.jpg')); ?>'" style="transition: transform 0.3s ease;">
                            </div>
                        <?php endif; ?>
                        <div class="content pt-4">
                            <span class="post-date">
                                <i class="fa fa-calendar" style="margin-right: 5px;"></i>
                                <?php echo e(date('d F Y', strtotime($newsrooms->created_at))); ?>

                            </span>
                            <h2 class="mt-3">
                                <?php echo e($newsrooms->title); ?>

                            </h2>
                            <p>
                                <?php echo $newsrooms->description; ?>

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

                </div>

                <div class="col-lg-4 widget-area sidebar-left">
                    <div class="prt-blog-sidebar-content">

                        <aside class="widget widget-recent-post with-title">
                            <h3 class="widget-title">Related Posts</h3>
                            <ul class="widget-post prt-recent-post-list">
                                <?php $__currentLoopData = $related; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $related_newsroom): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li>
                                        <div class="post-img">
                                            <img width="80" height="80"
                                                src="<?php echo e(asset('backend/images/newsroom/' . $related_newsroom->image)); ?>"
                                                alt="<?php echo e($related_newsroom->title); ?>">
                                        </div>
                                        <div class="post-detail">
                                            <a
                                                href="<?php echo e(route('newsrooms', $related_newsroom->slug)); ?>"><?php echo e($related_newsroom->title); ?></a>
                                            <span
                                                class="post-date"><?php echo e(date('d F Y', strtotime($newsrooms->created_at))); ?></span>
                                        </div>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                        </aside>

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

    <!-- ==================== End Blog ==================== -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\tpl-groups\resources\views/frontend/view-newsroom.blade.php ENDPATH**/ ?>