@extends('layouts.admin') @section('title', 'Instagram') @section('content')
{{-- ================= SUB-MENU TABS ================= --}}
{{-- ================================================= --}} {{-- TAB "Settings" โ€” part 1: CONNECTION --}} {{-- ================================================= --}} {{-- ================================================= --}} {{-- TAB "Settings" โ€” part 2: AUTO POST --}} {{-- ================================================= --}} {{-- ================================================= --}} {{-- TAB 1: MANUAL POST (default) --}} {{-- ================================================= --}}

๐Ÿš€ Post Manually

Choose Post (image) or Reel (video) per card. Button dabate hi card turant Instagram par post ho jaata hai โ€” reel ban ne me thoda time lag sakta hai, isliye request poori hone tak wait karein.

@if ($stories->isEmpty())

No stories yet.

@else
@foreach ($stories as $story)

{{ $story->title }} ({{ ucfirst($story->status) }})

@foreach ($story->parts as $part) @if ($part->cards->isNotEmpty())
Part {{ $part->sort_order }} ยท {{ $part->cards->count() }} cards
@csrf
@csrf
@csrf
@foreach ($part->cards as $card)
@if ($card->isPosted()) {{-- Post hone ke baad local image/video delete ho jaate hain --}}
โœ“ Uploaded
โœ“ Posted @if ($card->ig_posted_at) ๐Ÿ•’ {{ $card->ig_posted_at->format('d M, h:i A') }} @endif @else
@csrf
@csrf
@if ($card->ig_status === 'failed') failed @if (filled($card->ig_error)) {{ Str::limit($card->ig_error, 90) }} @endif @endif @endif
@endforeach
@endif @endforeach
@endforeach
@endif
{{-- ================= AI CAPTION MODAL ================= --}} @push('scripts') @endpush @endsection