@extends('layouts.layout') @section('app')

{{$meta['title']}}

@forelse($data as $item) @include('components.title_card', ['is_list' => true]) @if($loop->last) {{-- {{dd($meta['route']->parameters)}} --}} @if($pagination->hasMorePages()) Load More @endif @endif @empty
No Results
@endforelse
{{-- {{ $pagination->links('components.paginator', ['route' => ['name' => $meta['route']->getName(), 'params'=> $meta['route']->parameters]]) }} --}}
{{--

{{ $meta['page_title'] ?? $meta['title']}}

@if(!$pagination->onFirstPage()) Page {{$pagination->currentPage()}} @endif
@foreach ($data as $item) @includeWhen($type == 'movie', 'components.movie_card') @includeWhen($type == 'show', 'components.show_card') @endforeach
--}} {{--

{{ $meta['title']}} @unless($pagination->onFirstPage()) Page {{ $pagination->currentPage() }} @endunless

--}} @endsection @section('footer') @endsection