Mercurial > Grille > Grille-Config
diff Components/Routes.razor @ 0:689cde763395
init cimmit
author | Franklin Schmit <meokcin@gmail.com> |
---|---|
date | Thu, 05 Sep 2024 10:16:16 +0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Components/Routes.razor Thu Sep 05 10:16:16 2024 +0800 @@ -0,0 +1,16 @@ +<Router AppAssembly="@typeof(Program).Assembly"> + <Found Context="routeData"> + <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> + </Found> + <NotFound> + <PageTitle>Not found</PageTitle> + <LayoutView Layout="@typeof(MainLayout)"> + <RadzenRow> + <RadzenColumn Size="12" style="margin-top: 5rem; margin-bottom: 5rem"> + <RadzenText Text="Page not found" TextStyle="TextStyle.DisplayH1" style="margin: 0; margin-bottom: 2rem" TextAlign="TextAlign.Center" /> + <RadzenText Text="Sorry, but there's nothing here!" TextStyle="TextStyle.H6" style="margin: 0" TextAlign="TextAlign.Center" TagName="TagName.P" /> + </RadzenColumn> + </RadzenRow> + </LayoutView> + </NotFound> +</Router>