You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
795 B
30 lines
795 B
@inject HttpClient HttpClient |
|
@inject DatabaseContext Database |
|
|
|
<Router AppAssembly="@typeof(App).Assembly"> |
|
<Found Context="routeData"> |
|
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/> |
|
<FocusOnNavigate RouteData="@routeData" Selector="h1"/> |
|
</Found> |
|
<NotFound> |
|
<PageTitle>Not found</PageTitle> |
|
<LayoutView Layout="@typeof(MainLayout)"> |
|
<p role="alert">Sorry, there's nothing at this address.</p> |
|
</LayoutView> |
|
</NotFound> |
|
</Router> |
|
|
|
|
|
<style> |
|
a { |
|
color: #8fc5ff; |
|
font-weight: 700; |
|
} |
|
|
|
a:hover { |
|
color: #d2f0ff; |
|
text-decoration: underline; |
|
text-decoration-color: #8fc5ff; |
|
text-decoration-thickness: 3px; |
|
} |
|
</style>
|
|
|