fix: rename space dashboard page to space overview page

This commit is contained in:
juancwu 2026-02-07 15:09:35 +00:00
commit 05aaca3600
2 changed files with 2 additions and 3 deletions

View file

@ -99,7 +99,7 @@ func (h *SpaceHandler) DashboardPage(w http.ResponseWriter, r *http.Request) {
return 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) { func (h *SpaceHandler) ListsPage(w http.ResponseWriter, r *http.Request) {

View file

@ -9,7 +9,7 @@ import (
"git.juancwu.dev/juancwu/budgit/internal/ui/layouts" "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) { @layouts.Space("Overview", space) {
<div class="space-y-4"> <div class="space-y-4">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
@ -91,4 +91,3 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
</div> </div>
} }
} }