comparison Components/Routes.razor @ 0:689cde763395

init cimmit
author Franklin Schmit <meokcin@gmail.com>
date Thu, 05 Sep 2024 10:16:16 +0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:689cde763395
1 <Router AppAssembly="@typeof(Program).Assembly">
2 <Found Context="routeData">
3 <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4 </Found>
5 <NotFound>
6 <PageTitle>Not found</PageTitle>
7 <LayoutView Layout="@typeof(MainLayout)">
8 <RadzenRow>
9 <RadzenColumn Size="12" style="margin-top: 5rem; margin-bottom: 5rem">
10 <RadzenText Text="Page not found" TextStyle="TextStyle.DisplayH1" style="margin: 0; margin-bottom: 2rem" TextAlign="TextAlign.Center" />
11 <RadzenText Text="Sorry, but there's nothing here!" TextStyle="TextStyle.H6" style="margin: 0" TextAlign="TextAlign.Center" TagName="TagName.P" />
12 </RadzenColumn>
13 </RadzenRow>
14 </LayoutView>
15 </NotFound>
16 </Router>