Closed michaeljyeates closed 5 years ago
my suggestion would be to have the logo url(s) inside the theme.json file.
That can be done, can you make an example?
something like this...
Thanks, ill add those to my build script (lowercase though)
We will also need one for the favicon, and both of the currency icons in the header. If we launch on other chains, we may need an easy way to override this without forking the client code
"images": {
"logo_url": "${logo_url}",
"logo_notext_url": "${logo_notext_url}",
"background_url": "${background_url}",
"favicon_url": "${favicon_url}",
"dac_currency_url": "${dac_currency_url}",
"system_currency_url": "${system_currency_url}"
}
ok, I'll add the other images too. however, the favicon will only update after a new build/dev command because it's a file that is needed during build. the dac_currency and system_currency symbols must be handled via an icon font instead of plain images. the background url is already configurable via css.
We shouldn't download and host logo files from the same domain as the member client, if the logo is an svg then it can trigger an RCE vulnerability.
Eventually we will download the logos but we have to put them into a different directory and serve from a different domain