From 56288266df5c0fdeb2621728540775c6b6e13b7f Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 14 Jun 2025 18:52:43 +0300 Subject: [PATCH] Link to artists in top albums --- lib/music_library_web/live/stats_live/index.ex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/music_library_web/live/stats_live/index.ex b/lib/music_library_web/live/stats_live/index.ex index d976adb5..2870c68c 100644 --- a/lib/music_library_web/live/stats_live/index.ex +++ b/lib/music_library_web/live/stats_live/index.ex @@ -113,9 +113,12 @@ defmodule MusicLibraryWeb.StatsLive.Index do alt={album.album_title} />
-

+ <.link + class="text-xs text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300 truncate" + navigate={~p"/artists/#{album.artist_musicbrainz_id}"} + > {album.artist_name} -

+

{album.album_title}