remove search bar until properly implemented

This commit is contained in:
Robin Olsen
2026-02-23 13:37:27 +01:00
parent 8decd74952
commit ea67982a8d
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package routes
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
import "github.com/LazyBachelor/LazyPM/pkg/web/components/base"
var baseLayout = components.LayoutProps{
Title: "Beads Test Application",
@@ -18,7 +17,7 @@ var baseLayout = components.LayoutProps{
},
},
Routes: []components.NavRoutes{
Routes: []components.NavRoutes{
{Name: "Dashboard", Path: "/", Icon: components.IconDashboard()},
{Name: "Issues", Path: "/", Icon: components.IconIssues()},
{Name: "Agile Board", Path: "/board", Icon: components.IconAgileBoard()},
@@ -26,9 +25,10 @@ var baseLayout = components.LayoutProps{
{Name: "Reports", Path: "/reports", Icon: components.IconReports()},
{Name: "Settings", Path: "/settings", Icon: components.IconSettings()},
},
Header: components.HeaderProps{
Title: "LazyPM Dashboard",
/* Removed until properly implemented
NavbarCenter: base.Input(base.InputProps{
Name: "search-issue",
Type: "search",
@@ -37,7 +37,7 @@ var baseLayout = components.LayoutProps{
Attrs: templ.Attributes{
"class": "text-base-content",
},
}),
}),*/
NavbarEnd: components.Status(),
},
}

View File

@@ -9,7 +9,6 @@ import "github.com/a-h/templ"
import templruntime "github.com/a-h/templ/runtime"
import "github.com/LazyBachelor/LazyPM/pkg/web/components"
import "github.com/LazyBachelor/LazyPM/pkg/web/components/base"
var baseLayout = components.LayoutProps{
Title: "Beads Test Application",
@@ -37,6 +36,7 @@ var baseLayout = components.LayoutProps{
Header: components.HeaderProps{
Title: "LazyPM Dashboard",
/* Removed until properly implemented
NavbarCenter: base.Input(base.InputProps{
Name: "search-issue",
Type: "search",
@@ -45,7 +45,7 @@ var baseLayout = components.LayoutProps{
Attrs: templ.Attributes{
"class": "text-base-content",
},
}),
}),*/
NavbarEnd: components.Status(),
},
}