1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-22 15:24:21 +00:00

chore: beautify footer

This commit is contained in:
“axzilla” 2024-10-05 16:52:46 +02:00
parent 22f7b69107
commit 25695c161f
2 changed files with 13 additions and 6 deletions

View File

@ -1151,6 +1151,10 @@ body {
padding: 1.5rem;
}
.p-8 {
padding: 2rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;

View File

@ -4,11 +4,14 @@ import "time"
import "fmt"
templ Footer() {
<footer class="my-8 text-center text-md text-muted-foreground">
<p>
{ fmt.Sprintf("© %d goilerplate:", time.Now().Year()) }
Where Go meets UI, and sanity is optional.
</p>
<p>Use at your own risk. Stupid code not excluded.</p>
<footer class="py-4 text-center text-sm text-muted-foreground border-t">
<div class="container">
<p class="mb-2 font-semibold">
{ fmt.Sprintf("© %d goilerplate:", time.Now().Year()) }
</p>
<p>
Where Go meets UI, and sanity is optional. Use at your own risk. Stupid code not excluded.
</p>
</div>
</footer>
}