errorPage.tmpl: update appearance [skip ci]

This commit is contained in:
leo 2023-06-04 11:59:25 +02:00
parent 3cacea8c1f
commit c205c5d251
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -4,15 +4,18 @@
<main class="grow"> <main class="grow">
<div class="container mx-auto md:items-center text-center"> <div class="container mx-auto md:items-center text-center">
<div class="place-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"> <h1 class="px-2 mt-10 text-7xl font-bold text-purple-700 dark:text-purple-400">
{{ .Status }} - {{ .StatusText }} Error {{ .Status }}
</h1> </h1>
<h2 class="px-2 mt-10 text-3xl font-bold text-purple-500 dark:text-purple-300">
{{ .StatusText }}
</h2>
{{ if .DevelMode }} {{ if .DevelMode }}
<p class="p-2 mt-4 text-xl font-medium text-red-500"> <p class="p-2 mt-4 text-xl font-medium italic text-red-600 dark:text-red-500">
Error: {{ .Error }}<br /> Debug: {{ .Error }}<br />
</p> </p>
{{ end }} {{ 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> <a href="/">Get back home</a>
</div> </div>
</div> </div>