Merge release-description-blurb into dev (render release Description blurb on Session, Mix, and Cut detail pages)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
@namespace DeepDrftPublic.Client.Controls
|
||||
|
||||
@* Shared presentational blurb block for release detail pages. Renders the release's short
|
||||
Description paragraph in a uniform styled block placed just below the hero/header on every
|
||||
medium (Session, Mix, Cut). Purely presentational — owns no data fetch and no player wiring.
|
||||
A null/whitespace Description renders nothing at all: no block, no divider, no whitespace
|
||||
artifact (the guard lives here so every consumer gets it for free). *@
|
||||
|
||||
@if (!string.IsNullOrWhiteSpace(Description))
|
||||
{
|
||||
<div class="deepdrft-release-description">
|
||||
<p class="deepdrft-release-description-text">@Description</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@code {
|
||||
/// <summary>The release's short description blurb. Null/whitespace renders nothing.</summary>
|
||||
[Parameter] public string? Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user