Neighbourhood.omg.lol/Components/LoadingCard.razor
Gordon Pedersen 0c3836b0c8 Simplify and standardise a lot of the loading
I was overcomplicating everything trying to reduce the render lag.
Just simplify it a bit. It works.
2024-06-13 14:46:24 +10:00

16 lines
395 B
Text

<article id="@id" class="@(string.IsNullOrEmpty(@class)?"":@class) middle-align center-align">
<div>
<i class="extra square @icon"></i>
<div class="space"></div>
<progress class="circle"></progress>
</div>
</article>
@code {
[Parameter]
public string id { get; set; }
[Parameter]
public string? @class { get; set; }
[Parameter]
public string icon { get; set; }
}