Initial commit

This commit is contained in:
2026-06-02 10:51:14 +02:00
committed by kawa
commit d19092c84e
182 changed files with 13757 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<CascadingAuthenticationState>
<Router AppAssembly="typeof(App).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)">
<NotAuthorized>
@if (!context.User.Identity?.IsAuthenticated ?? true)
{
<meta http-equiv="refresh" content="0;url=/account/login" />
}
else
{
<div style="padding:2rem">
<h2>Access denied</h2>
<p>You do not have permission to view this page.</p>
</div>
}
</NotAuthorized>
</AuthorizeRouteView>
<FocusOnNavigate RouteData="routeData" Selector="h1" />
</Found>
</Router>
</CascadingAuthenticationState>