bulletboards/ImageBoardServerApp/Pages/Accounts/Banned.razor

14 lines
No EOL
269 B
Text

@page "/sys/banned"
<h3>Banned</h3>
<img class="image" src="img/static/banned/@i"/>
@code {
private Random rndm = new Random();
private string i = "";
protected override async Task OnInitializedAsync()
{
i = rndm.Next(1, 10) + ".png";
}
}