summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Shared/_Layout.cshtml
blob: 4c602b29b9ce3388e4d42c917bef6ad89fc74a85 (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
@using Microsoft.Extensions.Options
@using StardewModdingAPI.Web.Framework.ConfigModels
@inject IOptions<SiteConfig> SiteConfig

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>@ViewData["Title"] - SMAPI.io</title>
    <link rel="stylesheet" href="~/Content/css/main.css" />
    @RenderSection("Head", required: false)
</head>
<body>
    <div id="sidebar">
        <h4>SMAPI</h4>
        <ul>
            <li><a href="@SiteConfig.Value.RootUrl">About SMAPI</a></li>
            <li><a href="@SiteConfig.Value.ModListUrl">Mod compatibility</a></li>
            <li><a href="@SiteConfig.Value.LogParserUrl">Log parser</a></li>
            <li><a href="https://stardewvalleywiki.com/Modding:Index">Docs</a></li>
        </ul>
    </div>
    <div id="content-column">
        <div id="content">
            <h1>@ViewData["Title"]</h1>
            @RenderBody()
        </div>
        <div id="footer">
            <div id="license">
                Hi! You can <a href="https://github.com/pathoschild/SMAPI" title="view source">view the source code</a> or <a href="https://github.com/pathoschild/SMAPI/issues" title="report issue">report a bug or suggestion</a>.
            </div>
        </div>
    </div>
</body>
</html>