{{ __('Stories') }}

@if ($stories->count()) @foreach ($stories as $story)
@if ($story->isPublished())
{{ __('Published') }}
@else
{{ __('Draft') }}
@endif @if ($story->isPublished())
{{ views($story)->count() }}
@endif
{{ $story->created_at->diffForHumans() }}
@can('pin', $story) @if ($story->userPinnedStories()->count() < 5) @if ($story->is_pinned === 0) @else @endif @else @if ($story->is_pinned !== 0) @endif @endif @endcan @can('update', $story) {{ __('Edit') }} @endcan @can('delete', $story) @endcan
@if ($story->getFirstMedia('featured-image'))
{!! $story->getFirstMedia('featured-image')->img('', ['class' => 'h-16 w-28 min-w-[7rem] object-cover', 'alt' => $story->title]) !!}
@endif
{{ $story->title }} @if (isset($story->summary))
{{ $story->summary }}
@endif @if ($story->tags->isNotEmpty())
@foreach ($story->tags as $tag) {{ '#' . $tag->name }} @endforeach
@endif
@endforeach @if ($stories->hasMorePages())
{{ __('Load more') }}
@endif @else

{{ __('No results') }}

@endif