
<?php
    $app_local = get_default_language_code();
?>


<?php $__env->startSection('content'); ?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Start Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<section class="blog-section ptb-120">
    <div class="container">
        <div class="row mb-30">
            <div class="col-xl-8 col-lg-7 col-md-12 mb-30">
                <div class="row justify-content-center mb-30-none">
                    <div class="col-xl-12 mb-30">
                        <div class="blog-item-details">
                            <div class="blog-thumb">
                                <img src="<?php echo e(get_image($journal->data->image ?? '', 'site-section')); ?>" alt="blog">
                            </div>
                            <div class="blog-content">
                                <h3 class="title"><?php echo e($journal->data->language->$app_local->title ?? ""); ?></h3>
                                <?php echo $journal->data->language->$app_local->description ?? ""; ?>

                                <div class="blog-tag-wrapper">
                                    <span><?php echo e(__("Tags")); ?>:</span>
                                    <ul class="blog-footer-tag">
                                        <?php
                                            $tags    = $journal->data->language->$app_local->tags ?? [];
                                        ?>
                                        <?php $__currentLoopData = $tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li><a href="#0"><?php echo e($item); ?></a></li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>    
                                    </ul>
                                </div>
                                <div class="blog-social-area d-flex flex-wrap justify-content-between align-items-center">
                                    <h3 class="title"><?php echo e(__("Share This Post")); ?></h3>
                                    <ul class="blog-social">
                                        <li><a href="<?php echo e('https://www.facebook.com/sharer.php?u='.url('/').'/journal-details/'.$journal->slug.'&display=popup'); ?>" target="_blank"><i class="lab la-facebook-f"></i></a></li>
                                        <li><a href="<?php echo e('https://twitter.com/intent/tweet?url='.url('/').'/journal-details/'.$journal->slug.'&display=popup'); ?>" target="_blank" class="active"><i class="lab la-twitter"></i></a></li>
                                        <li><a href="<?php echo e('http://pinterest.com/pin/create/bookmarklet/?url='.url('/').'/journal-details/'.$journal->slug.'&display=popup'); ?> " target="_blank"><i class="lab la-pinterest-p"></i></a></li>
                                        <li><a href="<?php echo e('https://www.linkedin.com/sharing/share-offsite/?url='.url('/').'/journal-details/'.$journal->slug.'&display=popup'); ?>" target="_blank"><i class="lab la-linkedin-in"></i></a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xl-4 col-lg-5 col-md-12 mb-30">
                <div class="blog-sidebar">
                    <div class="widget-box mb-30">
                        <h4 class="widget-title"><?php echo e(__("Recent Posts")); ?></h4>
                        <div class="popular-widget-box">
                            <?php $__currentLoopData = $total_journals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="single-popular-item d-flex flex-wrap align-items-center">
                                    <div class="popular-item-thumb">
                                        <a href=""><img src="<?php echo e(get_image($item->data->image ?? '' , 'site-section')); ?>" alt="blog"></a>
                                    </div>
                                    <div class="popular-item-content">
                                        <?php
                                            $date = $item->created_at ?? "";
                                            $formattedDate = date('M d, Y', strtotime($date));
                                        ?>
                                        <span class="date"><?php echo e($formattedDate); ?></span>
                                        <h5 class="title"><a href="<?php echo e(setRoute('frontend.journal.details',$item->slug)); ?>"><?php echo e($item->data->language->$app_local->title ?? ''); ?></a></h5>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    End Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\adoctor-update_version\resources\views/frontend/pages/journal-details.blade.php ENDPATH**/ ?>