diff --git a/device/environmental_impact/calculator.py b/device/environmental_impact/calculator.py deleted file mode 100644 index dd79432..0000000 --- a/device/environmental_impact/calculator.py +++ /dev/null @@ -1,10 +0,0 @@ -from dataclasses import dataclass - - -@dataclass -class EnvironmentalImpact: - carbon_saved: float - - -def get_device_environmental_impact() -> EnvironmentalImpact: - return EnvironmentalImpact(carbon_saved=225.0) diff --git a/device/templates/details.html b/device/templates/details.html index 0a843b7..e881bc4 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -29,16 +29,16 @@
kg CO₂e consumed
+whatever
Manufacturing Impact Avoided | -
- {{ impact.carbon_saved }} kg CO₂e
- - Based on average laptop manufacturing emissions - |
-
---|
Manufacturing Impact Avoided | +
+ {{ impact.carbon_saved }} kg CO₂e
+ + Based on average laptop manufacturing emissions + |
+
---|