[openstreetmap/openstreetmap-website] Optimize user creation illustrations by reusing elements (PR #5894)
Marwin Hochfelsner
notifications at github.com
Sat Apr 5 16:55:44 UTC 2025
Reducing the size of the previously _minified_ illustrations by 88.733% (123.59kB to 13.93kB) by reusing elements in the SVGs and in between the SVGs.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5894
-- Commit Summary --
* Crop illustrations
* Drop xlink namespace
* Remove unused defs
* Reuse 1s and 0s
* Remove inline style
* Sort attributes
* Adjust globe positioning
* Split illustrations to reuse globe
* Remove 0s and 1s from arm
* Remove out of bounds 0s and 1s
* Reuse continents path
* Rewrite transforms and filters
* Rewrite paths
-- File Changes --
D app/assets/images/confirm-illustration.svg (1)
A app/assets/images/illustration-confirm.svg (1)
A app/assets/images/illustration-earth.svg (1)
A app/assets/images/illustration-sign-up-arm.svg (1)
A app/assets/images/illustration-sign-up-face.svg (1)
A app/assets/images/illustration-terms.svg (1)
D app/assets/images/sign-up-illustration.svg (1)
D app/assets/images/terms-illustration.svg (1)
M app/assets/stylesheets/common.scss (10)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5894.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5894.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5894
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5894 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250405/6f489687/attachment.htm>
More information about the rails-dev
mailing list