This commit is contained in:
2025-12-31 17:45:49 +01:00
parent 42e8a02fde
commit 82ea760537
9 changed files with 689 additions and 129 deletions

View File

@@ -358,7 +358,7 @@ export default function AnalyticsPage() {
<td className="px-4 py-4 align-middle">
<Badge variant={
country.trend === 'up' ? 'success' :
country.trend === 'down' ? 'destructive' :
country.trend === 'down' ? 'error' :
'default'
}>
{country.trend === 'up' ? '↑' : country.trend === 'down' ? '↓' : '→'} {country.trendPercentage}%{country.isNew ? ' (new)' : ''}
@@ -407,7 +407,7 @@ export default function AnalyticsPage() {
<td className="px-4 py-4 align-middle">
<Badge variant={
qr.trend === 'up' ? 'success' :
qr.trend === 'down' ? 'destructive' :
qr.trend === 'down' ? 'error' :
'default'
}>
{qr.trend === 'up' ? '↑' : qr.trend === 'down' ? '↓' : '→'} {qr.trendPercentage}%{qr.isNew ? ' (new)' : ''}