feat(hero): apply mono + tabular numerals to hero stats band

成果带数字改 font-mono + tabular-nums,强化「数据终端」语义(Stripe 惯例)

HeroStatsBand 即 Hero 真实数据面,无需臆造新浮层

门禁:type-check 0 / eslint 0 error(19 条既有 any warning)/ 单测 36 passed
This commit is contained in:
2026-09-01 09:58:17 +08:00
parent bfa49410e4
commit b80db75c25
+1 -1
View File
@@ -286,7 +286,7 @@ function HeroStatsBand({ stats }: { stats?: Record<string, any>[] }) {
{displayStats.map((stat, i) => (
<div key={i} className="flex items-baseline gap-2">
<span className={cn(
'text-3xl sm:text-4xl md:text-5xl font-bold tabular-nums leading-none',
'text-3xl sm:text-4xl md:text-5xl font-mono font-bold tabular-nums leading-none',
i === 0 ? 'text-brand' : 'text-ink'
)}>
{stat.value}