fix: change "Dashboard" to "Overview" in space overview page

This commit is contained in:
juancwu 2026-02-06 22:02:23 +00:00
commit 4f1a5747db

View file

@ -10,7 +10,7 @@ import (
) )
templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) {
@layouts.Space("Dashboard", 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">
<h1 class="text-2xl font-bold">Welcome to { space.Name }!</h1> <h1 class="text-2xl font-bold">Welcome to { space.Name }!</h1>
@ -22,7 +22,9 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
} }
@dialog.Content() { @dialog.Content() {
@dialog.Header() { @dialog.Header() {
@dialog.Title() { Invite Member } @dialog.Title() {
Invite Member
}
@dialog.Description() { @dialog.Description() {
Send an invitation email to add a new member to this space. Send an invitation email to add a new member to this space.
} }
@ -51,7 +53,6 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
} }
} }
</div> </div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
// Shopping Lists section // Shopping Lists section
<div class="border rounded-lg p-4"> <div class="border rounded-lg p-4">
@ -83,3 +84,4 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
</div> </div>
} }
} }