Skip to content

Commit

Permalink
Allow navigating home from 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-Krueger committed Nov 20, 2023
1 parent b51aa0f commit f54a160
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<div class="grid place-items-center h-screen">
<div class="grid place-items-center h-screen text-center">
<div>
<h1 class="text-center text-9xl mb-12">
<h1 class="text-9xl mb-12">
😬
</h1>
<p
role="alert"
class="text-neutral-50 text-center">
class="text-neutral-50 mb-8">
Awkward... I couldn't find the page you were looking for.
</p>
<a href="" class="mx-auto text-lg text-neutral-50 hover:text-cyan-500">Go Home</a>
</div>
</div>
</LayoutView>
Expand Down

0 comments on commit f54a160

Please sign in to comment.