Spaces:
Running
Running
| <CascadingAuthenticationState> | |
| <Router AppAssembly="typeof(Program).Assembly"> | |
| <Navigating> | |
| <LayoutView Layout="typeof(Layout.MainLayout)"> | |
| <div class="surface-panel mx-auto flex min-h-64 w-full max-w-3xl items-center justify-center p-8 text-sm font-semibold text-slate-500 dark:text-slate-300"> | |
| Loading page... | |
| </div> | |
| </LayoutView> | |
| </Navigating> | |
| <Found Context="routeData"> | |
| <AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)"> | |
| <NotAuthorized> | |
| <RedirectToLogin /> | |
| </NotAuthorized> | |
| </AuthorizeRouteView> | |
| <FocusOnNavigate RouteData="routeData" Selector="h1" /> | |
| </Found> | |
| <NotFound> | |
| <LayoutView Layout="typeof(Layout.MainLayout)"> | |
| <p class="p-8 text-center text-slate-500">Page not found.</p> | |
| </LayoutView> | |
| </NotFound> | |
| </Router> | |
| </CascadingAuthenticationState> | |