Diabetes Singapore and the Singapore Heart Foundation collaborated on a social media campaign to raise awareness about cardiovascular diseases and diabetes.
For this project, the homepage of the campaign's website was re-built in order to make it more accessible and to reduce page loading times (the new homepage loads in ~2.3s on a 3g connection).
The page was built using a proprietary static site generator, Jinja templates and Sass. The Vanilla JS code is not required for the user to access the page's contents; instead, it is intended to progressively enhance the user experience.
In order to reduce page loading times, many advanced techniques were applied, including lazy loading of images and scripts, self hosting and preloading fonts, inlining critical styles (and more).