pablobm left a comment (openstreetmap/openstreetmap-website#6498)
My gut feeling is that there isn't much benefit to using an SVG here. It would
be cool to have the text adapt, but it may come with some downsides. For
example the SVG would need to be stored as a template (as opposed to an asset)
and processed by Rails adding a slight impact to response time (although this
could be cached).
As for PNG, I'm not seeing support for alternative languages for banners, but
it should be possible to add it. I say "should" because my knowledge of I18n is
a bit lacking 😅 I want to think that if banners are declared for specific
languages it'll be possible to select the right one given the user locale.
Maintainers may be able to provide insight. I can play with it a bit if they
think it's worth it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6498#issuecomment-3496659048
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/issues/6498/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev