{{-- Artwork Not Found (contextual) — HTTP 404 or 403 Shown when: - Artwork ID not found at all → HTTP 404 - Artwork exists but is private/unapproved → HTTP 403 ($isForbidden=true) Separate view for permanently deleted → errors/410.blade.php Variables: $isForbidden bool true when private/403 $trendingArtworks Collection (max 6) $creatorArtworks Collection (max 6, optional) $creatorUsername string|null --}} @php $isForbidden = $isForbidden ?? false; $errorCode = $isForbidden ? 403 : 404; $errorTitle = $isForbidden ? 'Access Denied' : 'Artwork Not Found'; $errorMessage = $isForbidden ? 'This artwork is private and not publicly available.' : 'This artwork is no longer available, or the link may be broken.'; $badgeLabel = $isForbidden ? 'Private Artwork' : 'Artwork Not Found'; @endphp @extends('errors._layout', [ 'error_code' => $errorCode, 'error_title' => $errorTitle, 'error_message' => $errorMessage, ]) @section('badge', $badgeLabel) @section('primary-cta') @if($isForbidden) @guest Sign In to View @else Explore Discover @endguest @else Explore Discover @endif @endsection @section('secondary-ctas') Browser Wallpapers Search @endsection @section('recovery') {{-- Creator's other artworks (if we have a hint about the creator) --}} @if(isset($creatorArtworks) && $creatorArtworks->count())

More from this Creator

@foreach($creatorArtworks->take(6) as $artwork) @include('errors._artwork-card', ['artwork' => $artwork]) @endforeach
@if(isset($creatorUsername))
View full gallery →
@endif
@endif {{-- Trending artworks --}} @if(isset($trendingArtworks) && $trendingArtworks->count())

Trending Wallpapers

@foreach($trendingArtworks->take(6) as $artwork) @include('errors._artwork-card', ['artwork' => $artwork]) @endforeach
@endif @endsection