revamp 'support SMAPI' section on main page

This commit is contained in:
Jesse Plamondon-Willard 2019-06-20 14:49:47 -04:00
parent 94702ca4b7
commit af3fdf7e5a
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
5 changed files with 40 additions and 17 deletions

View File

@ -6,9 +6,9 @@
ViewData["Title"] = "SMAPI"; ViewData["Title"] = "SMAPI";
} }
@section Head { @section Head {
<link rel="stylesheet" href="~/Content/css/index.css?r=20180615" /> <link rel="stylesheet" href="~/Content/css/index.css?r=20190620" />
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js" crossorigin="anonymous"></script>
<script src="~/Content/js/index.js?r=20180615"></script> <script src="~/Content/js/index.js?r=20190620"></script>
} }
<p id="blurb"> <p id="blurb">
@ -79,27 +79,32 @@ else
<p>See the <a href="https://github.com/Pathoschild/SMAPI/blob/develop/docs/release-notes.md#release-notes">release notes</a> and <a href="@SiteConfig.Value.ModListUrl">mod compatibility list</a> for more info.</p> <p>See the <a href="https://github.com/Pathoschild/SMAPI/blob/develop/docs/release-notes.md#release-notes">release notes</a> and <a href="@SiteConfig.Value.ModListUrl">mod compatibility list</a> for more info.</p>
} }
<h2 id="donate">Donate to support SMAPI ♥</h2> <h2 id="donate">Support SMAPI ♥</h2>
<p> <p>
SMAPI is an open-source project by Pathoschild. It will always be free, but donations SMAPI is an open-source project by Pathoschild. It will always be free, but donations
are much appreciated to help pay for development, server hosting, domain fees, coffee, etc. are much appreciated to help pay for development, server hosting, domain fees, coffee, etc.
</p> </p>
<ul id="support-links">
<li><a href="https://www.paypal.me/pathoschild">Donate once</a></li> <ul id="donate-links">
<li> <li>
<a href="https://www.patreon.com/pathoschild">Donate $1 per month (or more)</a><br /> <a href="https://www.patreon.com/pathoschild" class="donate-button">
<small> <img src="Content/images/patreon.png" /> Become a patron
You can cancel anytime. You'll have access to all private posts with behind-the-scenes </a>
info, upcoming features, and early previews of SMAPI updates. You can optionally </li>
provide early feedback on SMAPI features to influence development. Donate $5/month and <li>
you'll be publicly credited (with optional link) below! <a href="https://ko-fi.com/pathoschild" class="donate-button">
</small> <img src="Content/images/ko-fi.png"/> Buy me a coffee
</a>
</li>
<li>
<a href="https://www.paypal.me/pathoschild" class="donate-button">
<img src="Content/images/paypal.png"/> Donate via PayPal
</a>
</li> </li>
</ul> </ul>
<p> <p>
Special thanks to Special thanks to
acerbicon,
<a href="https://www.nexusmods.com/stardewvalley/users/31393530">ChefRude</a>, <a href="https://www.nexusmods.com/stardewvalley/users/31393530">ChefRude</a>,
<a href="https://github.com/dittusch">dittusch</a>, <a href="https://github.com/dittusch">dittusch</a>,
hawkfalcon, hawkfalcon,
@ -108,7 +113,7 @@ else
<a href="https://www.nexusmods.com/users/12252523">Karmylla</a>, <a href="https://www.nexusmods.com/users/12252523">Karmylla</a>,
Pucklynn, Pucklynn,
Robby LaFarge, Robby LaFarge,
and a few anonymous users for their ongoing support; you're awesome! 🏅 and a few anonymous users for their ongoing support on Patreon; you're awesome!
</p> </p>
<h2 id="modcreators">For mod creators</h2> <h2 id="modcreators">For mod creators</h2>

View File

@ -106,7 +106,25 @@ h1 {
padding-left: 1em; padding-left: 1em;
} }
#support-links li small { #donate-links li {
display: block; list-style: none;
width: 50em; margin-bottom: 5px;
}
#donate-links .donate-button {
display: inline-block;
min-width: 10em;
background: #2A413B;
padding: 6px 12px;
font-family: Quicksand, Helvetica, Century Gothic, sans-serif;
text-decoration: none;
font-weight: 700;
color: #FFF;
border-radius: 8px;
}
#donate-links .donate-button img {
vertical-align: middle;
max-height: 15px;
max-width: 15px;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB