@extends('layouts.app') @section('content')
{{ $gallery->title }} @if($gallery->isDesign()) @if(!$gallery->is_available)
Unavailable
@elseif($gallery->isTrending())
🔥 Trending
@elseif($gallery->isPopular())
⭐ Popular
@endif @else @if($gallery->is_featured)
⭐ Featured
@endif @endif

{{ $gallery->title }}

By {{ $gallery->artist->name }} @if($gallery->isPortfolio() && $gallery->completed_date) • Completed {{ $gallery->completed_date->format('F Y') }} @endif @if($gallery->isDesign()) • {{ $gallery->view_count }} views @endif
@if($gallery->description)

{{ $gallery->description }}

@endif

Styles

@foreach($gallery->getStyleBadges() as $style => $class) {{ ucfirst($style) }} @endforeach

Details

@if($gallery->isDesign())
Size: {{ ucfirst(str_replace('_', ' ', $gallery->size_category)) }}
@if($gallery->difficulty_level)
Difficulty: {{ ucfirst($gallery->difficulty_level) }}
@endif @if($gallery->is_customizable)
Customizable: Yes
@endif @else
Body Part: {{ ucfirst($gallery->body_part) }}
Sessions: {{ $gallery->session_count }} session{{ $gallery->session_count > 1 ? 's' : '' }}
@endif @if($gallery->estimated_hours)
Duration: {{ $gallery->getFormattedDuration() }}
@endif @if($gallery->isDesign() && $gallery->base_price)
Price Range: {{ $gallery->getPriceRange() }}
@elseif($gallery->isPortfolio() && $gallery->estimated_cost)
Estimated Cost: {{ $gallery->getFormattedCost() }}
@endif
@if($gallery->isDesign() && $gallery->hasColorPalette())

Color Palette

{{ $gallery->getColorPaletteDisplay() }}

@endif @if($gallery->isDesign() && $gallery->artist_notes)

Artist Notes

{{ $gallery->artist_notes }}

@endif @if($gallery->isPortfolio() && $gallery->hasClientFeedback())

Client Feedback

@if($gallery->client_rating)
{{ $gallery->getRatingStars() }}
@endif @if($gallery->client_testimonial)

"{{ $gallery->client_testimonial }}"

@endif
@endif @if($gallery->tags && count($gallery->tags) > 0)

Tags

@foreach($gallery->tags as $tag) #{{ $tag }} @endforeach
@endif @if($gallery->isBookable())
@csrf
@endif
@if($relatedItems->count() > 0)

Related {{ $gallery->isDesign() ? 'Designs' : 'Work' }}

@foreach($relatedItems as $item) @if($item->isDesign()) @include('gallery.partials.design-card', ['design' => $item]) @else @include('gallery.partials.portfolio-card', ['portfolio' => $item]) @endif @endforeach
@endif
@endsection