diff --git a/internal/handler/space.go b/internal/handler/space.go index a40c178..3ad7593 100644 --- a/internal/handler/space.go +++ b/internal/handler/space.go @@ -99,7 +99,7 @@ func (h *SpaceHandler) DashboardPage(w http.ResponseWriter, r *http.Request) { return } - ui.Render(w, r, pages.SpaceDashboardPage(space, lists, tags)) + ui.Render(w, r, pages.SpaceOverviewPage(space, lists, tags)) } func (h *SpaceHandler) ListsPage(w http.ResponseWriter, r *http.Request) { diff --git a/internal/ui/pages/app_space_dashboard.templ b/internal/ui/pages/app_space_overview.templ similarity index 96% rename from internal/ui/pages/app_space_dashboard.templ rename to internal/ui/pages/app_space_overview.templ index b785e66..a53fd51 100644 --- a/internal/ui/pages/app_space_dashboard.templ +++ b/internal/ui/pages/app_space_overview.templ @@ -9,7 +9,7 @@ import ( "git.juancwu.dev/juancwu/budgit/internal/ui/layouts" ) -templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { +templ SpaceOverviewPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { @layouts.Space("Overview", space) {