diff --git a/src/lib/components/Home.svelte b/src/lib/components/Home.svelte index a10547c..b3271b3 100644 --- a/src/lib/components/Home.svelte +++ b/src/lib/components/Home.svelte @@ -1,6 +1,8 @@
diff --git a/src/lib/index.ts b/src/lib/index.ts index 4905f7d..9759d73 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -26,3 +26,32 @@ export function handleKeydown(event: KeyboardEvent) { export function openWebsite(url: string) { goto(url); } + +export function helloWorld(type: string, msg: string) { + if (type == "ascii") { + console.log(` + :=*#%%#= + -+#@@@@@@@@@. + .=#@@@@@@@@@@@@+ + =%@@@@@@@@@@@@%+. + +@@@@@@@@@@@%=: + +@@@@@@@@@@@%=. + =#@@@@@@@@@@@@#+: + .-*%@@@@@@@@@@@%*: + .-%@@@@@@@@@@@#. + :*@@@@@@@@@@@@= + -*%@@@@@@@@@@@@%+ + =#@@@@@@@@@@@@@#+: + +@@@@@@@@@@@@%+- + =@@@@@@@@@@%=. + .#@@@@@@@@* + =%@@@@@% + :@@@@@# + %@@@@: + .*%#- + + `) + } + + console.log(msg) +}