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

@inherits LayoutComponentBase
@inject IHostEnvironment HostEnvironment
@rendermode RenderMode.InteractiveServer
<FluentLayout>
<FluentHeader>
BlazorFluentUI
</FluentHeader>
<FluentStack Class="main" Orientation="Orientation.Horizontal" Width="100%">
<NavMenu />
<FluentBodyContent Class="body-content">
<div class="content">
<FluentMessageBarProvider Section="@App.MESSAGE_TOP" />
@Body
</div>
</FluentBodyContent>
<FluentToastProvider MaxToastCount="10" />
</FluentStack>
<FluentFooter>
This site is powered by Blazor and MS Fluent UI
<FluentSpacer />
Peace
</FluentFooter>
</FluentLayout>
<FluentToastProvider />
<FluentDialogProvider />
<FluentTooltipProvider />
@* <div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</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>
</div>