Files
2026-03-17 08:54:34 -05:00

20 lines
856 B
Plaintext

<CascadingAuthenticationState>
<CascadingBlazoredModal HideCloseButton="true" DisableBackgroundCancel="true" Class="loading-modal">
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
<NotAuthorized>
<h1>Sorry!</h1>
<p>You're not authorized to reach this page.</p>
</NotAuthorized>
</AuthorizeRouteView>
</Found>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<p>Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
</CascadingBlazoredModal>
</CascadingAuthenticationState>