summaryrefslogtreecommitdiff
path: root/components/error.html
diff options
context:
space:
mode:
Diffstat (limited to 'components/error.html')
-rw-r--r--components/error.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/error.html b/components/error.html
new file mode 100644
index 0000000..51b6b05
--- /dev/null
+++ b/components/error.html
@@ -0,0 +1,9 @@
+{{define "error"}}
+<a href="/">
+ <div class="bg-orange-100 border-l-4 border-orange-500 text-orange-700 p-4" role="alert">
+ <p class="font-bold">An error from server</p>
+ <p>{{.}}</p>
+ <p>Click this banner to return to main page.</p>
+ </div>
+</a>
+{{end}}