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-11 01:13:32 +1000
commit34582508912d9385de897bce0f2c4cc484d7e8ce (patch)
tree88e1df52d728abbce8bdb2d70936a1fab47d8b59 /Routes.razor
parentad4c3ceac2cdea5a569946e71d722d96f422606a (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>