Manage Stories

@if(session('success')) @endif @if($stories->isNotEmpty()) @foreach($stories as $story) @endforeach
Story Title Story Slug Story Images Story Banner Story Actions
{{ $story->story_title }} {{ $story->story_slug }} @if($story->images) @php $images = json_decode($story->images, true); $randomImage = $images[array_rand($images)]; // Select a random image @endphp @if($randomImage) Story Image @else No Images @endif @else No Images @endif @if($story->story_banner) Story Banner @else No Banner @endif {!! Str::limit(strip_tags($story->content), 100) !!} Edit
@csrf @method('DELETE')
{{ $stories->links() }} @else

No stories found.

@endif