Skip to content

Update patreons, make patreon list tabular #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion website/_data/patreons.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[
{
"name": "James Silva",
"tier": "EnvironmentMapEffect"
"tier": "EnvironmentMapEffect",
"url": "https://ska-studios.com/"
},
{
"name": "D. Ezra Sidran, PhD",
Expand Down Expand Up @@ -95,5 +96,9 @@
{
"name": "Andrew Powell",
"tier": "SpriteBatch"
},
{
"name": "Cynthia McMahon",
"tier": "SpriteBatch"
}
]
2 changes: 1 addition & 1 deletion website/_includes/partials/_footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Issues</a>
</li>
<li class="nav-item mb-2">
<a href="https://www.patreon.com/MonoGame" class="p-0">Patreon</a>
<a href="/bounties/" class="p-0">Bounties</a>
</li>
</ul>
</div>
Expand Down
96 changes: 29 additions & 67 deletions website/content/donate.njk
Original file line number Diff line number Diff line change
Expand Up @@ -61,77 +61,39 @@ title: Donate
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>.
</p>
<br/>
<h4 class="text-center" id="EnvironmentMapEffect">EnvironmentMapEffect</h4>
<div class="row justify-content-center mb-3">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "EnvironmentMapEffect" %}
<div class="col-sm-4 mb-1 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 class="text-center" id="Model.Draw">Model.Draw</h4>
<div class="row justify-content-center mb-3">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "Model.Draw" %}
<div class="col-sm-4 mb-1 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 class="text-center" id="DrawUserPrimitives">DrawUserPrimitives</h4>
<div class="row justify-content-center mb-3">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "DrawUserPrimitives" %}
<div class="col-sm-4 mb-1 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 class="text-center" id="SpriteBatch">SpriteBatch</h4>
<div class="row justify-content-center mb-3">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "SpriteBatch" %}
<div class="col-sm-4 mb-1 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
<div class="container">
{% set tiers = [
{ name: "EnvironmentMapEffect", url: "https://www.patreon.com/checkout/MonoGame?rid=9142452" },
{ name: "Model.Draw", url: "https://www.patreon.com/checkout/MonoGame?rid=9142450" },
{ name: "DrawUserPrimitives", url: "https://www.patreon.com/checkout/MonoGame?rid=1916865" },
{ name: "SpriteBatch", url: "https://www.patreon.com/checkout/MonoGame?rid=1867475" },
{ name: "Cornflower Blue", url: "https://www.patreon.com/checkout/MonoGame?rid=1867471" }
] %}
<div class="row">
{% for tier in tiers %}
<div class="col-sm">
<b>{{tier.name}}</b>
<br />
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 class="text-center" id="Cornflower Blue">Cornflower Blue</h4>
<div class="row justify-content-center mb-3">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "Cornflower Blue" %}
<div class="col-sm-4 mb-1 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
{% endfor %}
</div>
<div class="row">
{% for tier in tiers %}
<div class="col-sm">
{% for patreon in patreons %}
{% if patreon.tier == tier.name %}
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
{{patreon.name}}
{% if patreon.url %}</a>{% endif %}
<br />
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endfor %}
{% endfor%}
</div>
</div>
</section>

<section class="container-xxl mb-5">
<h1 id="donations" class="fw-bold"><a href="#donations">Donations</a></h1>
<p>
Expand Down