aboutsummaryrefslogtreecommitdiff
path: root/templates/page/404.gohtml
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-09-07 16:48:17 +0200
committerWilliam Hergès <william@herges.fr>2025-09-07 16:48:17 +0200
commit26d21b4fa9c703a84b34ceabc13d0d5e19c90e98 (patch)
tree9236f03838a61be1f222a6a87827390d62113bd3 /templates/page/404.gohtml
parent996ff551f05dee6db08c8eb4144e7db4a5dbeaa2 (diff)
feat(404): better handle
Diffstat (limited to 'templates/page/404.gohtml')
-rw-r--r--templates/page/404.gohtml24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/page/404.gohtml b/templates/page/404.gohtml
new file mode 100644
index 0000000..76f9128
--- /dev/null
+++ b/templates/page/404.gohtml
@@ -0,0 +1,24 @@
+{{define "body"}}
+ <main style="{{ .GetBackground }}">
+ <div class="header">
+ <h1 class="header__title">404 - Not found</h1>
+ <nav>
+ <a href="/">Home</a>
+ </nav>
+ </div>
+ <p>
+ Oh no, you are lost. Do you need help?
+ </p>
+ <nav class="links" style="{{ .Color.Button.GetBackground }}{{ .Color.Button.GetTextColor }}">
+ <div class="link">
+ <a href="/legal">Legal information</a>
+ </div>
+ <div class="link">
+ <a href="/">Home</a>
+ </div>
+ <div class="link">
+ <a href="/now">Now</a>
+ </div>
+ </nav>
+ </main>
+{{end}} \ No newline at end of file