summaryrefslogtreecommitdiff
path: root/Server.Client/Routes.razor
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-22 00:52:16 +1000
committerJake Mannens <jake@asger.xyz>2026-05-23 22:22:55 +1000
commit12eaa5814ef20b0910e8d64a753378b6f6797989 (patch)
tree062cf477c29054e0f089cb80f0cd79a9f3b7ccd9 /Server.Client/Routes.razor
parent6de5d7f5364fe1d54703da6d6b7cb08ea26e939f (diff)
Initial commitwasm-initial
Diffstat (limited to 'Server.Client/Routes.razor')
-rw-r--r--Server.Client/Routes.razor6
1 files changed, 6 insertions, 0 deletions
diff --git a/Server.Client/Routes.razor b/Server.Client/Routes.razor
new file mode 100644
index 0000000..105855d
--- /dev/null
+++ b/Server.Client/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>