@page "/archive"
@using DeepDrftModels.Enums
@using DeepDrftPublic.Client.Controls
@inject SeoOptions Seo
@* Search + filter affordances are interactive-only: the debounce timer and chip selection
need WASM. During prerender/non-interactive they are hidden behind the interactive gate.
The release grid still prerenders so the archive is meaningful before hydration. *@
@if (RendererInfo.IsInteractive)
{
All
@foreach (var medium in _media)
{
@MediumLabel(medium)
}
@if (_genres.Count > 0)
{
@foreach (var genre in _genres)
{
@genre.Genre
}
}
}
@* The grid itself is the shared release-card component; each card routes by its own medium through
the one ReleaseRoutes table. The Archive-specific search/filter chrome above stays here. *@