<%= gettext("Basics") %>

{@latest_record.title}

<%= gettext("Latest purchase") %>

<.link :for={artist <- @latest_record.artists} class="text-sm md:text-base lg:text-2xl text-gray-900 hover:text-gray-500 dark:text-gray-300 dark:hover:text-gray-200" patch={~p"/records?query=mbid:#{artist.musicbrainz_id}"} > <%= artist.name %> <%= @latest_record.title %>

<.counter title={gettext("Total collection")} count={@collection_count} path={~p"/records"} /> <.counter title={gettext("Total wishlist")} count={@wishlist_count} path={~p"/wishlist"} />
<.stats_grid data={@collection_count_by_format} title={gettext("Formats")} col_class="grid-cols-5" /> <.stats_grid data={@collection_count_by_type} title={gettext("Types")} col_class="grid-cols-6" />