diff --git a/src/components/Header.svelte b/src/components/Header.svelte index 46440b6..1c5f366 100644 --- a/src/components/Header.svelte +++ b/src/components/Header.svelte @@ -3,6 +3,7 @@ import type { SharkGame } from "../shark/SharkGame"; import SettingsModal from "./Modals/SettingsModal.svelte"; + import HelpModal from "./Modals/HelpModal.svelte"; export let title: string; export let game: typeof SharkGame; @@ -17,7 +18,7 @@ openModal(SettingsModal, { settings: game.Settings.settings }, { replace: true }); }, help() { - console.log("help"); + openModal(HelpModal, { discordLink }, { replace: true }); }, reset() { console.log("reset"); diff --git a/src/components/Modals/HelpModal.svelte b/src/components/Modals/HelpModal.svelte new file mode 100644 index 0000000..d0bf4ce --- /dev/null +++ b/src/components/Modals/HelpModal.svelte @@ -0,0 +1,23 @@ + + + +
+

Help

+

+ Some help text may or may not go here in the future... check out our discord. +

+
+
+ +