From 85a02a68fca444b971cf06dced65e984ef15525f Mon Sep 17 00:00:00 2001
From: Claudio Ortolina
Date: Mon, 24 Mar 2025 09:53:49 +0000
Subject: [PATCH] Swap around title and artists in stats latest record
---
lib/music_library_web/components/data_components.ex | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/music_library_web/components/data_components.ex b/lib/music_library_web/components/data_components.ex
index b332d746..6950826a 100644
--- a/lib/music_library_web/components/data_components.ex
+++ b/lib/music_library_web/components/data_components.ex
@@ -24,18 +24,18 @@ defmodule MusicLibraryWeb.DataComponents do
{@title}
-
+
+
+ {@record.title}
+
<.link
:for={artist <- @record.artists}
- class="text-sm md:text-base lg:text-2xl text-zinc-900 hover:text-zinc-500 dark:text-zinc-300 dark:hover:text-zinc-200"
+ class="text-sm md:text-base text-zinc-600 dark:text-zinc-200 hover:text-zinc-500 dark:text-zinc-300 dark:hover:text-zinc-200"
navigate={~p"/artists/#{artist.musicbrainz_id}"}
>
{artist.name}
-
- {@record.title}
-