@extends('layouts.app') @section('title', $prompt->title) @section('description', $prompt->excerpt ?? Str::limit(strip_tags($prompt->description), 150)) @section('content') @php $thumb = $prompt->thumbnail ? (Str::startsWith($prompt->thumbnail, ['http://', 'https://']) ? $prompt->thumbnail : Storage::url($prompt->thumbnail)) : null; @endphp
{{-- Main --}}
@if ($prompt->is_premium) Premium @else Free @endif @if ($prompt->tool) {{ $prompt->tool }} @endif

{{ $prompt->title }}

@if ($prompt->excerpt)

{{ $prompt->excerpt }}

@endif
{{ number_format($prompt->views) }} views • Added {{ $prompt->created_at->diffForHumans() }}
@if ($thumb) {{ $prompt->title }} @endif @if ($prompt->description)
@foreach (preg_split('/\R{2,}/', trim($prompt->description)) as $paragraph)

{{ $paragraph }}

@endforeach
@endif {{-- The prompt itself --}}

The prompt

@if ($unlocked)
Copy & paste
{{ $prompt->prompt_text }}
@else
{{-- Decorative filler only. The real prompt text is never sent to the client while locked — a CSS blur is not access control, and a short prompt would otherwise be fully readable in the page source. --}}

🔒

This one is for members

Join to unlock this prompt and every other premium drop in the library.

@endif
{{-- Sidebar --}}
@endsection