20 lines
856 B
Plaintext
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>
|