Resolves #34 "Improve lighthouse score"
#34 (closed)
ClosesNotes:
Now forces HTTPS, but only in production as breaks Django development servers.
Also minor adjustments and renaming to CSS and properties to make more accessible.
Added a service worker which helps tremendously with load times and allows the app to be a PWA.
Also moved the YES logos to our frontend/public/assets/
so that they could be added to our manifest.json
for PWA-iness and so that we do not have a dependency on a separate website.
Demonstration:
Old lighthouse reports can be found on the attached issue
Unless overwritten, the deployment on the staging URL can be visited and the PWA download button shows on the right side of the URL bar.
Edited by YE Scotland Admin