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
This commit is contained in:
2026-01-29 17:06:49 -05:00
parent 183a0b795c
commit 0ef661d158
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ templ BookShelf(user User) {
</style>
</head>
<body class="theme-tokyo-night">
Header(user, "/bookshelf")
@Header(user, "/bookshelf")
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<!-- Library Selector -->
<div class="library-selector">