<?php $__env->startSection('content'); ?>
<!-- ==================== Blog Start Here ==================== -->
<section class="blog-detials py-60">
    <div class="container">
        <div class="row gy-5 justify-content-center">
            <div class="col-lg-8">
                <div class="blog-details">

                    <div class="blog-item">
                        <div class="blog-item__thumb">
                            <img src="<?php echo e(getImage(getFilePath('blog').'/'. $blog->data_values->blog_image)); ?>" alt="blog-img">
                        </div>
                        <div class="blog-item__content pt-3">
                            <ul class="text-list inline">
                                <li class="text-list__item"> <span class="text-list__item-icon"><i class="fas fa-calendar-alt"></i></span> <?php echo e(showDateTime($blog->created_at)); ?></li>
                            </ul>
                        </div>
                    </div>
                   <div class="blog-details__content wyg">
                        <h3 class="blog-details__title"><?php echo e(__($blog->data_values->title)); ?></h3>
                        <div class="blog-details__desc wyg">
                            <?php
                               echo $blog->data_values->description;
                            ?>
                        </div>
                        <div class="blog-details__share mt-4 d-flex align-items-center flex-wrap mb-4">
                            <h5 class="social-share__title mb-0 me-sm-3 me-1 d-inline-block"><?php echo app('translator')->get('Share This'); ?></h5>
                            <ul class="social-list blog-details">
                                <li class="social-list__item" data-bs-toggle="tooltip" data-bs-placement="top" title="Facebook"> <a class="social-list__link" target="_blank" href="https://www.facebook.com/share.php?u=<?php echo e(Request::url()); ?>&title=<?php echo e(slug(@$blog->data_values->title)); ?>"><i class="lab la-facebook-f"></i></a> </li>
                                <li class="social-list__item" data-bs-toggle="tooltip" data-bs-placement="top" title="Linkedin"> <a class="social-list__link" target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo e(Request::url()); ?>&title=<?php echo e(slug(@$blog->data_values->title)); ?>&source=behands"><i class="lab la-linkedin-in"></i></a> </li>
                                <li class="social-list__item" data-bs-toggle="tooltip" data-bs-placement="top" title="Twitter"> <a class="social-list__link" target="_blank" href="https://twitter.com/intent/tweet?status=<?php echo e(slug(@$blog->data_values->title)); ?>+<?php echo e(Request::url()); ?>"><i class="lab la-twitter"></i></a> </li>
                            </ul>
                        </div>
                   </div>
                </div>
            </div>

            <div class="col-lg-4">
                <!-- ============================= Blog Details Sidebar Start ======================== -->
<div class="blog-sidebar-wrapper">
    <div class="blog-sidebar">
        <h5 class="blog-sidebar__title"><?php echo app('translator')->get('Latests'); ?></h5>
        <?php $__currentLoopData = $latests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="latest-blog">
            <div class="latest-blog__thumb">
                <a href="<?php echo e(route('blog.details', ['slug' => slug($item->data_values->title), 'id' => $item->id])); ?>"> <img src="<?php echo e(getImage(getFilePath('blog').'/'. $item->data_values->blog_image)); ?>" alt="latest blog"></a>
            </div>
            <div class="latest-blog__content">
                <h6 class="latest-blog__title"><a href="<?php echo e(route('blog.details', ['slug' => slug($item->data_values->title), 'id' => $item->id])); ?>">
                    <?php if(strlen(__($item->data_values->title)) >50): ?>
                       <?php echo e(substr( __($item->data_values->title), 0,50).'...'); ?>

                    <?php else: ?>
                        <?php echo e(__($item->data_values->title)); ?>

                    <?php endif; ?>
                </a></h6>
                <span class="latest-blog__date"><?php echo e(showDateTime($item->created_at)); ?></span>
            </div>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

</div>
<!-- ============================= Blog Details Sidebar End ======================== -->
            </div>
        </div>
    </div>
</section>
<!-- ==================== Blog End Here ==================== -->
<?php $__env->stopSection(); ?>

<?php $__env->startPush("style"); ?>
<style>
    .wyg h1, .wyg h2, .wyg h3, .wyg h4 {
        color:hsl(var(--black));
    }
    .wyg p{
        color:hsl(var(--black));
    }
    .wyg ul {
        margin: 35px;
    }
    .wyg ul li{
        list-style-type: disc;
        color:hsl(var(--black));
    }

    /*========= dark css =======*/
    .dark .wyg h1, .dark .wyg h2, .dark .wyg h3, .dark .wyg h4 {
        color:hsl(var(--white)/.6);
    }
    .dark .wyg p{
        color:hsl(var(--white)/.6);
    }
    .dark .wyg ul {
        margin: 35px;
    }
    .dark .wyg ul li{
        list-style-type: disc;
        color:hsl(var(--white)/.6);
    }
</style>
<?php $__env->stopPush(); ?>


<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/webtechscom/public_html/smm.webtechs.com.ng/application/resources/views/presets/default/blog_details.blade.php ENDPATH**/ ?>