ui: add footer component with responsive layout
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user