add NotFound page, wire Routes.NotFoundPage, set log level to Debug

This commit is contained in:
Daniel Harvey
2026-05-21 15:55:34 -04:00
parent e496d9cde6
commit f76c96fe34
3 changed files with 11 additions and 7 deletions
+1 -5
View File
@@ -1,10 +1,6 @@
<Router AppAssembly="typeof(Routes).Assembly">
<Router AppAssembly="typeof(Routes).Assembly" NotFoundPage="typeof(Pages.NotFound)">
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(DeepDrftPublic.Client.Layout.MainLayout)" />
<FocusOnNavigate RouteData="routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<p role="alert">Sorry, there's nothing at this address.</p>
</NotFound>
</Router>