aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page/404.gohtml24
-rw-r--r--templates/page/legal.gohtml11
2 files changed, 32 insertions, 3 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
diff --git a/templates/page/legal.gohtml b/templates/page/legal.gohtml
index b3a3a54..0ed112a 100644
--- a/templates/page/legal.gohtml
+++ b/templates/page/legal.gohtml
@@ -1,11 +1,16 @@
{{define "body"}}
- <div class="credits-legal" style="{{ .GetBackground }}">
- <h1>Legal information</h1>
+ <main style="{{ .GetBackground }}">
+ <div class="header">
+ <h1 class="header__title">Legal information</h1>
+ <nav>
+ <a href="/">Home</a>
+ </nav>
+ </div>
<p>
The software behind this website was made by <a href="https://anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a>.
It is available on <a href="https://git.anhgelus.world/anhgelus/now">my forge</a> for free and licensed under
the <a href="https://git.anhgelus.world/anhgelus/now/raw/branch/main/LICENSE" target="_blank">AGPL</a> license.
</p>
{{ .GetLegal }}
- </div>
+ </main>
{{end}}