Skip to content

Commit 6d41223

Browse files
committed
Getting poor update
1 parent 2893598 commit 6d41223

File tree

4 files changed

+61
-2
lines changed

4 files changed

+61
-2
lines changed

_data/supporters.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"supporters": [
3+
{
4+
"name": "Anonymous",
5+
"amount": 10
6+
},
7+
{
8+
"name": "skatman117",
9+
"amount": 10
10+
},
11+
{
12+
"name": "Guesa",
13+
"amount": 6
14+
},
15+
{
16+
"name": "kkaero",
17+
"amount": 0.69
18+
}
19+
]
20+
}

_includes/supporter.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<li class="dono-pog">
2+
{{ include.name }}
3+
<span title="Donated {{ include.contribution }} Euro!">
4+
<ion-icon name="heart"></ion-icon>
5+
</span>
6+
</li>

index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ <h4>Developer (v1.8)</h4>
196196
</div>
197197
</div>
198198
</div>
199+
<h3>Supporters of the project</h3>
200+
<ul class="supporters">
201+
<a href="https://www.paypal.me/{{ site.footer-links.paypal }}" class="button">Become a Gigachad <ion-icon name="logo-paypal" style="vertical-align: middle;"></ion-icon></a>
202+
{% for supporter in site.data.supporters.supporters %}
203+
{% include supporter.html name=supporter.name contribution=supporter.amount %}
204+
{% endfor %}
205+
</ul>
199206
<h3>Community contributors <span title="The current contributors' wall is ordered by date of contribution." style="font-size:small;vertical-align:top;cursor:help;">?</span> </h3>
200207
<ul class="contributors">
201208
{% for contributor in site.data.contributors.contributors %}

style.scss

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,10 +2209,10 @@ ul.nav-list {
22092209
display: block;
22102210
}
22112211

2212-
.contributors li::before {
2212+
.contributors li::before, .supporters li::before {
22132213
content: none;
22142214
}
2215-
.contributors li {
2215+
.contributors li, .supporters li {
22162216
display: inline-flex;
22172217
align-items: center;
22182218
padding: .5rem 1rem;
@@ -2234,6 +2234,32 @@ ul.nav-list {
22342234
vertical-align:middle;
22352235
}
22362236
}
2237+
.supporters {
2238+
margin-bottom: 1.5rem;
2239+
2240+
li {
2241+
border: 1px solid #b79455;
2242+
background: rgba($color: #b79455, $alpha: .2);
2243+
font-weight: 600;
2244+
font-size: 125%;
2245+
2246+
ion-icon {
2247+
fill: #b79455;
2248+
width: 1.25rem;
2249+
}
2250+
}
2251+
2252+
a {
2253+
border-radius: 10px;
2254+
margin: 0%;
2255+
margin-top: .5rem;
2256+
margin-right: .5rem;
2257+
padding: .5rem 1rem;
2258+
font-size: 125%;
2259+
height: 49px;
2260+
vertical-align: top;
2261+
}
2262+
}
22372263

22382264
article.page.level details {
22392265
&:not([open]) {

0 commit comments

Comments
 (0)