@page "/mixes/{Id:long}" @using DeepDrftPublic.Client.Controls @inherits ReleaseDetailBase @(ViewModel.Release?.Title ?? "Mix") - DeepDrft @if (ViewModel.IsLoading) {
} else if (ViewModel.NotFound || ViewModel.Release is null) {
Mix not found.
All mixes
} else { var release = ViewModel.Release; var hasGenre = release.Genre is not null; var hasDate = release.ReleaseDate is not null; @* Full-page waveform sits behind the scaffold content. The scaffold's container is positioned above it via the mix-detail-foreground stacking context. TrackId lets the visualizer couple to playback only when the player is on this mix's track. *@
@if (!string.IsNullOrEmpty(release.ImagePath)) { } else { }
@if (hasGenre) {
@release.Genre
} @if (hasDate) {
Released @release.ReleaseDate!.Value.ToString("MMMM yyyy")
}
} @code { protected override string PersistKey => "mix-detail"; }