Skip to content

Commit 65ac644

Browse files
committed
add sponsors
1 parent deffdf8 commit 65ac644

File tree

7 files changed

+271
-1
lines changed

7 files changed

+271
-1
lines changed

_i18n/de.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ feature_foss_desc: Beitragen auf <a href="https://github.com/ev-map/EVMap">GitHu
2929
feature_i18n: Mehrsprachig
3030
feature_i18n_desc: Übersetzen via <a href="https://hosted.weblate.org/projects/evmap/">Weblate</a>
3131

32+
sponsors: Sponsoren
33+
sponsor_jawg: Seit Mai 2024 stellt <b>JawgMaps</b> seinen Vektorkartendienst auf Basis von OpenStreetMap kostenlos
34+
für EVMap bereit, also die Basiskarten, die in der App angezeigt werden, wenn OpenStreetMap als Datenquelle ausgewählt ist.
35+
sponsor_chargeprice: Seit April 2021 stellt <b>Chargeprice.app</b> ihre API zum Preisvergleich von Ladeanbietern für
36+
EVMap zu einem deutlich reduzierten Preis zur Verfügung. Diese Daten werden für den Preisvergleich in EVMap genutzt.
37+
sponsor_fronyx: Seit September 2022 werden für einige Ladestationen Verfügbarkeitsprognosen angezeigt, diese werden uns
38+
von <b>fronyx</b> kostenlos bereitgestellt.
39+
40+
3241
contents: Inhalt
3342
faq: FAQ
3443
faq_general: Allgemein

_i18n/en.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ feature_foss_desc: contribute on <a href="https://github.com/ev-map/EVMap">GitHu
2929
feature_i18n: Multilingual
3030
feature_i18n_desc: translate on <a href="https://hosted.weblate.org/projects/evmap/">Weblate</a>
3131

32+
sponsors: Sponsors
33+
sponsor_jawg: Since May 2024, <b>JawgMaps</b> provides their OpenStreetMap vector map tiles service to EVMap for
34+
free, i.e. the background map displayed in the app if OpenStreetMap is selected as the data source.
35+
sponsor_chargeprice: Since April 2021, <b>Chargeprice.app</b> provide their price comparison API at a greatly reduced
36+
price for EVMap. This data is used in EVMap's price comparison feature.
37+
sponsor_fronyx: Since September 2022, for certain charging stations, <b>fronyx</b> provide us free access to their API
38+
for availability predictions.
39+
3240
contents: Contents
3341
faq: FAQ
3442
faq_general: General

_includes/sponsors.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<div class="sponsors">
2+
<h2>{% t sponsors %}</h2>
3+
4+
<div class="sponsor">
5+
<a href="https://www.jawg.io"><img
6+
src="https://www.jawg.io/static/Blue@10x-9cdc4596e4e59acbd9ead55e9c28613e.png" alt="JawgMaps"
7+
height="58"/></a>
8+
<p>{% t sponsor_jawg %}</p>
9+
</div>
10+
11+
<div class="sponsor">
12+
<a href="https://chargeprice.app"><img
13+
src="{{ '/assets/powered_by_chargeprice.svg' | relative_url }}"
14+
alt="Powered by Chargeprice" height="58"/></a>
15+
<p>{% t sponsor_chargeprice %}</p>
16+
</div>
17+
18+
<div class="sponsor">
19+
<a href="https://fronyx.io/"><img
20+
src="{{ '/assets/powered_by_fronyx.svg' | relative_url }}"
21+
alt="Powered by Fronyx" height="58"/></a>
22+
<p>{% t sponsor_fronyx %}</p>
23+
</div>
24+
25+
</div>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ <h2 class="appPrice">
5757
</div>
5858
</div>
5959
{% include features.html %}
60+
{% include sponsors.html %}
6061
{% include footer.html %}
6162
{% include appstoreimages.html %}
6263
</div>

_sass/layout.scss

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"h h h h h h h h h h h h"
6868
"p p p p p i i i i i i i"
6969
"c c c c c c c c c c c c"
70+
"d d d d d d d d d d d d"
7071
"f f f f f f f f f f f f";
7172
}
7273

@@ -93,6 +94,7 @@
9394
"i i i i i i i i i i i i"
9495
"p p p p p p p p p p p p"
9596
"c c c c c c c c c c c c"
97+
"d d d d d d d d d d d d"
9698
"f f f f f f f f f f f f";
9799
}
98100
}
@@ -602,7 +604,39 @@ img.iconTop {
602604
padding-left: 0px;
603605
}
604606

605-
}
607+
}
608+
609+
610+
// Section
611+
612+
.sponsors {
613+
grid-area: d;
614+
display: flex;
615+
flex-wrap: wrap;
616+
margin-top: 93px;
617+
line-height: 1.5;
618+
619+
h2 {
620+
position: absolute;
621+
}
622+
623+
p {
624+
margin-top: 8px;
625+
color: #666;
626+
}
627+
628+
.sponsor {
629+
margin-top: 8px;
630+
padding-top: 43px;
631+
padding-left: 15px;
632+
padding-right: 15px;
633+
width: calc(100%/2);
634+
635+
a:has(img) {
636+
display: block;
637+
}
638+
}
639+
}
606640

607641

608642

0 commit comments

Comments
 (0)