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:
@@ -73,7 +73,7 @@ templ Dashboard(user User) {
|
||||
</style>
|
||||
</head>
|
||||
<body class="theme-tokyo-night">
|
||||
Header(user, "/dashboard")
|
||||
@Header(user, "/dashboard")
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
|
||||
<!-- Header Section -->
|
||||
|
||||
Reference in New Issue
Block a user