PoucaAgua / irrigation-system-design-frontend

0 stars 0 forks source link

[frontend] create the Percent shaded/wetted area #14

Closed ravellys closed 10 months ago

ravellys commented 1 year ago

What

to this task is necessary to create the component Percent shaded/wetted area:

Image

How

  1. Is necessary to modify the card in Home, inserting an image and a description: Image
  2. Is necessary to implement the components in http://localhost:3000/PercenteShaded (Please change the name for both calculations (wetted and shaded, or create another endpoint)
  3. Is necessary to create the service in frontEnd that use the backendApis

Image

  1. For both, create a dropdown with the type of possible calculation

Note: Maybe will be necessary to create the Agronomic component too

DoD

  1. The cards of Ps and PW (in HomeCards) must be pretty;
  2. The Ps and Pw components must be implemented;
  3. The components must consult the API to calculate;
  4. Create different components for PW and PS;
  5. create a check switch component bootstrap to insert the PW or PS (when on) or calculate (when off)