diff --git a/frontend/src/components/learn/LearnPage.tsx b/frontend/src/components/learn/LearnPage.tsx index 03487b5..6cfd495 100644 --- a/frontend/src/components/learn/LearnPage.tsx +++ b/frontend/src/components/learn/LearnPage.tsx @@ -8,7 +8,7 @@ const DATA_SOURCES = [ id: 'price-paid', name: 'Price Paid Data', origin: 'HM Land Registry', - use: 'Complete historical property sale prices for England and Wales. Used for the last known sale price of each property.', + use: 'Complete historical property sale prices for England. Used for the last known sale price of each property.', url: 'https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads', license: 'Open Government Licence v3.0', }, @@ -117,7 +117,7 @@ const DATA_SOURCES = [ url: 'https://www.gov.uk/government/statistics/council-tax-levels-set-by-local-authorities-in-england-2025-to-2026', license: 'Open Government Licence v3.0', }, - { + { id: 'ons-rental', name: 'Private Rental Market Statistics', origin: 'ONS / Valuation Office Agency', @@ -289,10 +289,9 @@ export default function LearnPage() { }, [tab]); const tabClass = (t: LearnTab) => - `px-4 py-2 text-sm font-medium rounded-t border-b-2 ${ - tab === t - ? 'border-teal-500 text-teal-700 dark:text-teal-400' - : 'border-transparent text-warm-500 dark:text-warm-400 hover:text-warm-700 dark:hover:text-warm-300' + `px-4 py-2 text-sm font-medium rounded-t border-b-2 ${tab === t + ? 'border-teal-500 text-teal-700 dark:text-teal-400' + : 'border-transparent text-warm-500 dark:text-warm-400 hover:text-warm-700 dark:hover:text-warm-300' }`; return ( @@ -331,11 +330,10 @@ export default function LearnPage() { ref={(el) => { cardRefs.current[source.id] = el; }} - className={`bg-white dark:bg-warm-800 rounded-lg border p-5 ${ - highlightedId === source.id + className={`bg-white dark:bg-warm-800 rounded-lg border p-5 ${highlightedId === source.id ? 'border-teal-400 ring-2 ring-teal-400' : 'border-warm-200 dark:border-warm-700' - }`} + }`} >

diff --git a/frontend/src/index.html b/frontend/src/index.html index 66242a0..6b98a50 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -4,8 +4,8 @@ - Perfect Postcode — Every neighbourhood in England & Wales - + Perfect Postcode — Every neighbourhood in England +