-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #431 from Klimatbyran/staging
KPI 7: climate requirements in procurements
- Loading branch information
Showing
28 changed files
with
476 additions
and
30,670 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ import EVCar from '../../public/icons/evcars_32.svg' | |
import Bike from '../../public/icons/bikelanes_32.svg' | ||
import Basket from '../../public/icons/consumtion_32.svg' | ||
import Charger from '../../public/icons/charger.svg' | ||
import Procurements from '../../public/icons/kpis/procurements_32.svg' | ||
import { requirementsInProcurement } from '../../utils/datasetDefinitions' | ||
|
||
const StyledH2 = styled(H2)` | ||
margin-top: 32px; | ||
|
@@ -27,7 +29,7 @@ type SolutionSectionProps = { | |
title: string | ||
heading: string | ||
data: string | ||
info: string | ||
info: string | JSX.Element | ||
} | ||
|
||
function SolutionSection({ | ||
|
@@ -55,6 +57,32 @@ function MunicipalitySolutions({ municipality }: SolutionsProps) { | |
<Paragraph> | ||
Här visas nyckeltal för hur det går med klimatomställningen i kommunerna. | ||
</Paragraph> | ||
<SolutionSection | ||
icon={<Basket />} | ||
title="Hushållens konsumtionsutsläpp" | ||
heading="CO₂e per person och år" | ||
data={`${municipality.TotalConsumptionEmission.toFixed(1)} ton`} | ||
info="Hushållens konsumtionsutsläpp (CO₂e) i ton per invånare år 2019." | ||
/> | ||
<SolutionSection | ||
icon={<Procurements />} | ||
title="Klimatkrav i upphandlingar" | ||
heading="Ställer kommunen klimatkrav i sina upphandlingar?" | ||
data={requirementsInProcurement(municipality.ProcurementScore)} | ||
info={( | ||
<> | ||
Kommuner som ställer klimatkrav vid offentliga upphandlingar. | ||
“Ja” innebär principbeslut och underlag som tillstyrker. | ||
“Kanske” innebär ja-svar i enkätundersökning eller via mejl, men utan underlag som tillstyrker. | ||
{' '} | ||
<a href="mailto:[email protected]"> | ||
Mejla oss | ||
</a> | ||
{' '} | ||
för att redigera informationen. | ||
</> | ||
)} | ||
/> | ||
<SolutionSection | ||
icon={<EVCar />} | ||
title="Elbilarna" | ||
|
@@ -63,27 +91,20 @@ function MunicipalitySolutions({ municipality }: SolutionsProps) { | |
info="Ökningstakten för andelen nyregistrerade laddbara bilar sedan Parisavtalet | ||
2015 i procentenheter per år." | ||
/> | ||
<SolutionSection | ||
icon={<Bike />} | ||
title="Cyklarna" | ||
heading="Antal meter cykelväg per invånare" | ||
data={`${municipality.BicycleMetrePerCapita.toFixed(1)} meter`} | ||
info="Antal meter cykelväg per invånare år 2022 totalt för alla väghållare (statlig, kommunal, enskild)." | ||
/> | ||
<SolutionSection | ||
icon={<Basket />} | ||
title="Hushållens konsumtionsutsläpp" | ||
heading="CO₂e per person och år" | ||
data={`${municipality.TotalConsumptionEmission.toFixed(1)} ton`} | ||
info="Hushållens konsumtionsutsläpp (CO₂e) i ton per invånare år 2019." | ||
/> | ||
<SolutionSection | ||
icon={<Charger />} | ||
title="Laddarna" | ||
heading="Antal elbilar per laddare" | ||
data={`${municipality.ElectricVehiclePerChargePoints < 1e10 ? municipality.ElectricVehiclePerChargePoints.toFixed(1) : 'Laddare saknas'}`} | ||
info="Antal registrerade laddbara bilar per offentliga laddpunkter år 2023. EU rekommenderar max 10 bilar per laddare." | ||
/> | ||
<SolutionSection | ||
icon={<Bike />} | ||
title="Cyklarna" | ||
heading="Antal meter cykelväg per invånare" | ||
data={`${municipality.BicycleMetrePerCapita.toFixed(1)} meter`} | ||
info="Antal meter cykelväg per invånare år 2022 totalt för alla väghållare (statlig, kommunal, enskild)." | ||
/> | ||
</> | ||
) | ||
} | ||
|
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
Binary file added
BIN
+104 KB
data/facts/procurements/Klimatkrav offentlig upphandling kartläggning.xlsx
Binary file not shown.
Oops, something went wrong.