[openstreetmap/openstreetmap-website] Can we avoid inlining svgs into erb templates? (Issue #5880)
Minh Nguyễn
notifications at github.com
Thu Apr 17 17:11:06 UTC 2025
1ec5 left a comment (openstreetmap/openstreetmap-website#5880)
Conceivably the project could have SVGs that aren’t just paths, for example the larger decorative image on the login screen or the occasional banner advertisement on the homepage, in order to make it scalable or more easily translatable. I suspect contributors would be more comfortable editing such images in a full-fledged editor like Inkscape, even if it would be overkill for the simpler icons.
(As a point of reference, the OSM Americana project has [a suggested workflow](https://github.com/osm-americana/openstreetmap-americana/blob/c4829f2c91099c3b5619fff829a390133ea08a53/CONTRIBUTING.md#highway-shield-contributors-guide) involving Inkscape and an automated build script that optimizes the exported SVG, stripping out the excessive metadata that Inkscape adds.)
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5880#issuecomment-2813582540
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5880/2813582540 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250417/05eeb22a/attachment.htm>
More information about the rails-dev
mailing list