Splash fixes

This commit is contained in:
Gordon Pedersen 2024-06-24 11:40:24 +10:00
parent 9369cf15ea
commit c7400ca42f
2 changed files with 21 additions and 4 deletions

View file

@ -3,7 +3,13 @@
<Router AppAssembly="@typeof(MauiProgram).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)">
<Authorizing>Logging in...</Authorizing>
<Authorizing>
<div class="no-border responsive max no-padding center-align middle-align">
<div class="padding">
<img src="/img/prami-neighbourhood.svg" class="extra" />
</div>
</div>
</Authorizing>
<NotAuthorized><RedirectToLogin /></NotAuthorized>
</AuthorizeRouteView>
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
@ -11,8 +17,13 @@
<NotFound>
<CascadingAuthenticationState>
<LayoutView Layout="@typeof(Layout.MainLayout)">
<img data-emoji="🦒" />
<p>Sorry, there's nothing here.</p>
<div class="no-border responsive max no-padding center-align middle-align">
<div class="padding">
<img src="/img/prami-neighbourhood.svg" class="extra" />
<p>Sorry, you seem to have landed nowhere.</p>
<small>@navigationManager.Uri</small>
</div>
</div>
</LayoutView>
</CascadingAuthenticationState>
</NotFound>

View file

@ -26,7 +26,13 @@
<div class="status-bar-safe-area"></div>
<div id="app">Loading...</div>
<div id="app">
<main class="no-border responsive max no-padding center-align middle-align">
<div class="padding">
<img src="/img/prami-neighbourhood.svg" class="extra" />
</div>
</main>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.