Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | enum CountryProfileProject {
coronavirus = "coronavirus",
co2 = "co2",
energy = "energy",
}
export const countryProfileDefaultCountryPlaceholder =
"{DEFAULT_COUNTRY_ENTITY_SELECT}"
interface CountryProfileProjectConfiguration {
project: CountryProfileProject
pageTitle: string
landingPageSlug: string
}
export interface CountryProfileSpec extends CountryProfileProjectConfiguration {
genericProfileSlug: string
rootPath: string
}
const countryProfileProjectConfigurations: CountryProfileProjectConfiguration[] =
[
{
project: CountryProfileProject.coronavirus,
pageTitle: "Coronavirus Pandemic",
landingPageSlug: "coronavirus",
},
{
project: CountryProfileProject.co2,
pageTitle: "CO2",
landingPageSlug: "co2-and-other-greenhouse-gas-emissions",
},
{
project: CountryProfileProject.energy,
pageTitle: "Energy",
landingPageSlug: "energy",
},
]
export const countryProfileSpecs: CountryProfileSpec[] =
countryProfileProjectConfigurations.map((config) => {
return {
...config,
rootPath: `${config.project}/country`,
genericProfileSlug: `${config.project}-country-profile`,
}
})
|