Added app loaders and screen for the ui. Added identity service. Started auth screens
This commit is contained in:
18
Moonlight.Client/UI/Screens/AuthenticationScreen.razor
Normal file
18
Moonlight.Client/UI/Screens/AuthenticationScreen.razor
Normal file
@@ -0,0 +1,18 @@
|
||||
@page "/auth/register"
|
||||
@page "/auth/login"
|
||||
|
||||
@inject NavigationManager Navigation
|
||||
|
||||
@{
|
||||
var url = new Uri(Navigation.Uri);
|
||||
var isRegister = url.LocalPath.StartsWith("/auth/register");
|
||||
}
|
||||
|
||||
@if (isRegister)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user