At present, the Facebook and Twitter buttons in the header are generated with the official widgets. However these require an unnecessarily large JS download, and they load slower than the Youtube link (which is currently hard-coded and styled with CSS).
So, let's remove the widget JS and make our own, faster buttons! Copy the Youtube button styling but change the icon, text and background colour (remember to add a hover colour too).
You can make the link something like this:
For the [URL], you'll want to get the current URL that each one directs to. If you have a clever solution for generating the URL without needing a whole load of JS, I'm open to it!
At present, the Facebook and Twitter buttons in the header are generated with the official widgets. However these require an unnecessarily large JS download, and they load slower than the Youtube link (which is currently hard-coded and styled with CSS). So, let's remove the widget JS and make our own, faster buttons! Copy the Youtube button styling but change the icon, text and background colour (remember to add a hover colour too). You can make the link something like this:
For the [URL], you'll want to get the current URL that each one directs to. If you have a clever solution for generating the URL without needing a whole load of JS, I'm open to it!