Starting to add some localisation

This commit is contained in:
Mike Simpson 2023-05-12 16:38:39 +01:00
parent 2c266d0c28
commit 29522d2ce7
2 changed files with 13 additions and 7 deletions

View File

@ -5,5 +5,8 @@
"privacyStatement": "{Privacy statement goes here}", "privacyStatement": "{Privacy statement goes here}",
"initialMapPosition": [ 51.5245255, -0.1338422 ], "initialMapPosition": [ 51.5245255, -0.1338422 ],
"initialZoomLevel": 16 "initialZoomLevel": 16,
"postcode": "Postcode",
"energy_rating": "Building Research Establishment Environmental Assessment Method (BREEAM) rating"
} }

View File

@ -1,11 +1,14 @@
export interface CCConfig export interface CCConfig
{ {
cityName: string; cityName: string; // City name (i.e. "Colouring {City Name}")
projectBlurb: string; projectBlurb: string; // Description used on homepage
githubURL: string; githubURL: string; // URL of the project's GitHub repository
privacyStatement: string; privacyStatement: string; // Privacy statement, including where data is stored
initialMapPosition: [number, number]; initialMapPosition: [number, number]; // Initial location of the map [latitude, longitude]
initialZoomLevel: number; initialZoomLevel: number; // Initial Zoom Level
postcode: string; // Alternative for "Postcode" text (i.e. "Zip Code")
energy_rating: string; // Official Environmental Energy Rating (BREEAM Rating in UK)
} }