@include('shared.message')
@if(count($images) == 0)
{{ __('No results found.') }}
@else
{{ __('Name') }}
{{ __('Resolution') }}
{{ __('Created at') }}
@foreach($images as $image)
{{ $image->name }}
@if($image->favorite)
@include('icons.star', ['class' => 'fill-current width-4 height-4 flex-shrink-0'])
@endif
{{ config('images.resolutions')[$image->resolution] }}
{{ $image->created_at->diffForHumans() }}
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $images->firstItem(), 'to' => $images->lastItem(), 'total' => $images->total()]) }}
{{ $images->onEachSide(1)->links() }}
@endif