feat: footer

This commit is contained in:
Guz
2024-12-13 20:42:28 -03:00
parent da40ffd6d5
commit 52cd138cf1
2 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import (
"forge.capytal.company/capytalcode/project-comicverse/lib/router/rerrors"
"keikos.work/templates/layouts"
"time"
)
type Home struct{}
@@ -118,5 +119,9 @@ templ (p *Home) page() {
</div>
</div>
</section>
<footer class="relative z-3 w-screen h-15vh font-serif text-center bg-black">
<p class="opacity-50">{ time.Now().Format("2006") } &copy; Helena "Keiko" Ayrim</p>
<p class="text-sm opacity-50">WIP. Created with &lt;3 by <a href="https://guz.one" class="text-white">Gustavo "Guz" L de Mello</a></p>
</footer>
}
}

View File

@@ -84,7 +84,7 @@ templ Page(i ...PageInfo) {
@pageInfo(i).Heading
}
</head>
<body>
<body class="bg-black">
<main class="absolute w-screen min-h-screen top-0 left-0 bg-black">
{ children... }
</main>