djeck1432 / spotnet

5 stars 31 forks source link

Rework dashboard page #168

Open djeck1432 opened 2 hours ago

djeck1432 commented 2 hours ago
  1. Read guideline here
  2. Rework appropriate to design dashboard Collateral and Earnings part
  3. Set as start sum and current sum as 0
  4. Pay attention, is start sum is greater than current sum then current sum should be read color, if
  5. start_sum is less than current sum it should be green Text me in telegram to get access to figma djeck_vorobey1
raizo07 commented 2 hours ago

Can I work on this, I like πŸ’

Josh-121 commented 2 hours ago

Can I take this? I like πŸ’.

mimisavage commented 2 hours ago

I would love to take this up. I like πŸ’

omsant02 commented 2 hours ago

I'd like to handle this task @djeck1432 . I like πŸ’

i am planning to resolve this issue by putting some control flow in the logic

Kaminar-i commented 2 hours ago

Please, is there an opportunity for me to work on this issue?, I like πŸ’.

ooochoche commented 2 hours ago

I have read through the guidelines and also the rework description, and I can resolve this, @djeck1432 πŸ’

KevinLatino commented 2 hours ago

I like πŸ’

To implement the logic for the Collateral and Earnings section, set both startSum and currentSum to an initial value of 0. Then, create a conditional statement to check whether currentSum is greater or less than startSum. If currentSum is greater than startSum, display the currentSum in green; if it’s less, display it in red. This color logic will help visually represent increases and decreases in earnings or collateral on the dashboard.