@if ($stories->isEmpty())
Our first stories are on the way. Please check back soon.
@else
@php
$featured = $stories->currentPage() === 1 ? $stories->first() : null;
$rest = $featured ? $stories->slice(1) : $stories;
@endphp
@if ($featured)
@if ($featured->thumb_url)
@else
@endif
Latest story
{{ $featured->read_minutes }} min read
{{ $featured->excerpt }}
Read story
@endif
@if ($rest->isNotEmpty())
@if ($featured)
@endif
@foreach ($rest as $story)
- @include('partials.story-card', ['story' => $story])
@endforeach
@endif
{{ $stories->links() }}
@endif