@inherits LayoutComponentBase

@* Required *@
@* <MudThemeProvider Theme="CustomTheme"/> *@
<MudThemeProvider/>
<MudPopoverProvider />

@* Needed for dialogs *@
<MudDialogProvider />

<MudSnackbarProvider />

<div class="page">
    <div class="sidebar">
        <NavMenu />
    </div>

    <main>
        <article class="content px-4">
            @Body
        </article>
    </main>
</div>

@* @code {
    MudTheme CustomTheme = new MudTheme()
    {
        Typography = new Typography()
        {
            H6 = new H6Typography()
            {
                FontFamily = new[] { "Roboto", "Helvetica", "Arial", "sans-serif" },
                FontSize = "1.25rem",
                FontWeight = "500",
                LineHeight = "1.6",
                LetterSpacing = ".0075em"
            }
        }
    };
} *@

@* @code {
    MudTheme CustomTheme = new MudTheme()
    {
        Typography = new Typography()
        {
            Default = new DefaultTypography()
            {
                FontFamily = new[] { "Poppins", "Helvetica", "Arial", "sans-serif" },FontSize = ".625rem"
            }
        }
    };
} *@
