From ea67982a8d6dfcde5b8f4997e50097a8c8b04edf Mon Sep 17 00:00:00 2001 From: Robin Olsen Date: Mon, 23 Feb 2026 13:37:27 +0100 Subject: [PATCH] remove search bar until properly implemented --- pkg/web/routes/layout.templ | 8 ++++---- pkg/web/routes/layout_templ.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/web/routes/layout.templ b/pkg/web/routes/layout.templ index 1bf7c63..d0df570 100644 --- a/pkg/web/routes/layout.templ +++ b/pkg/web/routes/layout.templ @@ -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(), }, } diff --git a/pkg/web/routes/layout_templ.go b/pkg/web/routes/layout_templ.go index d6a5555..71e5bb9 100644 --- a/pkg/web/routes/layout_templ.go +++ b/pkg/web/routes/layout_templ.go @@ -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(), }, }