Your Favorites

@if($favoriteTalents->count())

Favorite Talents

@foreach($favoriteTalents as $talent) @php $image = $talent->images->first(); @endphp

{{ ucfirst($talent->first_name) }} {{ ucfirst($talent->last_name) }}

@endforeach
{!! $favoriteTalents->appends(request()->except('talents_page'))->withQueryString()->links() !!}
@endif @if($favoriteHandTalents->count())

Favorite Hand Talents

@foreach($favoriteHandTalents as $talent) @php $image = $talent->handImages->first(); $imageUrl = $image ? asset('storage/talent_hand_images/' . $talent->id . '/' . $image->url) : asset('assets/user.jpg'); @endphp

{{ ucfirst($talent->first_name) }} {{ ucfirst($talent->last_name) }}

@endforeach
{!! $favoriteHandTalents->appends(request()->except('talents_page'))->withQueryString()->links() !!}
@endif @if($favoriteRealFamilies->count())

Favorite Real Families

@foreach($favoriteRealFamilies as $family) @php $photo = $family->photos->firstWhere('is_main', 1); $photoUrl = $photo ? asset('storage/' . $photo->file_path) : asset('assets/user.jpg'); @endphp

{{ strtoupper($family->family_name) }}

@endforeach
{!! $favoriteRealFamilies->appends(request()->except('talents_page'))->withQueryString()->links() !!}
@endif @if($favoriteTalents->isEmpty() && $favoriteHandTalents->isEmpty() && $favoriteRealFamilies->isEmpty())

You haven’t added any favorites yet.

@endif