refactor: améliorer la navigation en enveloppant l’image dans le lien et en améliorant l’affichage des informations de l’artiste

This commit is contained in:
mirage
2026-03-06 13:51:33 +01:00
parent 549e55440f
commit 7b14bbb5dc

View File

@@ -27,16 +27,26 @@
<div class="d-flex align-items-start my-3">
<!-- Image -->
<div class="me-3">
<img src="@titre.UrlJaquette" alt="@titre.Libelle" width="70px" height="70px" class="object-fit-cover" />
</div>
<a asp-action="Details"
asp-route-id="@titre.IdTitre"
class="me-3 text-black">
<img src="@titre.UrlJaquette" alt="@titre.Libelle" width="70px" height="70px" class="object-fit-cover"/>
</a>
<!-- Infos -->
<div class="justify-content-center d-flex flex-column">
<a asp-action="Details"
asp-route-id="@titre.IdTitre">
@titre.ArtisteNom - @titre.Libelle
</a>
<div>
<a asp-action="Index"
asp-controller="Artiste"
asp-route-nom="@titre.ArtisteNom">
@titre.ArtisteNom
</a>
-
<a asp-action="Details"
asp-route-id="@titre.IdTitre">
@titre.Libelle
</a>
</div>
<div>
Durée : @TimeSpan.FromSeconds(titre.Duree).ToString(@"mm\:ss")