@extends('layouts.public') @section('title', $listing->seoTitle()) @section('meta_description', $listing->seoDescription()) @section('content')
@unless ($listing->isLive())
{{ __('You are seeing this because it is your listing, or because you moderate listings. It is not visible to buyers.') }}
@endunless
@php($cover = $images->firstWhere('is_cover') ?? $images->first()) {{-- The hero is the LCP image: eager, high priority, never lazy. --}}
@if ($cover) srcset()) srcset="{{ $srcset }}" sizes="(min-width: 1024px) 60vw, 100vw" @endif alt="{{ $cover->alt_text ?: $listing->title }}" fetchpriority="high" decoding="async" class="aspect-4/3 w-full object-cover sm:aspect-16/10"> @else @endif @if ($images->count() > 1) @endif
@if ($images->count() > 1) {{-- Thumbnail strip, scrollable rather than wrapping. --}}
@foreach ($images as $index => $medium) @endforeach
@endif @include('public.partials.lightbox')

{{ __('About this listing') }}

{{ $listing->description }}
@if ($specification)

{{ __('Details') }}

@foreach ($specification as $row)
{{ $row['label'] }}
{{ $row['value'] }}
@endforeach
@endif @if ($floorPlans->isNotEmpty())

{{ __('Floor plans') }}

@foreach ($floorPlans as $plan)
{{ $plan->caption ?: __('Floor plan') }} @if ($plan->caption)
{{ $plan->caption }}
@endif
@endforeach
@endif @if ($videos->isNotEmpty())

{{ __('Video') }}

@endif @if ($listing->latitude && $listing->longitude)

{{ __('Location') }}

@endif
@endsection