You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

10 months ago
@inherits LayoutComponentBase
10 months ago
@inject IHostEnvironment HostEnvironment
9 months ago
@rendermode RenderMode.InteractiveServer
10 months ago
<FluentLayout>
<FluentHeader>
BlazorFluentUI
</FluentHeader>
<FluentStack Class="main" Orientation="Orientation.Horizontal" Width="100%">
10 months ago
<NavMenu />
10 months ago
<FluentBodyContent Class="body-content">
<div class="content">
9 months ago
<FluentMessageBarProvider Section="@App.MESSAGE_TOP" />
10 months ago
@Body
</div>
</FluentBodyContent>
<FluentToastProvider MaxToastCount="10" />
10 months ago
</FluentStack>
<FluentFooter>
10 months ago
This site is powered by Blazor and MS Fluent UI
10 months ago
<FluentSpacer />
10 months ago
Peace
10 months ago
</FluentFooter>
</FluentLayout>
10 months ago
<FluentToastProvider />
<FluentDialogProvider />
<FluentTooltipProvider />
@* <div id="blazor-error-ui">
10 months ago
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
10 months ago
</div> *@
<div id="blazor-error-ui" data-nosnippet>
@if (HostEnvironment.IsProduction())
{
<span>An error has occurred.</span>
}
else
{
<span>An unhandled exception occurred.</span>
}
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
9 months ago
</div>