@extends('layouts.nova.content-layout') @php $hero_title = 'My Stories'; $hero_description = 'Drafts, published stories, and archived work in one creator dashboard.'; @endphp @section('page-content')

Creator Story Dashboard

Write, schedule, review, and track your stories.

Write Story

Drafts

@if($drafts->isEmpty())

No drafts yet.

@else
@foreach($drafts as $story)

{{ $story->title }}

{{ str_replace('_', ' ', $story->status) }}

Last edited {{ optional($story->updated_at)->diffForHumans() }}

@if($story->rejected_reason)

Rejected: {{ \Illuminate\Support\Str::limit($story->rejected_reason, 180) }}

@endif
Edit Preview
@csrf
@endforeach
@endif

Published Stories

@if($publishedStories->isEmpty())

No published stories yet.

@else
@foreach($publishedStories as $story)

{{ $story->title }}

{{ str_replace('_', ' ', $story->status) }}

{{ number_format((int) $story->views) }} views ยท {{ number_format((int) $story->likes_count) }} likes

@endforeach
@endif

Archived Stories

@if($archivedStories->isEmpty())

No archived stories.

@else
@foreach($archivedStories as $story)

{{ $story->title }}

Archived {{ optional($story->updated_at)->diffForHumans() }}

@endforeach
@endif
@endsection