This commit is contained in:
Andras Schmelczer 2026-05-11 21:38:26 +01:00
parent 9248e26af2
commit f2a2651b8a
95 changed files with 3993 additions and 1471 deletions

View file

@ -458,7 +458,7 @@ export default memo(function Map({
className="font-bold text-white whitespace-nowrap"
style={{ fontSize: '5rem' }}
>
Your perfect postcode
{t('map.ogTitle')}
</span>
</div>
</div>
@ -467,23 +467,23 @@ export default memo(function Map({
<div className="absolute bottom-0 left-0 right-0 flex items-center justify-between px-10 py-4 bg-white">
<div className="flex items-center gap-6">
<span className="text-warm-500 font-medium" style={{ fontSize: '0.95rem' }}>
Property prices
{t('map.ogPropertyPrices')}
</span>
<span className="text-warm-300">|</span>
<span className="text-warm-500 font-medium" style={{ fontSize: '0.95rem' }}>
Energy ratings
{t('map.ogEnergyRatings')}
</span>
<span className="text-warm-300">|</span>
<span className="text-warm-500 font-medium" style={{ fontSize: '0.95rem' }}>
Schools
{t('map.ogSchools')}
</span>
<span className="text-warm-300">|</span>
<span className="text-warm-500 font-medium" style={{ fontSize: '0.95rem' }}>
Crime stats
{t('map.ogCrimeStats')}
</span>
<span className="text-warm-300">|</span>
<span className="text-warm-500 font-medium" style={{ fontSize: '0.95rem' }}>
Transport
{t('map.ogTransport')}
</span>
</div>
<span className="text-teal-600 font-semibold" style={{ fontSize: '1rem' }}>
@ -583,7 +583,9 @@ export default memo(function Map({
<div className="text-lg font-bold text-teal-600 dark:text-teal-400">
{popupInfo.clusterCount}
</div>
<div className="text-warm-500 dark:text-warm-400 text-xs">places</div>
<div className="text-warm-500 dark:text-warm-400 text-xs">
{t('common.places')}
</div>
</div>
) : (
<div className="px-3 py-2">
@ -610,7 +612,7 @@ export default memo(function Map({
backgroundColor: `rgb(${getPoiGroupColor(popupInfo.group).join(',')})`,
}}
/>
{popupInfo.category}
{ts(popupInfo.category)}
</div>
</div>
</div>