Spaces:
Runtime error
Runtime error
Download TaskTrackingSystem.WebApp/Components/Routes.razor from Yuruyuruu/task-tracking-system: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/Yuruyuruu/task-tracking-system/resolve/main/TaskTrackingSystem.WebApp/Components/Routes.razor
- Command line
-
hf download hf://spaces/Yuruyuruu/task-tracking-system/TaskTrackingSystem.WebApp/Components/Routes.razor
-
curl -L -o Routes.razor https://huggingface.co/spaces/Yuruyuruu/task-tracking-system/resolve/main/TaskTrackingSystem.WebApp/Components/Routes.razor
1.15 kB
| <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"> | |
| @AppLocalization.Text("page.loadingPage", "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 font-sans">@AppLocalization.Text("page.notFound", "Page not found.")</p> | |
| </LayoutView> | |
| </NotFound> | |
| </Router> | |
| </CascadingAuthenticationState> | |