LearnChineseSimplified/CCharLearn/App.razor

16 lines
547 B
Plaintext
Raw Permalink Normal View History

2023-06-27 11:48:18 +02:00
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
2023-06-28 22:03:48 +02:00
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
2023-06-27 11:48:18 +02:00
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
<MudThemeProvider IsDarkMode=true/>
<MudDialogProvider />
<MudSnackbarProvider />