-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style the error page, fix form styles
- Loading branch information
1 parent
bffc819
commit 978f43e
Showing
4 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
{{define "main"}} | ||
|
||
<div class="h-full flex items-center justify-center"> | ||
<div class="text-center"> | ||
<p class="font-semibold text-gray-700">{{.StatusCode}}</p> | ||
<h1 class="mt-4 text-3xl font-bold text-gray-900">{{.StatusText}}</h1> | ||
<p class="mt-6">{{.Message}}</p> | ||
<div class="mt-10"> | ||
<a href="/" class="rounded-md px-4 py-2 font-semibold bg-gray-700 text-gray-100 shadow-sm hover:bg-gray-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-700">Go back home</a> | ||
</div> | ||
</div> | ||
</div> | ||
<section class="error"> | ||
<article> | ||
<p class="error__code">{{.StatusCode}}</p> | ||
<h1 class="error__status">{{.StatusText}}</h1> | ||
<h2 class="error__message">{{.Message}}</h2> | ||
<a class="error__link" href="/">Go back home</a> | ||
</article> | ||
</section> | ||
|
||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters