@if (($data['title'] ?? '') !== '')

{{ $data['title'] }}

@endif
@foreach ($data['photos'] ?? [] as $photo)@endforeach