Add an empty layout for the login page.
Move some of the shared components
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
@inherits LayoutComponentBase
|
||||||
|
|
||||||
|
<MudThemeProvider Theme="CustomThemes.Ceruleantheme" />
|
||||||
|
<MudPopoverProvider />
|
||||||
|
<MudDialogProvider />
|
||||||
|
|
||||||
|
@Body
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
@page "/login"
|
@page "/login"
|
||||||
|
@using WebApp.Components.Layout
|
||||||
|
@layout EmptyLayout
|
||||||
@using System.ComponentModel.DataAnnotations
|
@using System.ComponentModel.DataAnnotations
|
||||||
@using WebApp.Authentication
|
@using WebApp.Authentication
|
||||||
@inject NavigationManager Navigation
|
@inject NavigationManager Navigation
|
||||||
|
|||||||
-2
@@ -1,5 +1,3 @@
|
|||||||
@using WebApp.Components.Pages
|
|
||||||
|
|
||||||
@if (Title != null)
|
@if (Title != null)
|
||||||
{
|
{
|
||||||
<MudText Typo="Typo.h4">@Title</MudText>
|
<MudText Typo="Typo.h4">@Title</MudText>
|
||||||
@@ -10,6 +10,7 @@
|
|||||||
@using Microsoft.JSInterop
|
@using Microsoft.JSInterop
|
||||||
@using WebApp
|
@using WebApp
|
||||||
@using WebApp.Components
|
@using WebApp.Components
|
||||||
|
@using WebApp.Components.Shared
|
||||||
@using MudBlazor
|
@using MudBlazor
|
||||||
@using Core.Entities
|
@using Core.Entities
|
||||||
@using Data
|
@using Data
|
||||||
|
|||||||
Reference in New Issue
Block a user