feat: Add Dark mode

Implements #2.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-08-24 12:45:50 +02:00
commit beabdd5749
Signed by: jriou
GPG key ID: 9A099EDA51316854
5 changed files with 77 additions and 27 deletions

View file

@ -1,29 +1,29 @@
{{define "create"}}
<!DOCTYPE html>
<html lang="en">
<html lang="en" data-bs-theme="light">
{{block "head" .}}{{end}}
<body>
{{block "header" .}}{{end}}
{{block "header" .}}{{end}}
<div class="container mb-4 text-center">
{{if eq .Err nil}}
{{if eq .Err nil}}
<div class="alert alert-success" role="alert">
<p>Note created successfully</p>
<p>
<a href="{{.URL}}">{{.URL}}</a>
</p>
</div>
{{else}}
{{else}}
<div class="alert alert-danger" role="alert">
<p>Could not create note</p>
<p><strong>{{.Err}}</strong></p>
</div>
</div>
{{end}}
{{end}}
{{block "footer" .}}{{end}}
{{block "footer" .}}{{end}}
</body>
</html>