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.

51 lines
1.3 KiB

10 months ago
@inherits LayoutComponentBase
10 months ago
@inject IHostEnvironment HostEnvironment
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">
<FluentMessageBarProvider Section="MESSAGES_TOP" />
10 months ago
@Body
</div>
</FluentBodyContent>
<FluentDialogProvider />
<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 />
<FluentMessageBarProvider />
@* <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>
10 months ago
</div>