Manage Stories
@if(session('success'))
@endif
@if($stories->isNotEmpty())
{{ $stories->links() }}
@else
{{ session('success') }}
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)
|
@if($story->story_banner)
|
{!! Str::limit(strip_tags($story->content), 100) !!} | Edit |
No stories found.
@endif