diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-05-24 02:15:14 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-06-15 10:45:44 +1000 |
| commit | 053d3205b3e209179cf1513b952430cd09aa924b (patch) | |
| tree | 89a9d44f205f4d2bdb1f60f015146a9f362a9ed5 /Routes.razor | |
| parent | ef6337f1627918d3fef3f961cfe87233bdeb0a1b (diff) | |
Added Routes.razor and NotFound.razor
Diffstat (limited to 'Routes.razor')
| -rw-r--r-- | Routes.razor | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Routes.razor b/Routes.razor new file mode 100644 index 0000000..105855d --- /dev/null +++ b/Routes.razor @@ -0,0 +1,6 @@ +<Router AppAssembly="typeof(Program).Assembly" NotFoundPage="typeof(Pages.NotFound)"> + <Found Context="routeData"> + <RouteView RouteData="routeData" DefaultLayout="typeof(Layout.MainLayout)" /> + <FocusOnNavigate RouteData="routeData" Selector="h1" /> + </Found> +</Router> |
