-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: dynamically set meta tags #1453
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
transform: 'rotate(180deg)', | ||
mixBlendMode: 'overlay', | ||
backgroundImage: | ||
'url("https://arbitrum.io/background/grains_bottom.png")', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have it as part of this repo, we had issues in the past where images were moved on arbitrum.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
relative url does not work with satori.... only possible alternatives are
- change the element layout, and use this png in base64 form, or
- keep the image here, and do not use the current version but refer to prod
bridge.arbitrum.io
version
I think given that it's just grains for artistic effect, it's ok to use arbitrum.io, it's also not so bad if it's gone missing because the bg would just become pure black
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move it to bridge.arbitrum.io?
height={168} | ||
/> | ||
<img | ||
src={`data:image/png;base64,${imageContent.toString('base64')}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the image directly instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above, no
- relative links don't work, and
- svg format doesn't work
…token-bridge into feat-dynamic-meta
</span> | ||
<img | ||
src={chainToLogo[chain]} | ||
alt="logo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have the chain's name + logo
in alt text
[ | ||
customInfuraProvider(), | ||
publicProvider(), | ||
jsonRpcProvider({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this diff required in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is because otherwise the transfer panel will not render
closes FS-238