Skip to content

Commit 1603bd6

Browse files
committed
Add Sandwich as bronze sponsor
Signed-off-by: Manuel Rego Casasnovas <[email protected]>
1 parent 570c9fd commit 1603bd6

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

_data/sponsors.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"url": "https://www.lambdatest.com/?utm_source=servo&utm_medium=sponsor",
55
"img": "/img/logos/lambdatest.png",
66
"type": "bronze"
7+
},
8+
{
9+
"name": "Sandwich",
10+
"url": "https://sandwich.net/servo",
11+
"img": "/img/logos/sandwich.png",
12+
"type": "bronze"
713
}
814
]

_includes/sponsorship.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h3 class="center-text">Platinum Sponsors</h3>
4040
{% endif %}
4141

4242

43-
43+
4444
{% if gold_sponsors.size > 0 %}
4545
<div class="inner-container__logos">
4646
<h3 class="center-text">Gold Sponsors</h3>
@@ -57,7 +57,7 @@ <h3 class="center-text">Gold Sponsors</h3>
5757
{% endif %}
5858

5959

60-
60+
6161
{% if silver_sponsors.size > 0 %}
6262
<div class="inner-container__logos">
6363
<h3 class="center-text">Silver Sponsors</h3>
@@ -75,14 +75,14 @@ <h3 class="center-text">Silver Sponsors</h3>
7575
{% endif %}
7676

7777

78-
7978
{% if bronze_sponsors.size > 0 %}
8079
<div class="inner-container__logos">
8180
<h3 class="center-text">Bronze Sponsors</h3>
8281

8382
<ul class="logos-home">
8483
{% for sponsor in bronze_sponsors %}
85-
<li class=" {% if loop.index == loop.length and loop.length is odd %}odd-last{% endif %}">
84+
{% assign mod = forloop.index | modulo: 2 %}
85+
<li class="{% if forloop.last and mod != 0 %}odd-last{% endif %}">
8686
<a href="{{ sponsor.url }}">
8787
<img src="{{ sponsor.img | url}}" alt="{{ sponsor.name }} logo" class="sponsor-img sponsor-{{ sponsor.type }}" />
8888
</a>

assets/img/logos/lambdatest.png

1.99 KB
Loading

assets/img/logos/sandwich.png

24.7 KB
Loading

0 commit comments

Comments
 (0)