Refactored navbar and added error page

This commit is contained in:
2025-02-06 14:24:23 +11:00
parent 1c30007af4
commit 399cd43626
17 changed files with 409 additions and 115 deletions

View File

@@ -0,0 +1,18 @@
package nav
templ navLeft(navItems []NavItem) {
<nav aria-label="Global" class="hidden sm:block">
<ul class="flex items-center gap-6 text-xl">
for _, item := range navItems {
<li>
<a
class="text-subtext1 hover:text-green transition"
href={ templ.SafeURL(item.href) }
>
{ item.name }
</a>
</li>
}
</ul>
</nav>
}