errorPage.tmpl: update appearance [skip ci]
This commit is contained in:
parent
3cacea8c1f
commit
c205c5d251
@ -4,15 +4,18 @@
|
||||
<main class="grow">
|
||||
<div class="container mx-auto md:items-center text-center">
|
||||
<div class="place-items-center text-center">
|
||||
<h1 class="p-2 mt-10 text-7xl font-bold text-purple-700 dark:text-purple-400">
|
||||
{{ .Status }} - {{ .StatusText }}
|
||||
<h1 class="px-2 mt-10 text-7xl font-bold text-purple-700 dark:text-purple-400">
|
||||
Error {{ .Status }}
|
||||
</h1>
|
||||
<h2 class="px-2 mt-10 text-3xl font-bold text-purple-500 dark:text-purple-300">
|
||||
{{ .StatusText }}
|
||||
</h2>
|
||||
{{ if .DevelMode }}
|
||||
<p class="p-2 mt-4 text-xl font-medium text-red-500">
|
||||
Error: {{ .Error }}<br />
|
||||
<p class="p-2 mt-4 text-xl font-medium italic text-red-600 dark:text-red-500">
|
||||
Debug: {{ .Error }}<br />
|
||||
</p>
|
||||
{{ end }}
|
||||
<div class="w-1/2 md:w-full px-auto py-3 mx-auto text-sm font-medium tracking-wide text-blue-300 dark:text-blue-500 transition-colors duration-300 hover:underline">
|
||||
<div class="w-1/2 md:w-full px-auto py-3 mx-auto text-sm font-medium tracking-wide text-blue-500 dark:text-blue-500 transition-colors duration-300 hover:underline">
|
||||
<a href="/">Get back home</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user