safe-global / safe-homepage

Safe homepage
https://safe.global
MIT License
5 stars 13 forks source link

Add Transactions On Chain Component #394

Closed Malayvasa closed 2 months ago

Malayvasa commented 2 months ago

Related To #380

Malayvasa commented 2 months ago

@DiogoSoaress I will need help on how to move const TRANSACTIONS_AMOUNT = 1.75 to dataroom.json.

I am also not sure why color: var(--mui-palette-text-primary); is not working for me. If this isn't the correct way do this, please advise on how I can utilise the existing color system.

DiogoSoaress commented 2 months ago

@DiogoSoaress I will need help on how to move const TRANSACTIONS_AMOUNT = 1.75 to dataroom.json.

Use a constant for now, we can tackle the value fetching in the end

I am also not sure why color: var(--mui-palette-text-primary); is not working for me.

That color it's #FFFFFF, it shows white, meaning it's working well ser

Malayvasa commented 2 months ago

Have addressed all comments except https://github.com/safe-global/safe-homepage/pull/394#discussion_r1660943783 and https://github.com/safe-global/safe-homepage/pull/394#discussion_r1660944805. I can move these to css file although they are here to give easy control over the size of the counter. As we discussed I was planning to use this component in the World GDP Component, so these styles here will let me create a variant.