/home/kueuepay/public_html/storage/framework/views/316dd6cf10589d85100812371d3b3c383df8f821.php
<?php
    $app_local  = get_default_language_code();
    $default    = App\Constants\LanguageConst::NOT_REMOVABLE;
    $slug       = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::ANNOUNCEMENT_SECTION);
    $journal    = App\Models\Admin\SiteSections::getData($slug)->first();
?>

<?php $__env->startSection('content'); ?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Start Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<section class="blog-section ptb-80">
    <div class="container">
        <div class="section-tag">
            <span class="d-flex align-items-center">
                <p><?php echo e($journal->value->language->$app_local->title ?? $journal->value->language->$default->title ?? ''); ?></p> <i class="las la-cog"></i>
            </span>
            <div class="section-element">
                <img src="<?php echo e(asset('public/frontend')); ?>/images/element/section-element.webp">
            </div>
        </div>
        <div class="row mb-40">
           <div class="col-xl-8 lg-10">
               <h2 class="title"><?php echo e($journal->value->language->$app_local->heading ?? $journal->value->language->$default->heading ?? ''); ?></h2>
               <p><?php echo e($journal->value->language->$app_local->sub_heading ?? $journal->value->language->$default->sub_heading ?? ''); ?></p>
           </div>
        </div>
        <div class="blog-wrapper">
            <div class="row mb-20-none">
                <?php $__currentLoopData = $journals ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-lg-4 col-md-6 mb-20">
                    <div class="blog-item">
                        <div class="blog-img">
                            <img src="<?php echo e(get_image($item->data->image ?? '' ,'site-section')); ?>">
                        </div>
                        <div class="blog-content">
                            <h3 class="title"><?php echo e(Str::words($item->data->language->$app_local->title ?? $item->data->language->$default->title ?? '',"5","...")); ?></h3>
                            <P class="sub-title"><?php echo Str::words($item->data->language->$app_local->description ?? $item->data->language->$default->description ?? '',"15","..."); ?></P>
                        </div>
                        <div class="blog-footer">
                            <div class="blog-btn">
                                <a href="<?php echo e(setRoute('frontend.journal.details',$item->slug)); ?>" class="btn--base"><?php echo e(__("Visit Blog")); ?></a>
                            </div>
                            <div class="blog-date">
                                <p><i class="las la-clock"></i> <span><?php echo e(\Carbon\Carbon::parse($item->created_at)->format('F j, Y')); ?></span></p>
                            </div>
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </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 /home/kueuepay/public_html/resources/views/frontend/pages/journal.blade.php ENDPATH**/ ?>
Best Practice

Best Practices

To ensure a smooth integration process and optimal performance, follow these best practices:

  1. Use secure HTTPS connections for all API requests.
  2. Implement robust error handling to handle potential issues gracefully.
  3. Regularly update your integration to stay current with any API changes or enhancements.