feat(home): بازطراحی کادر آمار هیرو — شیشهٔ چندلایه با خط مویی مسی، هالهٔ نرم، نشان زنده و سلسلهمراتب عدد/برچسب (محتوای کاربر دستنخورده)
This commit is contained in:
@@ -148,10 +148,12 @@ export function Hero() {
|
||||
</span>
|
||||
</span>
|
||||
<div className="min-w-0">
|
||||
<p className="font-mono text-[2rem] font-bold leading-none tracking-tight text-copper">
|
||||
<InlineEdit value={hero.badge_value} onSave={(v) => saveHero('badge_value', v)} />
|
||||
</p>
|
||||
<p className="mt-2.5 text-[13px] font-light leading-6 text-ivory/75">
|
||||
{String(hero.badge_value ?? '').trim() !== '' && (
|
||||
<p className="font-mono text-[2rem] font-bold leading-none tracking-tight text-copper">
|
||||
<InlineEdit value={hero.badge_value} onSave={(v) => saveHero('badge_value', v)} />
|
||||
</p>
|
||||
)}
|
||||
<p className={`text-[13px] font-light leading-6 text-ivory/75 ${String(hero.badge_value ?? '').trim() !== '' ? 'mt-2.5' : ''}`}>
|
||||
<InlineEdit multiline value={hero.badge_label} onSave={(v) => saveHero('badge_label', v)} />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user