aboutsummaryrefslogtreecommitdiff
path: root/resources/views/components/lastfm-current.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/components/lastfm-current.blade.php')
-rw-r--r--resources/views/components/lastfm-current.blade.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/views/components/lastfm-current.blade.php b/resources/views/components/lastfm-current.blade.php
new file mode 100644
index 0000000..d5777cb
--- /dev/null
+++ b/resources/views/components/lastfm-current.blade.php
@@ -0,0 +1,10 @@
+<div class="current-track">
+ <div>
+ <img src="{{ $track["image"] }}" alt="Album cover for {{ $track["title"] }} by {{ $track["artist"] }}">
+ </div>
+ <div>
+ <h2>{{ $track["header"] }}:</h2>
+ <a href="{{ $track["url"] }}">{{ $track["title"] }}</a><br>
+ by {{ $track["artist"] }}<br>
+ </div>
+</div>