Skip to content

[FE-59] Implement shipment CO2 emissions calculator #818

@mftee

Description

@mftee

Overview

Build a component that estimates the carbon footprint of a shipment based on transport mode, distance, and cargo weight. All work goes in frontend/sandbox/.

Acceptance Criteria

  • Component at frontend/sandbox/components/EmissionsCalculator.tsx
  • Inputs: transport mode (Road, Sea, Air, Rail), distance (km), cargo weight (kg)
  • Calculates CO2 estimate using standard emission factors per mode
  • Displays result in kg CO2 with a color indicator (green < 100kg, yellow 100-500kg, red > 500kg)
  • Shows equivalent trees needed to offset the emissions
  • Results update in real time as inputs change
  • Demo page at frontend/sandbox/page.tsx renders the calculator

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions