2024-08-24 23:08:42 +03:00
|
|
|
@extends('layouts.layout')
|
|
|
|
|
|
|
|
|
2024-08-27 18:46:07 +03:00
|
|
|
@section('app')
|
2024-08-24 23:08:42 +03:00
|
|
|
|
2024-08-28 21:02:13 +03:00
|
|
|
<section class="inner-hero list-hero bg_img dark--overlay lazy" data-bg="{{ asset('images/breadcrumb.webp') }}">
|
2024-08-27 18:46:07 +03:00
|
|
|
<div class="container position-relative">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
2024-08-28 21:02:13 +03:00
|
|
|
<h1 class="text-center h2"><span class="px-2 base--color"><i class="las la-search"></i></span>{{ $meta['page_title'] ?? $meta['title'] }}</h1>
|
|
|
|
{{-- <ul class="page-breadcrumb d-flex justify-content-center">
|
2024-08-27 18:46:07 +03:00
|
|
|
<li><a href="{{route('home')}}" class="">Home</a></li>
|
|
|
|
<li>Search results for: {{ $query }}</li>
|
2024-08-28 21:02:13 +03:00
|
|
|
</ul> --}}
|
2024-08-27 18:46:07 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="pt-80 pb-80">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row mb-none-30 ajaxLoad">
|
|
|
|
@forelse($data as $item)
|
|
|
|
@include('components.title_card', ['is_list' => true])
|
|
|
|
@if($loop->last)
|
|
|
|
@if($pagination->hasMorePages())
|
|
|
|
<a href="{{ route($meta['route']->getName(), array_merge($meta['route']->parameters, ['page' => $pagination->currentPage() + 1, 'search' => $query])) }}" data-params="{{base64_encode(json_encode( ['page' => $pagination->currentPage() + 1,
|
|
|
|
'route_parameters' => $meta['route']->parameters,
|
|
|
|
'route' => route('api.'.$meta['route']->getName()), 'has_more_pages' => $pagination->hasMorePages(), 'search' => $query ]))}}" data-lazy-function="more" id="next-page" class="text-center w-10" title="Load More">
|
|
|
|
<img width="120" height="120" src="{{ asset('images/loading.svg') }}" alt="Load More">
|
|
|
|
</a>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@empty
|
|
|
|
<div class="col-xl-4 col-lg-4 col-md-6 col-sm-12 col-xs-12 mb-30 mx-auto">
|
|
|
|
<img src="{{ asset('images/no-results.png') }}" alt="No Results">
|
|
|
|
</div>
|
|
|
|
@endforelse
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
|
|
|
|
@push('footer')
|
|
|
|
@vite(['resources/js/load-more.js'])
|
|
|
|
|
|
|
|
@endpush
|
|
|
|
|