Replace copy specific to Arbitrum
samajammin opened this issue · 1 comments
samajammin commented
Refactor all hard-coded references in favor of more flexible solution for any clr.fund instance.
What should approach here be? ENV variable?
I believe we could pull chain name based off VUE_APP_ETHEREUM_API_CHAINID
- we have a label
field on every chain here: https://github.com/ethereum/clrfund/blob/develop/vue-app/src/plugins/Web3/constants/chains.ts#L18
Replace hard-coded references:
- https://github.com/ethereum/clrfund/blob/develop/vue-app/src/views/AboutContributors.vue#L4
- https://github.com/ethereum/clrfund/blob/develop/vue-app/src/views/AboutRecipients.vue#L4
This also may require some icon & copy changes, e.g. on homepage:
samajammin commented
Should we create a folder for all the assets? The folder name could the same as the chain in the /src/plugins/Web3/constants/chains.ts file. Then in our app we reference images based on that.
Actually we already have that logo
prop for each chain.