#govbins

How this site is built

This site is built using Next.js and Tailwind CSS.

Originally Harry built the site with Bootstrap and some gnarly jQuery soup, which made it slow and expensive. Thankfully, Tommy got involved and changed all that.

Open government data

Each bin image is labelled with open government APIs about local councils in England, Northern Ireland, Scotland and Wales

The current map is a SVG exported from a government vector map, with colours we tweaked a bit.

Hosting and privacy

Hosted on Netlify, the site counts page views and visitors using aggregated data, anonymised. Meaning the site doesn't use cookies or any other potentially creepy tracking stuff.

Web performance

The homepage has lazy loading to decrease its latency. Also to improve performance images are pasted through ImageOptim and synced them to Amazon S3, when deployed via GitHub.

Open code

Go to GitHub to look at all the code for this site.