From 1575e1bb12074ea0879c2ed7b8754d11377074bf Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 5 May 2026 18:14:33 +0200 Subject: [PATCH] ui: add footer component with responsive layout --- templates/base.gohtml | 14 ++++++++++---- templates/components/footer.gohtml | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 templates/components/footer.gohtml diff --git a/templates/base.gohtml b/templates/base.gohtml index d67e8c0..8887efb 100644 --- a/templates/base.gohtml +++ b/templates/base.gohtml @@ -186,13 +186,19 @@ if (window.showToast) showToast({ message: 'Something went wrong' }) {{end}} -
- {{template "content" .}} +
+
+ {{template "content" .}} +
+ {{template "footer" .}}
{{else}} -
- {{template "content" .}} +
+
+ {{template "content" .}} +
+ {{template "footer" .}}
{{end}} diff --git a/templates/components/footer.gohtml b/templates/components/footer.gohtml new file mode 100644 index 0000000..055c30d --- /dev/null +++ b/templates/components/footer.gohtml @@ -0,0 +1,19 @@ +{{define "footer"}} + +{{end}} \ No newline at end of file