aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorfloppydiskette <floppydisk@hyprcat.net>2024-12-21 00:21:18 +0000
committerfloppydiskette <floppydisk@hyprcat.net>2024-12-21 00:21:18 +0000
commitb65eca420a6bc97d2df8265b40a6da60d2358278 (patch)
treefd2bc6e1909cba5cdcfef3ae2543420242a18dad /resources
parent02e9a6d85d42470682caef299767e03b7b5f53dc (diff)
Show album cover for current trackv2024.12.20
Diffstat (limited to 'resources')
-rw-r--r--resources/views/components/current-track.blade.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/resources/views/components/current-track.blade.php b/resources/views/components/current-track.blade.php
index 50d3367..45479d8 100644
--- a/resources/views/components/current-track.blade.php
+++ b/resources/views/components/current-track.blade.php
@@ -1,4 +1,9 @@
<div class="current-track">
- <h2>Last/Current Track:</h2>
- <a href="{{ $track["url"] }}">{{ $track["title"] }} • {{ $track["artist"] }}</a><br>
+ <div>
+ <img src="{{ $track["image"] }}" alt="Album cover for {{ $track["title"] }} by {{ $track["artist"] }}">
+ </div>
+ <div>
+ <h2>Last/Current Track:</h2>
+ <a href="{{ $track["url"] }}">{{ $track["title"] }} • {{ $track["artist"] }}</a><br>
+ </div>
</div>