bulletboards/ImageBoardServerApp/Pages/Accounts/Banned.razor

14 lines
No EOL
265 B
Text

@page "/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";
}
}