Skip to content

Commit

Permalink
Print Patreons by Tier
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Oct 9, 2024
1 parent bbea001 commit 0ef0500
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 6 deletions.
14 changes: 12 additions & 2 deletions website/_data/patreons.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
{
"name": "Michal Škoula",
"tier": "Cornflower Blue"
"tier": "Cornflower Blue",
"url": "https://skoula.cz/"
},
{
"name": "Ben",
Expand All @@ -29,7 +30,8 @@
},
{
"name": "Ellpeck Games",
"tier": "Model.Draw"
"tier": "Model.Draw",
"url": "https://games.ellpeck.de/"
},
{
"name": "Csharpskolan",
Expand All @@ -50,5 +52,13 @@
{
"name": "NotExplosive",
"tier": "SpriteBatch"
},
{
"name": "Jake Kirkbride",
"tier": "GraphicsDevice.DrawUserPrimitives"
},
{
"name": "Oblotzky",
"tier": "GraphicsDevice.DrawUserPrimitives"
}
]
69 changes: 65 additions & 4 deletions website/content/donate.njk
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,84 @@ title: Donate
</div>
{% endfor %}
</div>
<div class="row">
{% for patreon in patreons | sort('tier') %}
</section>
<section class="container-xxl mb-5">
<h2 id="patreons" class="fw-bold"><a href="#patreons">Patreons By Tier</a></h2>
<h4 id="EnvironmentMapEffect" class="fw-bold"><a href="https://www.patreon.com/monogame/membership">Graphics.EnvironmentMapEffect</a></h4>
<div class="row">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "Graphics.EnvironmentMapEffect" %}
<div class="col-lg-3 mb-3 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
<strong>{{patreon.name}}</strong>
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 id="Model.Draw" class="fw-bold"><a href="https://www.patreon.com/monogame/membership">Model.Draw"</a></h4>
<div class="row">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "Model.Draw" %}
<div class="col-lg-3 mb-3 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
<strong>{{patreon.name}}</strong>
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 id="GraphicsDevice.DrawUserPrimitives" class="fw-bold"><a href="https://www.patreon.com/monogame/membership">GraphicsDevice.DrawUserPrimitives</a></h4>
<div class="row">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "GraphicsDevice.DrawUserPrimitives" %}
<div class="col-lg-3 mb-3 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
<strong>{{patreon.name}}</strong>
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 id="SpriteBatch" class="fw-bold"><a href="https://www.patreon.com/monogame/membership">SpriteBatch</a></h4>
<div class="row">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "SpriteBatch" %}
<div class="col-lg-3 mb-3 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
<strong>{{patreon.name}}</strong>
{% if patreon.url %}</a>{% endif %}
<br />
</div>
{% endif %}
{% endfor %}
</div>
<br />
<h4 id="Cornflower Blue" class="fw-bold"><a href="https://www.patreon.com/monogame/membership">Cornflower Blue</a></h4>
<div class="row">
{% for patreon in patreons | sort() %}
{% if patreon.tier == "Cornflower Blue" %}
<div class="col-lg-3 mb-3 text-center">
{% if patreon.url %}<a href="{{patreon.url}}">{% endif %}
<strong>{{patreon.name}}</strong>
{% if patreon.url %}</a>{% endif %}
<br />
{{patreon.tier}}
</div>
{% endif %}
{% endfor %}
</div>
</section>

<section class="container-xxl mb-5">
<h1 id="donations" class="fw-bold"><a href="#donations">Donations</a></h1>
<p>
The following is a preserved list of individuals and studios that generiously donated in the past to help run the project.
The following is a preserved list of individuals and studios that generously donated in the past to help run the project.
</p>
<div class="row">
{% for donor in donations | sort(true, false, 'amount') %}
Expand Down

0 comments on commit 0ef0500

Please sign in to comment.