Refactor code structure for improved readability and maintainability

This commit is contained in:
MaddoScientisto 2026-02-21 10:40:12 +01:00
commit 4f488bae45
78 changed files with 3309 additions and 1570 deletions

View file

@ -0,0 +1,20 @@
@page "/login"
@attribute [AllowAnonymous]
@using Microsoft.AspNetCore.Components
<h3>Login</h3>
@if (error)
{
<div class="alert">Invalid password</div>
}
<form method="post" action="/auth/login">
<input type="password" name="password" placeholder="Password" />
<button type="submit">Login</button>
</form>
@code {
[Parameter]
public bool error { get; set; }
}