
<div class="row gy-4 justify-content-center mt-2">
    <?php $__empty_1 = true; $__currentLoopData = $blogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
    <div class="col-xl-4 col-lg-4 col-md-6 col-12">
        <div class="card">
            <div class="thumb">
                <img src="<?php echo e(getImage(getFilePath('blog').'/'.@$item->data_values->blog_image)); ?>" alt="<?php echo app('translator')->get('image'); ?>">
            </div>
            <div class="content">
                <a href="<?php echo e(route('blog.details', ['slug' => slug($item->data_values->title), 'id' => $item->id])); ?>">
                    <h5>
                        <?php if(strlen(__(@$item->data_values->title)) >40): ?>
                        <?php echo e(substr(__(@$item->data_values->title), 0,40).'...'); ?>

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

                        <?php endif; ?>
                    </h5>
                </a>
                <p>
                    <?php if(strlen(__(strip_tags(@$item->data_values->description))) > 45): ?>
                    <?php echo e(substr(__(strip_tags(@$item->data_values->description)), 0, 45) . '...'); ?>

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

                    <?php endif; ?>
                </p>
            </div>
        </div>
    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
    <h2 class="text-center"><?php echo e(__($emptyMessage)); ?></h2>
    <?php endif; ?>
</div>
<?php /**PATH /home/webtechscom/public_html/smm.webtechs.com.ng/application/resources/views/presets/themeTwo/components/blog.blade.php ENDPATH**/ ?>