@if ($posts->isNotEmpty())
@foreach ($posts as $post) @if ($loop->first)
{{ RvMedia::image($post->image, $post->name, 'featured', attributes: ['loading' => 'eager']) }}

{{ $post->name }}

@else
{{ RvMedia::image($post->image, $post->name, 'medium', attributes: ['loading' => 'eager']) }}

{{ $post->name }}

@if ($loop->last)
@endif @endif @endforeach
@endif