<link @attributes="AdditionalAttributes" href="/@Assets[href.TrimStart('/')]"/>

@code {
    @* ReSharper disable InconsistentNaming *@
    [Parameter, EditorRequired] public required string href { get; set; }
    @* ReSharper restore InconsistentNaming *@

    [Parameter(CaptureUnmatchedValues = true)]
    public IDictionary<string, object>? AdditionalAttributes { get; set; }
}