diff --git a/website/content/donate.njk b/website/content/donate.njk index 23350114..45101ed5 100644 --- a/website/content/donate.njk +++ b/website/content/donate.njk @@ -62,84 +62,49 @@ 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" }, - { 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 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" } + { 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 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 +112,7 @@ title: Donate {% for donor in donations | sort(true, false, 'amount') %} - + {% if donor.url %}{% endif %} {{donor.name}} {% if donor.url %}{% endif %} 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
The following is a list of individuals and studios that support us through Patreon.
- The following is a list of individuals and studios that have supported us through Patreon in the past. -
@@ -147,7 +112,7 @@ title: Donate