refactor: overhaul UI for streamlined user experience

Redesign navigation, home overview, user portrait, and valuation pages
with improved functionality and responsive design.

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
This commit is contained in:
v0
2025-07-18 13:47:12 +00:00
parent 440b310c6f
commit 2408d50cb0
316 changed files with 55785 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { formatNumber } from "@/lib/utils"
export function UserAssetsSummary() {
// 这里应该从API获取实际数据
const stats = {
totalUsers: 125689,
activeUsers: 78452,
highValueUsers: 12458,
conversionRate: 12.5,
}
return (
<Card className="border shadow-sm">
<CardHeader className="pb-2">
<CardTitle className="text-base font-medium"></CardTitle>
</CardHeader>
<CardContent>
<div className="grid grid-cols-2 gap-4">
<div className="space-y-1">
<p className="text-xs text-muted-foreground"></p>
<p className="text-2xl font-bold">{formatNumber(stats.totalUsers)}</p>
</div>
<div className="space-y-1">
<p className="text-xs text-muted-foreground"></p>
<p className="text-2xl font-bold">{formatNumber(stats.activeUsers)}</p>
</div>
<div className="space-y-1">
<p className="text-xs text-muted-foreground"></p>
<p className="text-2xl font-bold">{formatNumber(stats.highValueUsers)}</p>
</div>
<div className="space-y-1">
<p className="text-xs text-muted-foreground"></p>
<p className="text-2xl font-bold">{stats.conversionRate}%</p>
</div>
</div>
</CardContent>
</Card>
)
}