2022-04-23 20:29:55 +02:00
|
|
|
@inherits LayoutComponentBase
|
|
|
|
|
|
|
|
<MudThemeProvider/>
|
|
|
|
<MudDialogProvider/>
|
|
|
|
<MudSnackbarProvider/>
|
|
|
|
|
|
|
|
<MudLayout>
|
|
|
|
<MudAppBar Elevation="0">
|
|
|
|
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" OnClick="@((e) => DrawerToggle())"/>
|
|
|
|
<MudSpacer/>
|
|
|
|
<MudIconButton Icon="@Icons.Custom.Brands.MudBlazor" Color="Color.Inherit" Link="https://mudblazor.com/" Target="_blank"/>
|
2022-06-21 09:45:18 +02:00
|
|
|
<MudIconButton Icon="@Icons.Custom.Brands.GitHub" Color="Color.Inherit" Link="https://github.com/asesidaa/GC-local-server-rewrite/" Target="_blank"/>
|
2022-04-23 20:29:55 +02:00
|
|
|
</MudAppBar>
|
|
|
|
<MudDrawer @bind-Open="_drawerOpen" Elevation="1">
|
|
|
|
<MudDrawerHeader>
|
2022-06-21 09:45:18 +02:00
|
|
|
<MudText Typo="Typo.h6">GC local server Admin</MudText>
|
2022-04-23 20:29:55 +02:00
|
|
|
</MudDrawerHeader>
|
|
|
|
<NavMenu/>
|
|
|
|
</MudDrawer>
|
|
|
|
<MudMainContent>
|
|
|
|
<MudContainer MaxWidth="MaxWidth.Large" Class="my-16 pt-16">
|
|
|
|
@Body
|
|
|
|
</MudContainer>
|
|
|
|
</MudMainContent>
|
|
|
|
</MudLayout>
|
|
|
|
|
|
|
|
@code {
|
|
|
|
bool _drawerOpen = true;
|
|
|
|
|
|
|
|
void DrawerToggle()
|
|
|
|
{
|
|
|
|
_drawerOpen = !_drawerOpen;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|