@props(['prompt']) @php $locked = $prompt->is_premium && ! $prompt->isUnlockedFor(auth()->user()); $thumb = $prompt->thumbnail ? (Str::startsWith($prompt->thumbnail, ['http://', 'https://']) ? $prompt->thumbnail : Storage::url($prompt->thumbnail)) : null; @endphp
@if ($thumb) {{ $prompt->title }} @else
{{ $prompt->category?->icon ?: '🎬' }}
@endif @if ($locked)
🔒 Members only
@endif
@if ($prompt->is_premium) Premium @else Free @endif @if ($prompt->is_featured) ★ Featured @endif
@if ($prompt->category) {{ $prompt->category->icon }} {{ $prompt->category->name }} @endif @if ($prompt->tool) • {{ $prompt->tool }} @endif

{{ $prompt->title }}

@if ($prompt->excerpt)

{{ $prompt->excerpt }}

@endif