pcmt/templates/errorPage.tmpl
leo 78774ac3ad
All checks were successful
continuous-integration/drone/push Build is passing
errorPage.tmpl: increase msg font size
2023-05-03 06:06:32 +02:00

22 lines
770 B
Go HTML Template

{{ template "head.tmpl" . }}
<body class="h-screen bg-white dark:bg-gray-900">
{{ template "navbar.tmpl" . }}
<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>
{{ if .DevelMode }}
<p class="p-2 mt-4 text-xl font-medium text-red-500">
Error: {{ .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">
<a href="/">Get back home</a>
</div>
</div>
</div>
</main>
{{ template "footer.tmpl" . }}