Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/illinker-test-assets.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wasm/BlazingPizza.Client/App.razor')
-rw-r--r--wasm/BlazingPizza.Client/App.razor17
1 files changed, 17 insertions, 0 deletions
diff --git a/wasm/BlazingPizza.Client/App.razor b/wasm/BlazingPizza.Client/App.razor
new file mode 100644
index 0000000..758e415
--- /dev/null
+++ b/wasm/BlazingPizza.Client/App.razor
@@ -0,0 +1,17 @@
+<CascadingAuthenticationState>
+ <Router AppAssembly="typeof(Program).Assembly">
+ <NotFoundContent>Page not found</NotFoundContent>
+
+ <NotAuthorizedContent>
+ <div class="main">
+ <h2>You're signed out</h2>
+ <p>To continue, please sign in.</p>
+ <a class="btn btn-danger" href="user/signin">Sign in</a>
+ </div>
+ </NotAuthorizedContent>
+
+ <AuthorizingContent>
+ Please wait...
+ </AuthorizingContent>
+ </Router>
+</CascadingAuthenticationState>