20 lines
882 B
Plaintext
20 lines
882 B
Plaintext
|
|
<CascadingAuthenticationState>
|
||
|
|
<CascadingBlazoredModal>
|
||
|
|
<Router AppAssembly="@typeof(App).Assembly">
|
||
|
|
<Found Context="routeData">
|
||
|
|
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
||
|
|
<NotAuthorized>
|
||
|
|
Disculpe, usted no esta autorizado a ver esta seccion.
|
||
|
|
</NotAuthorized>
|
||
|
|
</AuthorizeRouteView>
|
||
|
|
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
||
|
|
</Found>
|
||
|
|
<NotFound>
|
||
|
|
<PageTitle>Not found</PageTitle>
|
||
|
|
<LayoutView Layout="@typeof(MainLayout)">
|
||
|
|
<p role="alert">Disculpe, no hay nada en esta dirección'.</p>
|
||
|
|
</LayoutView>
|
||
|
|
</NotFound>
|
||
|
|
</Router>
|
||
|
|
</CascadingBlazoredModal>
|
||
|
|
</CascadingAuthenticationState>
|