summaryrefslogtreecommitdiff
path: root/Routes.razor
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-24 02:15:14 +1000
committerJake Mannens <jake@asger.xyz>2026-06-17 01:19:59 +1000
commitabb800e8bf33c42c2799bba0a63cfc4052874237 (patch)
tree98c9b6c2b48aa402a4af0d2af65f6ce073fced79 /Routes.razor
parent1c7b45986a582bb7f47a22b60aed7faf9817052c (diff)
Added Routes.razor and NotFound.razor
Diffstat (limited to 'Routes.razor')
-rw-r--r--Routes.razor6
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>