@if (!string.IsNullOrEmpty(HeroImageKey))
{
}
else
{
}
@* Darkening shim so overlaid text/controls stay legible over any image. *@
@* Top overlay: secondary details (genre, release date) and the share affordance. *@
@if (hasGenre)
{
@Genre
}
@if (hasDate)
{
Released
@ReleaseDate!.Value.ToString("MMMM yyyy")
}
@if (ShareContent is not null)
{
@ShareContent
}
@* Bottom overlay: cover thumbnail, title/artist, and the play affordance in one row. *@
@if (showCover)
{
}
@if (PlayContent is not null)
{
@PlayContent
}