CMS Home autoredirect to /tracks
This commit is contained in:
@@ -1,19 +1,13 @@
|
|||||||
@page "/"
|
@page "/"
|
||||||
@attribute [Authorize]
|
@attribute [Authorize]
|
||||||
@layout Layout.CmsLayout
|
@layout Layout.CmsLayout
|
||||||
|
@inject NavigationManager Nav
|
||||||
|
|
||||||
<PageTitle>DeepDrft CMS</PageTitle>
|
<PageTitle>DeepDrft CMS</PageTitle>
|
||||||
|
|
||||||
<MudContainer MaxWidth="MaxWidth.Large" Class="mt-8">
|
@code {
|
||||||
<MudText Typo="Typo.h3" GutterBottom="true">DeepDrft CMS</MudText>
|
protected override void OnInitialized()
|
||||||
<MudText Typo="Typo.body1" Class="mb-4">Administration panel.</MudText>
|
{
|
||||||
<MudStack Row="true" Spacing="2">
|
Nav.NavigateTo("/tracks");
|
||||||
<MudButton Variant="Variant.Filled"
|
}
|
||||||
Color="Color.Primary"
|
}
|
||||||
StartIcon="@Icons.Material.Filled.LibraryMusic"
|
|
||||||
Href="/tracks">
|
|
||||||
Tracks
|
|
||||||
</MudButton>
|
|
||||||
</MudStack>
|
|
||||||
</MudContainer>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user