-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add full sector list, update accreditation and file category options
- Loading branch information
1 parent
4dd1648
commit 3beb794
Showing
7 changed files
with
118 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export const fileCategories = [ | ||
{ title: "Methodology", value: "Methodology" }, | ||
{ | ||
title: "Project Description Document (PDD)", | ||
value: "Project Description Document (PDD)", | ||
}, | ||
{ title: "Verifications", value: "Verifications" }, | ||
{ title: "Supporting Documentation", value: "Supporting Documentation" }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,65 @@ | ||
export const sectors = [ | ||
{ title: "Waste handling and disposal", value: "waste-h-d" }, | ||
{ | ||
title: "Afforestation and reforestation", | ||
value: "afforestation-and-reforestation", | ||
}, | ||
{ | ||
title: "Energy industries (renewable/non-renewable sources)", | ||
value: "energy-industries-renewable-non-renewable-sources", | ||
}, | ||
{ title: "Energy demand", value: "energy-demand" }, | ||
{ | ||
title: "Agriculture; forestry and fishing", | ||
value: "agriculture-forestry-and-fishing", | ||
}, | ||
{ | ||
title: "Waste handling and disposal", | ||
value: "waste-handling-and-disposal", | ||
}, | ||
{ | ||
title: "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: "Landfill Gas Capture/Combustion", | ||
value: "landfill-gas-capture-combustion", | ||
}, | ||
{ 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", | ||
}, | ||
{ | ||
title: "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: "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: | ||
"Fugitive emissions from production and consumption of halocarbons and sulphur hexafluoride", | ||
value: | ||
"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 (metallurgy)", | ||
value: "metal-production-metallurgy", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { defineType } from "sanity"; | ||
|
||
export default defineType({ | ||
name: "accreditation", | ||
title: "Accreditation", | ||
description: "Information about an accreditation that applies to assessors", | ||
type: "document", | ||
preview: { | ||
select: { | ||
name: "name", | ||
}, | ||
prepare(selection) { | ||
return { | ||
title: selection.name || "", | ||
}; | ||
}, | ||
}, | ||
fields: [ | ||
{ | ||
type: "string", | ||
title: "Name", | ||
name: "name", | ||
validation: (r) => r.required(), | ||
}, | ||
{ | ||
type: "string", | ||
title: "Link", | ||
name: "link", | ||
}, | ||
{ | ||
type: "image", | ||
title: "Logo", | ||
name: "logo", | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters