Styled not found page

This commit is contained in:
Khwezi Mngoma
2026-05-23 16:52:27 +02:00
parent 5e839dca03
commit 0cb77f87af
10 changed files with 655 additions and 40 deletions
+10 -4
View File
@@ -1,6 +1,12 @@
<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)">
@using MidrandBookshop.Components.Pages
<Router AppAssembly="@typeof(Program).Assembly">
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" />
<FocusOnNavigate RouteData="routeData" Selector="h1" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
</Router>
<NotFound>
<LayoutView Layout="@typeof(MainLayout)">
<NotFound />
</LayoutView>
</NotFound>
</Router>