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"> <Router AppAssembly="@typeof(MauiProgram).Assembly">
<Found Context="routeData"> <Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(Layout.MainLayout)"> <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> <NotAuthorized><RedirectToLogin /></NotAuthorized>
</AuthorizeRouteView> </AuthorizeRouteView>
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> <FocusOnNavigate RouteData="@routeData" Selector="h1" />
@ -11,8 +17,13 @@
<NotFound> <NotFound>
<CascadingAuthenticationState> <CascadingAuthenticationState>
<LayoutView Layout="@typeof(Layout.MainLayout)"> <LayoutView Layout="@typeof(Layout.MainLayout)">
<img data-emoji="🦒" /> <div class="no-border responsive max no-padding center-align middle-align">
<p>Sorry, there's nothing here.</p> <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> </LayoutView>
</CascadingAuthenticationState> </CascadingAuthenticationState>
</NotFound> </NotFound>

View file

@ -26,7 +26,13 @@
<div class="status-bar-safe-area"></div> <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"> <div id="blazor-error-ui">
An unhandled error has occurred. An unhandled error has occurred.