refactor: change spaces page header greeting with generic greeting

This commit is contained in:
juancwu 2026-04-24 00:51:06 +00:00
commit d5fc4be7e8

View file

@ -27,7 +27,7 @@ templ Spaces(spaces []blocks.SpaceCardInfo, totalBalance decimal.Decimal) {
<div class="mb-8 w-full space-y-2 md:space-y-0 md:flex justify-between items-end"> <div class="mb-8 w-full space-y-2 md:space-y-0 md:flex justify-between items-end">
<div class="space-y-2"> <div class="space-y-2">
<p class="text-muted-foreground text-sm">My Spaces</p> <p class="text-muted-foreground text-sm">My Spaces</p>
<h1 class="text-2xl font-bold">Good Evening, { displayName }</h1> <h1 class="text-2xl font-bold">Hello, { displayName }</h1>
if len(spaces) == 0 { if len(spaces) == 0 {
<p class="text-muted-foreground">Create a space to start tracking your expenses.</p> <p class="text-muted-foreground">Create a space to start tracking your expenses.</p>
} else { } else {