forked from mspnp/AzureNamingTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.razor
23 lines (22 loc) · 838 Bytes
/
App.razor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@using AzureNamingTool.Models;
<CascadingValue Value="identityProviderDetails">
<CascadingBlazoredModal>
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<img src="/images/runnoft.png" />
<p role="alert">Whoa, it looks like that page went and r-u-n-n-o-f-t! Try again!</p>
</LayoutView>
</NotFound>
</Router>
</CascadingBlazoredModal>
</CascadingValue>
@code {
[Parameter]
public IdentityProviderDetails? identityProviderDetails { get; set; }
}