@inherits LayoutComponentBase
@using DeepDrftShared.Client.Common

<MudThemeProvider IsDarkMode="false" Theme="@DeepDrftPalettes.Cms" />
<MudPopoverProvider />
<MudDialogProvider />
<MudSnackbarProvider />

<MudLayout>
    <MudAppBar Dense="true" Elevation="1" Color="Color.Primary">
        <MudText Typo="Typo.h6" Class="ml-3" Style="font-family: 'DM Sans', sans-serif; letter-spacing: 0.05em;">
            Deep Drft — Admin
        </MudText>
        <MudSpacer />
        <MudTooltip Text="Back to site">
            <MudIconButton Icon="@Icons.Material.Filled.Home"
                           Href="/"
                           Color="Color.Inherit" />
        </MudTooltip>
    </MudAppBar>
    <MudMainContent Class="pt-14 pb-8">
        <MudContainer MaxWidth="MaxWidth.False" Class="pa-4">
            @Body
        </MudContainer>
    </MudMainContent>
</MudLayout>

<div id="blazor-error-ui" data-nosnippet>
    An unhandled error has occurred.
    <a href="." class="reload">Reload</a>
    <span class="dismiss">🗙</span>
</div>

