ui: add footer component with responsive layout

This commit is contained in:
2026-05-05 18:14:33 +02:00
parent 0679b483c3
commit 1575e1bb12
2 changed files with 29 additions and 4 deletions

View File

@@ -186,13 +186,19 @@ if (window.showToast) showToast({ message: 'Something went wrong' })
{{end}}
</div>
<main class="w-full flex-1 overflow-x-hidden p-4 md:p-8 lg:p-12">
{{template "content" .}}
<main class="w-full flex-1 overflow-x-hidden flex flex-col">
<div class="flex-1 p-4 md:p-8 lg:p-12">
{{template "content" .}}
</div>
{{template "footer" .}}
</main>
</div>
{{else}}
<main class="w-full flex-1">
{{template "content" .}}
<main class="w-full flex-1 flex flex-col">
<div class="flex-1">
{{template "content" .}}
</div>
{{template "footer" .}}
</main>
{{end}}
</div>