Configured default styling and restyled the NotFound page

This commit is contained in:
Khwezi Mngoma
2026-05-16 02:26:00 +02:00
parent 70c7351051
commit bf2e7e142d
8 changed files with 358 additions and 155 deletions
+9 -4
View File
@@ -1,6 +1,11 @@
<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)">
<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)">
<ShopAdmin.Components.Pages.NotFound />
</LayoutView>
</NotFound>
</Router>