@forelse($latestMedia as $media)
{{ $media->amount ? '$'.$media->amount : 'Free' }}
{{ $media->title }}
by {{ $media->artist->name ?? 'Unknown' }}
@empty
No media posts available.
@endforelse
@if($recentlyJoinedArtists->count() > 0)
@foreach($recentlyJoinedArtists as $artist)
-
{{ $artist->name }}
Joined {{ $artist->created_at->diffForHumans() }}
@endforeach
@else
No artists found.
@endif
@if($latestMedia->count() > 0)
@foreach($latestMedia as $media)
@php
$video = $media->getFirstMedia('gallery_videos');
@endphp
@endforeach
@else
@endif
@if($topArtists->count() > 0)
@foreach($topArtists as $artist)
-
{{ $artist->name }}
{{ $artist->favorited_by_users_count ?? 0 }}
Favorites
@endforeach
@else
No top artists data available.
@endif
@endsection