help: add a reference sheet for the game's default keyboard binds (#569)

Fixes #253

I used https://archie-adams.github.io/keyboard-shortcut-map-maker/
This commit is contained in:
Tyler Wilding 2024-09-21 22:12:13 -04:00 committed by GitHub
parent 105ea35f28
commit 8429b898a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

BIN
docs/default-keybinds.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

View file

@ -69,6 +69,7 @@
"header_updateAvailable": "Update Available!",
"help_button_downloadPackage": "Download Support Package",
"help_button_openLogFolder": "Open Log Folder",
"help_button_defaultKeybinds": "Default Keybinds",
"help_button_reportGameIssue": "Report Game Issue",
"help_button_reportLauncherIssue": "Report Launcher Issue",
"help_description_createAnIssue": "You can either ask a question on our Discord, or create a GitHub issue with as much detail as possible.",

View file

@ -7,6 +7,7 @@
import { onMount } from "svelte";
import { appConfigDir } from "@tauri-apps/api/path";
import { _ } from "svelte-i18n";
import { navigate } from "svelte-navigator";
let appDir: string | undefined = undefined;
let downloadingPackage = false;
@ -46,6 +47,12 @@
}}>{$_("help_button_openLogFolder")}</Button
>
{/if}
<Button
class="flex items-center border-solid rounded bg-white hover:bg-orange-400 text-sm text-slate-900 font-semibold px-4 py-2"
href="https://raw.githubusercontent.com/open-goal/launcher/refs/heads/main/docs/default-keybinds.png"
target="_blank"
rel="noreferrer noopener">{$_("help_button_defaultKeybinds")}</Button
>
</div>
<p class="mt-3 text-sm">
{$_("help_description_createAnIssue")}