ceddlyburge / elm-league-tables-from-google-sheets

A website to show league tables and fixtures, from results stored in Google Sheets
https://se-polo-2019.netlify.com/
MIT License
8 stars 0 forks source link

Allow each deployment to have its own icon #19

Closed ceddlyburge closed 5 years ago

ceddlyburge commented 5 years ago

At the moment there can be many deployments of this app, but they must all share the same icon.

It would be better if each deployment could have its own icon. A polo ball for polo leagues, a cricket bat for cricket leagues, etc.

Currently the icon is shown as the favicon in the brwoser bar, and as the application logo when adding it to the home screen of a mobile phone app.

favicon.ico is currently used for both purposes, which might be problematic (they have quite different size needs).

I think the plan would probably be to replace this file during the netlify build, by downloading another one from a url specified using an environment variable (which would be set up on netlify)

It is probably best to have a bash script to do this, so that it is easy to run it locally and see what is happening