Fun changes
This commit is contained in:
parent
cd778dd088
commit
349a6c1d53
60 changed files with 1260 additions and 2600 deletions
|
|
@ -82,6 +82,11 @@ const DATA_SOURCE_DEFS: DataSourceDef[] = [
|
|||
url: 'https://www.ons.gov.uk/peoplepopulationandcommunity/housing/datasets/privaterentalmarketsummarystatisticsinengland',
|
||||
license: 'Open Government Licence v3.0',
|
||||
},
|
||||
{
|
||||
id: 'election-results',
|
||||
url: 'https://electionresults.parliament.uk/general-elections/6',
|
||||
license: 'Open Parliament Licence v3.0',
|
||||
},
|
||||
];
|
||||
|
||||
// Maps data source id → [nameKey, originKey, useKey] in en.ts learnPage section
|
||||
|
|
@ -120,6 +125,11 @@ const DS_KEYS: Record<string, [string, string, string]> = {
|
|||
'learnPage.dsCouncilTaxUse',
|
||||
],
|
||||
'ons-rental': ['learnPage.dsRentalName', 'learnPage.dsRentalOrigin', 'learnPage.dsRentalUse'],
|
||||
'election-results': [
|
||||
'learnPage.dsElectionName',
|
||||
'learnPage.dsElectionOrigin',
|
||||
'learnPage.dsElectionUse',
|
||||
],
|
||||
};
|
||||
|
||||
function FAQItemCard({ question, answer }: { question: string; answer: string }) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue