From 0ef661d1584d0b0dc94a366c387e7fc3f36b1d38 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 29 Jan 2026 17:06:49 -0500 Subject: [PATCH] Fix header component rendering in bookshelf and dashboard templates - Changed Header component calls from text to proper templ syntax (@Header) - Header now properly renders navigation, search, theme switcher, and user menu - Fixed both bookshelf.templ and dashboard.templ templates --- templates/bookshelf.templ | 2 +- templates/dashboard.templ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/bookshelf.templ b/templates/bookshelf.templ index 3d1a157..0f64991 100644 --- a/templates/bookshelf.templ +++ b/templates/bookshelf.templ @@ -217,7 +217,7 @@ templ BookShelf(user User) { - Header(user, "/bookshelf") + @Header(user, "/bookshelf")
diff --git a/templates/dashboard.templ b/templates/dashboard.templ index 0617cc8..fa4ff13 100644 --- a/templates/dashboard.templ +++ b/templates/dashboard.templ @@ -73,7 +73,7 @@ templ Dashboard(user User) { - Header(user, "/dashboard") + @Header(user, "/dashboard")