@extends('layouts.account')
@section('title', __('Photographs & files'))
@section('heading', __('Photographs & files'))
@section('subheading', $listing->title)
@section('actions')
{{ __('Back to the listing') }}
@endsection
@section('account')
@if (session('error'))
{{ session('error') }}
@endif
{{-- Photographs. The first one becomes the cover unless another is chosen. --}}
{{ __('Photographs') }}
{{ __('The first photograph is the cover unless you choose another. Drag is not needed — use the arrows.') }}
{{ trans_choice('One slot left.|:count slots left.', $remaining['image'], ['count' => $remaining['image']]) }}
@if ($remaining['image'] > 0)
@endif
@if ($images->isEmpty())
@else
@foreach ($images as $medium)
-
 }})
srcset()) srcset="{{ $srcset }}" sizes="(min-width: 640px) 320px, 100vw" @endif
alt="{{ $medium->alt_text ?: $listing->title }}"
loading="lazy" decoding="async"
class="aspect-4/3 w-full object-cover">
@if ($medium->is_cover)
{{ __('Cover') }}
@endif
@unless ($medium->is_cover)
@endunless
{{ $medium->width }}×{{ $medium->height }} · {{ $medium->humanSize() }}
@endforeach
@endif
{{ __('Floor plans') }}
{{ __('Shown in their own section, separately from the photographs.') }}
@if ($floorPlans->isNotEmpty())
@endif
{{ __('Video') }}
{{ __('Paste a YouTube or Vimeo link. Nothing is uploaded.') }}
@if ($videos->isNotEmpty())
@foreach ($videos as $medium)
-
{{ $medium->embed_url }}
@endforeach
@endif
{{--
Documents. These are ownership papers and surveys: they are stored on
a disk with no public URL and are only ever reachable through the
download route, which checks the policy first.
--}}
{{ __('Documents') }}
{{ __('Documents are private. They are never shown on the listing and never linked — only you and our team can open them.') }}
@if ($remaining['document'] > 0)
@endif
@if ($documents->isNotEmpty())
@foreach ($documents as $medium)
-
{{ $medium->original_name }}
{{ $medium->humanSize() }}
{{ __('Download') }}
@endforeach
@endif
@endsection