@forelse ($profiles as $profile)
@if ($profile->images && $profile->images->count())
@foreach ($profile->images as $img)
@endforeach
@endif
@endif
@empty
@endforelse
LIKE
NOPE
{{ $profile->name }}, {{ \Carbon\Carbon::parse($profile->birth_date)->age
}}
@if (1 + ($profile->images ? $profile->images->count() : 0) > 1)
location_fill {{ $profile->location }}
@php
$totalImages = 1 + ($profile->images ? $profile->images->count() : 0);
@endphp
@if ($totalImages > 1)
@for ($i = 0; $i < $totalImages; $i++)
@endfor
@else
@endif
No more singles left!
Check back later for new matches.