Add header for game list (#3)

Co-authored-by: Maxime Adler <madler@sqli.com>
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2025-02-27 01:09:05 +01:00
parent d9ae2f39bb
commit 4183b4b616
28 changed files with 697 additions and 104 deletions

View File

@@ -1,11 +1,13 @@
<Router AppAssembly="@typeof(App).Assembly">
@using GameIdeas.BlazorApp.Layouts
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(GamesBase)" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(GamesBase)">
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>