Skip to content

Resolves #34 "Improve lighthouse score"

YE Scotland Admin requested to merge 34-improve-lighthouse-score into master

Closes #34 (closed)

Notes:

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

New desktop report

New mobile report

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.

image

Edited by YE Scotland Admin

Merge request reports