From b1afd2ef82cc8fa130b75fcac737fda5c0d81fb7 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 13 Jun 2026 19:22:08 +0200 Subject: [PATCH] feat: add header navigation bar templates --- templates/components/navigation.gohtml | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/templates/components/navigation.gohtml b/templates/components/navigation.gohtml index ac6de37..ae53bad 100644 --- a/templates/components/navigation.gohtml +++ b/templates/components/navigation.gohtml @@ -95,3 +95,35 @@ {{end}} + +{{define "header_nav_link"}} +{{$isActive := .isActive}} + + {{if eq .key "watchlist"}} + + + + {{else if eq .key "search"}} + + + + + {{end}} + +{{end}} + +{{define "header_navigation"}} +{{$currentPath := .CurrentPath}} +
+ +
+{{end}}