[frontend/pages] Add links between login and register pages

This commit is contained in:
pancakes 2024-11-29 00:14:40 +10:00 committed by Laura Hausmann
parent ca567e4aba
commit c7498696b4
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
4 changed files with 11 additions and 1 deletions

View file

@ -27,6 +27,7 @@
required="required"
@bind="@Password"/>
<button class="button" @onclick="Submit" disabled="@Loading">@Loc["Login"]</button>
<a class="register-link" href="/register">@Loc["Register a new account"]</a>
</div>
@if (Loading)

View file

@ -100,3 +100,7 @@
transition: border-color 250ms;
border-color: var(--notice-color);
}
.register-link {
margin-top: 2rem;
}

View file

@ -45,6 +45,7 @@
{
<div>@Loc["Registrations for this instance are closed."]</div>
}
<a class="login-link" href="/login">@Loc["Login to an existing account"]</a>
</div>
}

View file

@ -18,3 +18,7 @@ input:invalid {
.logo {
height: 3rem;
}
.login-link {
margin-top: 2rem;
}