This repository has been archived on 2026-11-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
wah.moe/resources/views/components/lastfm-top.blade.php
2025-01-16 13:42:14 +00:00

16 lines
427 B
PHP

<table class="music-top10">
<caption>
<h2 style="margin-bottom: 5px">Top 10 Tracks (Last 30 days):</h2>
</caption>
<tr>
<th><b>#</b></th>
<th><b>Track</b></th>
<th><b>Artist</b></th>
<th><b>Plays</b></th>
</tr>
@php($count = 0)
@foreach ($tracks as $track)
@php($count++)
<x-lastfm-track :track="$track" :count="$count"/>
@endforeach
</table>