Eerste commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
@namespace MijnBesluit.App
|
||||
|
||||
@* De ingang van de app. De schermen zelf staan in MijnBesluit.AppUi, zodat website en app
|
||||
dezelfde blijven; hier wordt alleen verteld waar ze te vinden zijn. *@
|
||||
|
||||
<Router AppAssembly="@typeof(Hoofdscherm).Assembly"
|
||||
AdditionalAssemblies="new[] { typeof(MijnBesluit.AppUi.Schermen.Start).Assembly }">
|
||||
<Found Context="routeData">
|
||||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(AppSchil)" />
|
||||
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
|
||||
</Found>
|
||||
<NotFound>
|
||||
<LayoutView Layout="@typeof(AppSchil)">
|
||||
<div class="leeg">
|
||||
<span class="teken">🤔</span>
|
||||
Dit scherm bestaat niet. Ga terug naar het <a href="/">overzicht</a>.
|
||||
</div>
|
||||
</LayoutView>
|
||||
</NotFound>
|
||||
</Router>
|
||||
@@ -0,0 +1,7 @@
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using MijnBesluit.App
|
||||
@using MijnBesluit.AppUi
|
||||
@using MijnBesluit.AppUi.Layout
|
||||
@using MijnBesluit.AppUi.Schermen
|
||||
@using MijnBesluit.Client
|
||||
Reference in New Issue
Block a user