Add "Need help?" footer linking to Discord

This commit is contained in:
Pk11 2021-03-12 00:24:25 -06:00
parent 3f40f24859
commit 3d4fa53229
4 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,7 @@
"close": "Close",
"description": "Wikis for DS-Homebrew projects",
"discord-server": "Discord server (English only)",
"need-help": "Need help? Join our Discord server: <a href=\"https://ds-homebrew.com/discord\">DS⁽ⁱ⁾ Mode Hacking!</a> (English only)",
"published-with": "Published with <a href=\"https://pages.github.com\">GitHub Pages</a>, view <a href=\"https://github.com/$1\">the source</a> on GitHub.",
"select-language": "Select language",
"source": "Source",

View File

@ -55,6 +55,9 @@ layout: compress
<h1>{{ page.title }}</h1>
<hr>
{% include anchor-headings.html html=content anchorBody="<small>#</small>" anchorClass="header-anchor" %}
<div class="alert alert-secondary small-alert" role="alert">
{{ site.data[page.collection].strings.need-help }}
</div>
</div>
</div>
</div>

View File

@ -410,6 +410,11 @@ a.footnote::after {
content: "]";
}
// Alerts
.small-alert {
padding: 0.5rem 1rem;
}
// Fixes for alerts of opposite text direction
.alert-dismissible[dir=ltr] {
padding-left: 1rem;

View File

@ -7,6 +7,3 @@ description: An explanation of all things DS modding
---
Welcome to the Nintendo DS modding resources section. This will attempt to explain most things related to Nintendo DS modding as well as be a basic introduction to the NTR firmware of the Nintendo DS, the TWL firmware of the Nintendo DSi, and TWL_FIRM of the Nintendo 3DS.
If you need help, ask the [DS<sup>(i)</sup> Mode Hacking!](https://ds-homebrew.com/discord) Discord server. (English only)
{:.alert .alert-info}