14 Commits

Author SHA1 Message Date
DiegoZen
e428481f9a Add sdg images in galego
Source: https://fondogalego.gal/ods/
2022-11-23 18:31:19 +01:00
trendspotter
1cd80ce1ab Add cs icon of SDGs 2022-02-23 21:19:01 +01:00
Javi Martín
281bc6dbe9 Add SDG icons in Croatian
The icons have been obtained thanks to one of the SDG ambassadors in
Croatia and the Centar Društvenih Inovacija [1].

[1] https://cdi.hr/
2021-11-02 16:26:25 +01:00
Javi Martín
159a17f16f Add SDG Italian, Greek and Dutch SVG icons
These icons have been converted from EPS pages found at their respective
language UNRIC sites [1, 2, 3].

Since SVG icons are smaller and can be compressed, users browsing the
page in these languages will have to download way less data for the SDG
icons than when using PNGs. Users browsing the web in Italian will have
to download about 70KB for the SDG icons instead of the 575KB. Users
browsing the page in Greek will have to download about 75KB for the SDG
icons instead of 720KB. And users browsing the web in Dutch will have to
download about 115KB for the SDG icons instead of 230KB.

[1] https://unric.org/it/agenda-2030/
[2] https://unric.org/el/17-στοχοι-βιωσιμησ-αναπτυξησ/
[3] https://unric.org/nl/duurzame-ontwikkelingsdoelstellingen/
2021-09-30 15:06:50 +02:00
Javi Martín
16e48e7705 Add Indonesian SDG icons
Based on an EPS file downloaded from The Global Goals page [1].

We didn't have Indonesian SDG icons in any format.

[1] https://www.globalgoals.org/resources
2021-09-30 15:06:50 +02:00
Javi Martín
8f2150d9db Add SDG Spanish icons in SVG format
Based on an EPS file downloaded from The Global Goals page [1].

Although in that page there are icons for other languages we support and
that we've only got in PNG format, the Spanish ones are the only ones
which are similar to the official PNG ones provided by the UN or
UN-related organizations like UNRIC. Icons in other languages (like
Chinese, French or Russian) are not that similar to the official PNG
icons and their quality is (in my humble opinion) lower.

Since SVG icons are smaller and can be compressed, users browsing the
page in Spanish will have to download about 80KB for the SDG icons,
instead of the 240KB they needed to download when using PNGs.

[1] https://www.globalgoals.org/resources
2021-09-30 15:06:50 +02:00
Javi Martín
3a2fb1a668 Add SDG English icons in SVG format
These icons have been downloaded from The Global Goals page [1]. English
is the official language of this page and the only one containing all
the information.

Since SVG icons are smaller and can be compressed, users browsing the
page in English will have to download about 45KB for the SDG icons,
instead of the 250KB they needed to download when using PNGs.

[1] https://globalgoals.org
2021-09-30 15:06:50 +02:00
Javi Martín
f8500cea62 Add SDG icons for Serbian (Cyrillic)
Icons obtained at the UNDP page for Serbia [1].

Thanks Dantic for the link ;).

[1] https://www.rs.undp.org/content/serbia/sr/home/sustainable-development-goals.html
2021-04-09 17:55:03 +02:00
taitus
15b39f1231 Resize all sdg goal images to 200x200
The objective of this change is to reduce the size of the images to improve the
experience in slow connections, poor coverage situations or data limits so common in
mobile devices.
2021-03-24 16:46:30 +01:00
taitus
4eda906a93 Move current goal images to origal folder
We keep the original images (with a larger size) in case we want to resize them to
another size in the future.
2021-03-24 16:42:20 +01:00
Javi Martín
7144c80d0c Add SDG icons for Brazilian Portuguese
Downloaded from: https://odsbrasil.gov.br/
2021-01-08 15:18:36 +01:00
Javi Martín
432fea8a3d Add SDG icons for Western European languages
Downloaded from: https://unric.org/en/sdgs-in-your-language/

Only languages enabled by default in CONSUL have been downloaded:
Danish, German, Greek, Italian, Dutch and Swedish.

Note that, unlike the icons for the 6 official UN languages, these icons
vary in size and quality. They've also been converted from JPEG files.
2021-01-08 15:18:36 +01:00
Javi Martín
9d5f08de25 Add official UN SDG icons
Note we're adding the icons in English on both the `sdg/en/` folder and
the `sdg/default/` folder. The latter stores the default icons when the
desired language does not have a fallback with an icon folder.

Also note we need to explicitely add the images to the asset pipeline
because they've been added to the `vendor/` folder; for some reason,
everything works properly without adding them to the asset pipeline if
we use the `app/` folder instead.
2021-01-08 15:18:01 +01:00
Javi Martín
1f82c62711 Add SDG icon-only images to SDG header 2020-12-27 21:43:17 +01:00