Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Adds apple-touch-icon to /bus-arrival/ #29
Default busrouter.sg apple-touch-icon added to /bus-arrival/, inserted
On /bus-arrival/, when a bus is pinned, the default apple-touch-icon is
Here's a screenshot of the generated apple-touch-icon ("Clementi")
I've also uploaded a screen recording of the result
cheeaun left a comment
Thanks for the quick reply!
Sure! I used to save the stop names based on intent (e.g. 196 "Home » Clementi"), though displaying the stop name might be semantically better, so I implemented it as such.
Static image (can!) or dynamic content generated from text (trickier, still can..)? Will first listen to and understand your thoughts before implementing.
The last "starred" service code will be the one that's used as the icon
Hey @jglim sorry for the late reply.
After some thinking, here are my thoughts:
There can be a lot of permutations for this but let's keep it simple for now