@* Components/BrandBar.razor *@
@namespace ZB.MOM.WW.Theme
<div class="brand">
    @if (Logo is not null) { @Logo }
    else { <span class="mark">&#9646;</span> }
    @Product
</div>

@code {
    /// <summary>Product name displayed next to the brand glyph. Required.</summary>
    [Parameter, EditorRequired] public string Product { get; set; } = string.Empty;

    /// <summary>
    /// Optional custom logo. When provided it replaces the default brand glyph (<c>▐</c>).
    /// </summary>
    [Parameter] public RenderFragment? Logo { get; set; }
}
