@extends('layouts.admin') @section('title', $story->title) @section('content')
← All Stories

{{ $story->title }}

{{ $story->description }}

Edit Story {{-- Route na mile (routes/web.php upload na hui / route cache) to page crash na ho β€” button bas na dikhe --}} @if (Route::has('admin.stories.clean_words'))
@csrf
@endif
@csrf @method('DELETE')
{{-- Cover Image β€” 9:16, reel/Short ka cover (khud upload) --}}

πŸ–ΌοΈ Cover Image

9:16 image upload karo. Yahi image Instagram/YouTube reel/Short ka cover (thumbnail) banegi.

@if ($story->cover_image) Cover @else
Koi cover nahi
@endif
{{-- Khud se image upload karo --}}
@csrf

JPG/PNG chalega. Reel cover ke liye JPG behtar hai. Max 5 MB.

{{-- Pixabay se free cover photo --}}
@foreach ([ 'lonely road', 'night sky moon', 'rain window', 'foggy forest', 'old temple', 'village india', 'candle dark', 'sunrise mountain', 'empty house', 'train track', 'children playing', 'grandmother hands', 'diya lamp', 'river sunset', ] as $s)

πŸ’‘ Pixabay ANGREZI me hi theek dhoondhta hai β€” box par click karo to suggestions dikhengi.

Pixabay License β€” commercial use allowed, attribution zaroori nahi. Sirf khadi (9:16 jaisi) photos.

@push('scripts') @endpush @php($part = $story->parts->first()) {{-- Reel & auto-post settings --}}
@include('admin.partials._reel_settings')
{{-- Story ke cards (single part) --}}

πŸ–ΌοΈ Cards

@if ($part) πŸ–ΌοΈ Make / Edit Cards @endif
@if (! $part)
Story text nahi mila. Edit Story me text daalo.
@else {{-- Story text preview --}}

{{ Str::limit($part->body, 300) }}

{{-- Saved cards preview --}} @if ($part->cards->isNotEmpty())

{{ $part->cards->count() }} cards ready:

@foreach ($part->cards as $card)
⬇ Download
@endforeach
@else

⚠️ Abhi tak koi card nahi bana β€” "Make / Edit Cards" dabao.

@endif @endif
@push('scripts') @endpush @endsection