@php
$i = 0;
@endphp
@forelse ($songs as $song)
@php
$i++;
$imageUrl = app(\App\Services\SongServices::class)->getCoverImageS3($song, 'md');
$artistArray = app(\App\Services\SongServices::class)::getArtistContributor(
$song->songContributors,
);
$names = array_column($artistArray, 'name');
$artistSeparated = implode(', ', $names);
@endphp
@empty
belum terdapat data
@endforelse
{{-- @for ($i = 1; $i <= 12; $i++)
@endfor --}}