Added footer

This commit is contained in:
2025-02-06 16:01:00 +11:00
parent 399cd43626
commit dfbf3d1c79
14 changed files with 159 additions and 294 deletions

View File

@@ -1,5 +1,19 @@
package nav
type NavItem struct {
name string
href string
}
func getNavItems() []NavItem {
return []NavItem{
{
name: "Movies",
href: "/movies",
},
}
}
templ Navbar() {
{{ navItems := getNavItems() }}
<div x-data="{ open: false }">