stats: place × theme matrix (/stats/<place>/<theme>), sticky place/theme selector, generic metric engine with comparisons, 301s from the old section URLs
Deploy production / deploy (push) Successful in 1m19s

This commit is contained in:
stan committed 2026-10-26 17:37:47 +00:00
1 parent 7ba26f132d
commit f2f7bd0a19
51 files changed
+2234 -837

No files matched your search

+38
View File
@@ -506,6 +506,44 @@ export const trackerIcons: Record<string, TrackerIcon> = {
c(12, 12, 10),
'm16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z'
]
},
'stats-jobs': {
from: '#8b5cf6',
to: '#4f46e5',
ink: WHITE,
paths: [
'M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16',
'M4 6h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z'
]
},
'stats-budget': {
from: '#14b8a6',
to: '#0f766e',
ink: WHITE,
paths: ['M3 22h18', 'M6 18v-7', 'M10 18v-7', 'M14 18v-7', 'M18 18v-7', 'M12 2 20 7H4z']
},
'stats-culture': {
from: '#ec4899',
to: '#a855f7',
ink: WHITE,
paths: [
'M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z',
c(13.5, 6.5, 1),
c(17.5, 10.5, 1),
c(6.5, 12.5, 1),
c(8.5, 7.5, 1)
]
},
'stats-population': {
from: '#f43f5e',
to: '#f97316',
ink: WHITE,
paths: [
'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2',
c(9, 7, 4),
'M22 21v-2a4 4 0 0 0-3-3.87',
'M16 3.13a4 4 0 0 1 0 7.75'
]
}
};