summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Index/Index.cshtml
blob: 8ae23a4534145e2d6c3207bac9c5578baf1e4161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
@{
    ViewData["Title"] = "SMAPI";
}
@model StardewModdingAPI.Web.ViewModels.IndexModel
@section Head {
    <link rel="stylesheet" href="~/Content/css/index.css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" crossorigin="anonymous"></script>
    <script src="~/Content/js/index.js"></script>
}

<p id="blurb">
    The mod loader for Stardew Valley. It works fine with GOG and Steam achievements, it's
    compatible with Linux/Mac/Windows, you can uninstall it anytime, and there's a friendly
    community if you need help. It's a cool pufferchick.
</p>

<div id="call-to-action">
    <a href="@Model.StableVersion.DownloadUrl" class="main-cta download">Download SMAPI @Model.StableVersion.Version</a><br />
    @if (Model.BetaVersion != null)
    {
        <a href="@Model.BetaVersion.DownloadUrl" class="secondary-cta download">Download SMAPI @Model.BetaVersion.Version<br /><small>for Stardew Valley 1.3 beta</small></a><br />
    }
    <a href="https://stardewvalleywiki.com/Modding:Installing_SMAPI" class="secondary-cta">Install guide</a><br />
    <a href="https://stardewvalleywiki.com/Modding:Player_FAQs" class="secondary-cta">FAQs</a><br />
    <img id="pufferchick" src="favicon.ico" />
</div>

<h2>Get help</h2>
<ul>
    <li><a href="https://stardewvalleywiki.com/Modding:SMAPI_compatibility">Mod compatibility list</a></li>
    <li>Get help <a href="https://stardewvalleywiki.com/Modding:Community#Discord">on Discord</a> or <a href="https://community.playstarbound.com/threads/smapi-stardew-modding-api.108375/">in the forums</a></li>
</ul>

@if (Model.BetaVersion == null)
{
    <h2>What's new in SMAPI @Model.StableVersion.Version?</h2>
    <div class="github-description">
        @Html.Raw(Markdig.Markdown.ToHtml(Model.StableVersion.Description))
    </div>
    <p>See the <a href="https://github.com/Pathoschild/SMAPI/blob/develop/docs/release-notes.md#release-notes">release notes</a> and <a href="https://stardewvalleywiki.com/Modding:SMAPI_compatibility">mod compatibility list</a> for more info.</p>
}
else
{
    <h2>What's new in...</h2>
    <h3>SMAPI @Model.StableVersion.Version?</h3>
    <div class="github-description">
        @Html.Raw(Markdig.Markdown.ToHtml(Model.StableVersion.Description))
    </div>
    <p>See the <a href="https://github.com/Pathoschild/SMAPI/blob/develop/docs/release-notes.md#release-notes">release notes</a> and <a href="https://stardewvalleywiki.com/Modding:SMAPI_compatibility">mod compatibility list</a> for more info.</p>

    <h3>SMAPI @Model.BetaVersion.Version?</h3>
    <div class="github-description">
        @Html.Raw(Markdig.Markdown.ToHtml(Model.BetaVersion.Description))
    </div>
    <p>See the <a href="https://github.com/Pathoschild/SMAPI/blob/develop/docs/release-notes.md#release-notes">release notes</a> and <a href="https://stardewvalleywiki.com/Modding:SMAPI_compatibility">mod compatibility list</a> for more info.</p>
}

<h2>Donate to support SMAPI ♥</h2>
<p>
    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.
</p>
<ul id="support-links">
    <li><a href="https://www.paypal.me/pathoschild">Donate once</a></li>
    <li>
        <a href="https://www.patreon.com/pathoschild">Donate $1 per month (or more)</a><br />
        <small>
            You can cancel anytime. You'll have access to all private posts with behind-the-scenes
            info, upcoming features, and early previews of SMAPI updates. You can optionally
            provide early feedback on SMAPI features to influence development. Donate $5/month and
            you'll be publicly credited (with optional link) below!
        </small>
    </li>
</ul>

<p>
    Special thanks to
    acerbicon,
    <a href="https://www.nexusmods.com/stardewvalley/users/31393530">ChefRude</a>,
    jwdred,
    OfficialPiAddict,
    Robby LaFarge,
    and a few anonymous users for their ongoing support; you're awesome! 🏅
</p>

<h2>For mod creators</h2>
<ul>
    <li><a href="@Model.StableVersion.DevDownloadUrl">SMAPI @Model.StableVersion.Version for developers</a> (includes <a href="https://docs.microsoft.com/en-us/visualstudio/ide/using-intellisense">intellisense</a> and full console output)</li>
    <li><a href="https://stardewvalleywiki.com/Modding:Index">Modding documentation</a></li>
    <li>Need help? Come <a href="https://stardewvalleywiki.com/Modding:Community#Discord">chat on Discord</a>.</li>
</ul>