@php
$app_local = get_default_language_code();
$default = App\Constants\LanguageConst::NOT_REMOVABLE;
@endphp
@extends('frontend.layouts.master')
@push("css")
@endpush
@section('content')
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Start Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<section class="blog-section section--bg ptb-120">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-6 col-lg-8 text-center">
<div class="section-header">
<h3>{{ $blog_category->name->language->$app_local->name ?? $blog_category->name->language->$default->name ?? '' }} {{ __("Category") }}</h3>
</div>
</div>
</div>
<div class="row justify-content-center mb-30-none">
@foreach ($blogs ?? [] as $item)
<div class="col-xl-4 col-lg-6 col-md-6 mb-30">
<div class="blog-item">
<div class="blog-thumb">
<img src="{{ get_image($item->data->image ?? '' ,'site-section') }}" alt="blog">
</div>
<div class="blog-content">
<span class="date"><i class="las la-calendar"></i> {{ \Carbon\Carbon::parse($item->created_at)->format('F j, Y') }}</span>
<h5 class="title"><a href="{{ setRoute('frontend.journal.details',$item->slug) }}">{{ Str::words($item->data->language->$app_local->title ?? $item->data->language->$default->title ?? '',"5","...") }}</a></h5>
</div>
</div>
</div>
@endforeach
</div>
{{ get_paginate($blogs) }}
</div>
</section>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
End Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
@endsection
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.