Skip to content

Commit 20bd581

Browse files
authored
Update patreons, make patreon list tabular (#177)
* Updated patreons. * Making the patreon list look more tabular * Revert "Making the patreon list look more tabular" This reverts commit dc1d370. * Fixed crash and used new grid divs, as per Tom's suggestion. * Removed tier links. * Fix rogue < sign * Removed Patreon from footer, but added link to Bounties.
1 parent c2654d5 commit 20bd581

File tree

3 files changed

+36
-69
lines changed

3 files changed

+36
-69
lines changed

website/_data/patreons.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[
22
{
33
"name": "James Silva",
4-
"tier": "EnvironmentMapEffect"
4+
"tier": "EnvironmentMapEffect",
5+
"url": "https://ska-studios.com/"
56
},
67
{
78
"name": "D. Ezra Sidran, PhD",
@@ -95,5 +96,9 @@
9596
{
9697
"name": "Andrew Powell",
9798
"tier": "SpriteBatch"
99+
},
100+
{
101+
"name": "Cynthia McMahon",
102+
"tier": "SpriteBatch"
98103
}
99104
]

website/_includes/partials/_footer.njk

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
Issues</a>
3838
</li>
3939
<li class="nav-item mb-2">
40-
<a href="https://www.patreon.com/MonoGame" class="p-0">Patreon</a>
40+
<a href="/bounties/" class="p-0">Bounties</a>
4141
</li>
4242
</ul>
4343
</div>

website/content/donate.njk

+29-67
Original file line numberDiff line numberDiff line change
@@ -61,77 +61,39 @@ title: Donate
6161
The following is a partial list of individuals and studios that support us through <a href="https://www.patreon.com/bePatron?u=3142012">Patreon</a>.
6262
</p>
6363
<br/>
64-
<h4 class="text-center" id="EnvironmentMapEffect">EnvironmentMapEffect</h4>
65-
<div class="row justify-content-center mb-3">
66-
{% for patreon in patreons | sort() %}
67-
{% if patreon.tier == "EnvironmentMapEffect" %}
68-
<div class="col-sm-4 mb-1 text-center">
69-
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
70-
{{patreon.name}}
71-
{% if patreon.url %}</a>{% endif %}
72-
<br />
73-
</div>
74-
{% endif %}
75-
{% endfor %}
76-
</div>
77-
<br />
78-
<h4 class="text-center" id="Model.Draw">Model.Draw</h4>
79-
<div class="row justify-content-center mb-3">
80-
{% for patreon in patreons | sort() %}
81-
{% if patreon.tier == "Model.Draw" %}
82-
<div class="col-sm-4 mb-1 text-center">
83-
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
84-
{{patreon.name}}
85-
{% if patreon.url %}</a>{% endif %}
86-
<br />
87-
</div>
88-
{% endif %}
89-
{% endfor %}
90-
</div>
91-
<br />
92-
<h4 class="text-center" id="DrawUserPrimitives">DrawUserPrimitives</h4>
93-
<div class="row justify-content-center mb-3">
94-
{% for patreon in patreons | sort() %}
95-
{% if patreon.tier == "DrawUserPrimitives" %}
96-
<div class="col-sm-4 mb-1 text-center">
97-
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
98-
{{patreon.name}}
99-
{% if patreon.url %}</a>{% endif %}
100-
<br />
101-
</div>
102-
{% endif %}
103-
{% endfor %}
104-
</div>
105-
<br />
106-
<h4 class="text-center" id="SpriteBatch">SpriteBatch</h4>
107-
<div class="row justify-content-center mb-3">
108-
{% for patreon in patreons | sort() %}
109-
{% if patreon.tier == "SpriteBatch" %}
110-
<div class="col-sm-4 mb-1 text-center">
111-
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
112-
{{patreon.name}}
113-
{% if patreon.url %}</a>{% endif %}
114-
<br />
64+
<div class="container">
65+
{% set tiers = [
66+
{ name: "EnvironmentMapEffect", url: "https://www.patreon.com/checkout/MonoGame?rid=9142452" },
67+
{ name: "Model.Draw", url: "https://www.patreon.com/checkout/MonoGame?rid=9142450" },
68+
{ name: "DrawUserPrimitives", url: "https://www.patreon.com/checkout/MonoGame?rid=1916865" },
69+
{ name: "SpriteBatch", url: "https://www.patreon.com/checkout/MonoGame?rid=1867475" },
70+
{ name: "Cornflower Blue", url: "https://www.patreon.com/checkout/MonoGame?rid=1867471" }
71+
] %}
72+
<div class="row">
73+
{% for tier in tiers %}
74+
<div class="col-sm">
75+
<b>{{tier.name}}</b>
76+
<br />
77+
<br />
11578
</div>
116-
{% endif %}
117-
{% endfor %}
118-
</div>
119-
<br />
120-
<h4 class="text-center" id="Cornflower Blue">Cornflower Blue</h4>
121-
<div class="row justify-content-center mb-3">
122-
{% for patreon in patreons | sort() %}
123-
{% if patreon.tier == "Cornflower Blue" %}
124-
<div class="col-sm-4 mb-1 text-center">
125-
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
126-
{{patreon.name}}
127-
{% if patreon.url %}</a>{% endif %}
128-
<br />
79+
{% endfor %}
80+
</div>
81+
<div class="row">
82+
{% for tier in tiers %}
83+
<div class="col-sm">
84+
{% for patreon in patreons %}
85+
{% if patreon.tier == tier.name %}
86+
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
87+
{{patreon.name}}
88+
{% if patreon.url %}</a>{% endif %}
89+
<br />
90+
{% endif %}
91+
{% endfor %}
12992
</div>
130-
{% endif %}
131-
{% endfor %}
93+
{% endfor%}
94+
</div>
13295
</div>
13396
</section>
134-
13597
<section class="container-xxl mb-5">
13698
<h1 id="donations" class="fw-bold"><a href="#donations">Donations</a></h1>
13799
<p>

0 commit comments

Comments
 (0)