bulletboards/ImageBoardServerApp/App.razor

22 lines
No EOL
924 B
Text

<CascadingAuthenticationState>
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
<FocusOnNavigate RouteData="@routeData" Selector="h1"/>
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<h3>404</h3>
<div class="Error404">
<img src="img/static/err/1.png" alt="noimageFound"/>
<p role="alert">Sorry, nothing found.</p>
<br/>
<a href="/">Please go back to the main page.</a>
<br/>
<p>Or watch the tree and find the hidden Cat..</p>
</div>
</LayoutView>
</NotFound>
</Router>
</CascadingAuthenticationState>