/home/kueuepay/public_html/resources/views/frontend/section/testimonial.blade.php
@php
    $app_local = get_default_language_code();
    $default        = App\Constants\LanguageConst::NOT_REMOVABLE;
    $slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::TESTIMONIAL);
    $testimonial = App\Models\Admin\SiteSections::getData($slug)->first();
@endphp
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Start Testimonial
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<section class="testimonial-section pt-80">
    <div class="container">
        <div class="section-tag">
            <span class="d-flex align-items-center">
                <p>{{ $testimonial->value->language->$app_local->title ?? $testimonial->value->language->$default->title ?? '' }}</p> <i class="las la-cog"></i>
            </span>
            <div class="section-element">
                <img src="{{ asset('public/frontend') }}/images/element/section-element.webp">
            </div>
        </div>
        <div class="row">
            <div class="col-xl-8 col-lg-10">
                <div class="section-title mb-40">
                    <h2 class="title">{{ $testimonial->value->language->$app_local->heading ?? $testimonial->value->language->$default->heading ?? '' }}</h2>
                    <p class="sub-title">
                        {{ $testimonial->value->language->$app_local->sub_heading ?? $testimonial->value->language->$default->sub_heading ?? '' }}
                    </p>
                </div>
            </div>
        </div>
        <div class="row mb-40-none">
            <div class="col-lg-12 col-md-12 mb-40">
                <div class="testimonial-section">
                    <div class="testimonial-slider">
                        <div class="swiper-wrapper">
                            @foreach ($testimonial->value->items ?? [] as $item)
                                <div class="swiper-slide">
                                    <div class="testimonial">
                                        <div class="testimonial-content">
                                            <p>{{ $item->language->$app_local->comment ?? $item->language->$default->comment ?? '' }}
                                            </p>
                                        </div>
                                        <div class="testimonial-info">
                                            <div class="pic">
                                                <img src="{{ get_image($item->image ?? '','site-section') }}">
                                            </div>
                                            <h3 class="testimonial-title">
                                                <a href="#">{{ $item->name ?? '' }}</a>
                                            </h3>
                                        </div>
                                    </div>
                                </div> 
                            @endforeach
                        </div>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
        </div>
    </div>
</section>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    End Testimonial
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
Prerequisites

Prerequisites

Before you begin integrating the Kueue Pay Developer API, make sure you have:

  1. An active Kueue Pay merchant account.
  2. Basic knowledge of API integration and web development with PHP & Laravel.
  3. A secure and accessible web server to handle API requests.