Add more artist links with correct style

This commit is contained in:
Claudio Ortolina
2024-10-15 23:03:20 +01:00
parent 6e3300429b
commit 0218f8223c
6 changed files with 15 additions and 14 deletions
@@ -16,9 +16,13 @@
</dt>
<dd class="ml-24 flex items-baseline pb-6 sm:pb-7">
<p class="font-semibold">
<span class="text-sm md:text-base lg:text-2xl text-gray-900">
<%= format_artist_names(@latest_record.artists) %>
</span>
<.link
:for={artist <- @latest_record.artists}
class="text-sm md:text-base lg:text-2xl text-gray-900 hover:text-gray-500"
patch={~p"/records?query=mbid:#{artist.musicbrainz_id}"}
>
<%= artist.name %>
</.link>
<span class="text-sm md:text-base block text-gray-600">
<%= @latest_record.title %>
</span>