Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix various label values #2419

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 28 additions & 27 deletions carbon-projects/lib/sectors.ts
Original file line number Diff line number Diff line change
@@ -1,65 +1,66 @@
export const sectors = [
{
title: "Afforestation and reforestation",
value: "afforestation-and-reforestation",
value: "Afforestation and reforestation",
},
{
title: "Energy industries (renewable/non-renewable sources)",
value: "energy-industries-renewable-non-renewable-sources",
value: "Energy industries (renewable/non-renewable sources)",
},
{ title: "Energy demand", value: "energy-demand" },
{ title: "Energy demand", value: "Energy demand" },
{
title: "Agriculture; forestry and fishing",
value: "agriculture-forestry-and-fishing",
value: "Agriculture; forestry and fishing",
},
{
title: "Waste handling and disposal",
value: "waste-handling-and-disposal",
value: "Waste handling and disposal",
},
{
title: "Livestock, enteric fermentation, and manure management",
value: "livestock-enteric-fermentation-and-manure-management",
value: "Livestock, enteric fermentation, and manure management",
},
{ title: "Technical Removal", value: "technical-removal" },
{ title: "Afforestation", value: "afforestation" },
{ title: "Transport", value: "transport" },
{ title: "Technical Removal", value: "Technical Removal" },
{ title: "Afforestation", value: "Afforestation" },
{ title: "Transport", value: "Transport" },
{
title: "Landfill Gas Capture/Combustion",
value: "landfill-gas-capture-combustion",
value: "Landfill Gas Capture/Combustion",
},
{ title: "Forestry", value: "forestry" },
{ title: "Energy Distribution", value: "energy-distribution" },
{ title: "Forestry", value: "Forestry" },
{ title: "Energy Distribution", value: "Energy Distribution" },
{
title:
"Water supply; sewerage, waste management and remediation activities",
value: "water-supply-sewerage-waste-management-and-remediation-activities",
value:
"Water supply; sewerage, waste management and remediation activities",
},
{
title: "Electricity; gas, steam and air conditioning supply",
value: "electricity-gas-steam-and-air-conditioning-supply",
value: "Electricity; gas, steam and air conditioning supply",
},
{ title: "Manufacturing", value: "manufacturing" },
{ title: "Transportation and storage", value: "transportation-and-storage" },
{ title: "Manufacturing", value: "Manufacturing" },
{ title: "Transportation and storage", value: "Transportation and storage" },
{
title: "Fugitive emissions from fuel (solid, oil and gas)",
value: "fugitive-emissions-from-fuel-solid-oil-and-gas",
value: "Fugitive emissions from fuel (solid, oil and gas)",
},
{ title: "Manufacturing industries", value: "manufacturing-industries" },
{ title: "Chemical industries", value: "chemical-industries" },
{ title: "Energy distribution", value: "energy-distribution" },
{ title: "Manufacturing industries", value: "Manufacturing industries" },
{ title: "Chemical industries", value: "Chemical industries" },
{ title: "Energy distribution", value: "Energy distribution" },
{
title:
"Fugitive emissions from production and consumption of halocarbons and sulphur hexafluoride",
value:
"fugitive-emissions-from-production-and-consumption-of-halocarbons-and-sulphur-hexafluoride",
"Fugitive emissions from production and consumption of halocarbons and sulphur hexafluoride",
},
{ title: "Metal production", value: "metal-production" },
{ title: "Agriculture", value: "agriculture" },
{ title: "Mining/mineral production", value: "mining-mineral-production" },
{ title: "Construction", value: "construction" },
{ title: "Mining and quarrying", value: "mining-and-quarrying" },
{ title: "Metal production", value: "Metal production" },
{ title: "Agriculture", value: "Agriculture" },
{ title: "Mining/mineral production", value: "Mining/mineral production" },
{ title: "Construction", value: "Construction" },
{ title: "Mining and quarrying", value: "Mining and quarrying" },
{
title: "Metal production (metallurgy)",
value: "metal-production-metallurgy",
value: "Metal production (metallurgy)",
},
];
16 changes: 8 additions & 8 deletions carbon-projects/schemas/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ const subcategories = [
];

const statuses = [
{ title: "Registered", value: "registered" },
{ title: "Validated", value: "validated" },
{ title: "Verified", value: "verified" },
{ title: "Withdrawn", value: "withdrawn" },
{ title: "Registered", value: "Registered" },
{ title: "Validated", value: "Validated" },
{ title: "Verified", value: "Verified" },
{ title: "Withdrawn", value: "Withdrawn" },
];

const types = [
{ title: "Avoidance", value: "avoidance" },
{ title: "Reduction", value: "reduction" },
{ title: "Removal", value: "removal" },
{ title: "Hybrid", value: "hybrid" },
{ title: "Avoidance", value: "Avoidance" },
{ title: "Reduction", value: "Reduction" },
{ title: "Removal", value: "Removal" },
{ title: "Hybrid", value: "Hybrid" },
];

export default defineType({
Expand Down