From a6f9a42723fa8d8bedec1bd704f6b097cd3fe721 Mon Sep 17 00:00:00 2001 From: tomspilman Date: Tue, 13 Jan 2026 18:10:22 -0600 Subject: [PATCH 1/2] Improvements to layout of donations page. --- website/content/donate.njk | 105 +++++++++++++------------------------ 1 file changed, 36 insertions(+), 69 deletions(-) diff --git a/website/content/donate.njk b/website/content/donate.njk index 23350114..68eb4585 100644 --- a/website/content/donate.njk +++ b/website/content/donate.njk @@ -67,79 +67,46 @@ title: Donate

The following is a list of individuals and studios that support us through Patreon.

-
-
+
{% 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" } + { name: "EnvironmentMapEffect", url: "https://www.patreon.com/checkout/MonoGame?rid=9142452", size: "fs-3" }, + { name: "Model.Draw", url: "https://www.patreon.com/checkout/MonoGame?rid=9142450", size: "fs-4" }, + { name: "DrawUserPrimitives", url: "https://www.patreon.com/checkout/MonoGame?rid=1916865", size: "fs-5" }, + { name: "SpriteBatch", url: "https://www.patreon.com/checkout/MonoGame?rid=1867475", size: "fs-6" }, + { name: "Cornflower Blue", url: "https://www.patreon.com/checkout/MonoGame?rid=1867471", size: "fs-6" } ] %} -
- {% for tier in tiers %} -
- {{tier.name}} -
-
-
- {% endfor %} -
-
{% for tier in tiers %} -
- {% for patreon in patreons %} - {% if patreon.tier == tier.name and patreon.active %} - {% if patreon.url %}{% endif %} - {{patreon.name}} - {% if patreon.url %}{% endif %} -
- {% endif %} - {% endfor %} -
- {% endfor%} -
-
- -
-

Past Monthly Sponsors

-

- The following is a list of individuals and studios that have supported us through Patreon in the past. -

-
-
- {% 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" } - ] %} -
- {% for tier in tiers %} -
- {{tier.name}} -
-
-
- {% endfor %} -
-
- {% for tier in tiers %} -
- {% for patreon in patreons %} - {% if patreon.tier == tier.name and not patreon.active %} - {% if patreon.url %}{% endif %} - {{patreon.name}} - {% if patreon.url %}{% endif %} -
- {% endif %} - {% endfor %} -
+
+
+

{{tier.name}}

+
+
+ {% for patreon in patreons %} + {% if patreon.tier == tier.name and patreon.active %} +
+ {% if patreon.url %}{% endif %}{{patreon.name}}{% if patreon.url %}{% endif %} +
+
+ {% endif %} + {% endfor %} + {% for patreon in patreons %} + {% if patreon.tier == tier.name and not patreon.active %} +
+ {{patreon.name}} +
+
+ {% endif %} + {% endfor %} +
+
+
+
+
+ {% endfor%} -
-
+
+

Donations

@@ -147,7 +114,7 @@ title: Donate

{% for donor in donations | sort(true, false, 'amount') %} -
+
{% if donor.url %}{% endif %} {{donor.name}} {% if donor.url %}{% endif %} From 2b70debafe0dc7c4ff9cf90024c09eaafdafa8d2 Mon Sep 17 00:00:00 2001 From: tomspilman Date: Wed, 14 Jan 2026 15:34:40 -0600 Subject: [PATCH 2/2] Some more donation layout tweaks. --- website/content/donate.njk | 16 +++++++-------- website/content/public/css/main.css | 31 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/website/content/donate.njk b/website/content/donate.njk index 68eb4585..45101ed5 100644 --- a/website/content/donate.njk +++ b/website/content/donate.njk @@ -62,12 +62,14 @@ title: Donate
+

Monthly Sponsors

The following is a list of individuals and studios that support us through Patreon.


+
{% set tiers = [ { name: "EnvironmentMapEffect", url: "https://www.patreon.com/checkout/MonoGame?rid=9142452", size: "fs-3" }, { name: "Model.Draw", url: "https://www.patreon.com/checkout/MonoGame?rid=9142450", size: "fs-4" }, @@ -81,22 +83,18 @@ title: Donate

{{tier.name}}



+


@@ -104,7 +102,7 @@ title: Donate
{% endfor%} - +
diff --git a/website/content/public/css/main.css b/website/content/public/css/main.css index 6dcb00da..0094c3f3 100644 --- a/website/content/public/css/main.css +++ b/website/content/public/css/main.css @@ -869,3 +869,34 @@ blockquote { .mg-two-column-list li { margin-left: 1.5rem; /* Adjusts indentation for list items */ } + + +/******************************************************************************* +*** Section: Donations +*** Styles for donations page +*******************************************************************************/ + +.donationList { + display: flex; + flex-wrap: wrap; + gap: 1rem; + justify-content: center; + column-gap: 0px; +} + +.donationList li { + width: fit-content; + white-space: nowrap; + text-align: center; +} + +.donationList li:not(:last-child)::after { + content: '\00B7'; + margin: 0 0.5em; + opacity: 0.6; +} + +.credits { + width: clamp(320px, 80%, 1200px); + margin-inline: auto; +} \ No newline at end of file