feat(performance): update performance metrics handling and UI components

This commit is contained in:
CaIon
2026-05-12 16:04:15 +08:00
parent ba474393fb
commit 19fc384e67
37 changed files with 936 additions and 443 deletions
@@ -475,14 +475,14 @@ export function RechargeFormCard({
</div>
{topupLink && (
<p className='text-muted-foreground text-xs'>
{t('Need a code?')}{' '}
{t('Need a redemption code?')}{' '}
<a
href={topupLink}
target='_blank'
rel='noopener noreferrer'
className='inline-flex items-center gap-1 underline-offset-4 hover:underline'
>
{t('Purchase here')}
{t('Get one here')}
<ExternalLink className='h-3 w-3' />
</a>
</p>
@@ -254,7 +254,7 @@ export function SubscriptionPlansCard({
<>
<TitledCard
title={t('Subscription Plans')}
description={t('Purchase a plan to enjoy model benefits')}
description={t('Subscribe to a plan for model access')}
icon={<Crown className='h-4 w-4' />}
contentClassName='space-y-4 sm:space-y-5'
>
@@ -499,7 +499,7 @@ export function SubscriptionPlansCard({
{!hasAny && (
<p className='text-muted-foreground mt-2 text-xs'>
{t('Purchase a plan to enjoy model benefits')}
{t('Subscribe to a plan for model access')}
</p>
)}
</div>