diff --git a/src/Components/NavButton.svelte b/src/Components/NavButton.svelte index 7047703..854cf69 100644 --- a/src/Components/NavButton.svelte +++ b/src/Components/NavButton.svelte @@ -18,11 +18,17 @@ checked = true; page = id; } + + function handleKeydown(event){ + if (event.key === "Enter"){ + setPage(); + } + }