From c9299b5410a55fa867826e389d16a48479a78504 Mon Sep 17 00:00:00 2001
From: Frankie B <git@diskfloppy.me>
Date: Tue, 11 Jun 2024 18:02:01 +0100
Subject: Merge MVC rewrite into master (#21)

* Just commit it all

* Require auth

* crap

* Update homepage

* Block AI scrapers

* Update cache update script

* Add dummy file

* Remove unnecessary lastfm config var

* Use withQueryParameters for LastFM API

* Fix embeds

* Update example env

* Smard
---
 resources/views/components/top-tracks.blade.php | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 resources/views/components/top-tracks.blade.php

(limited to 'resources/views/components/top-tracks.blade.php')

diff --git a/resources/views/components/top-tracks.blade.php b/resources/views/components/top-tracks.blade.php
new file mode 100644
index 0000000..a8c94f2
--- /dev/null
+++ b/resources/views/components/top-tracks.blade.php
@@ -0,0 +1,16 @@
+<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-track :track="$track" :count="$count"/>
+    @endforeach
+</table>
-- 
cgit v1.2.3-54-g00ecf