[a] easter egg in console
All checks were successful
Build and push docker image / publish (push) Successful in 48s
All checks were successful
Build and push docker image / publish (push) Successful in 48s
This commit is contained in:
parent
f35ade0784
commit
85aed5bcc3
2 changed files with 32 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
<script lang='ts'>
|
||||
import IconChevronDown from 'svelte-material-icons/ChevronDown.svelte';
|
||||
import { smoothScrollTo, handleKeydown } from '$lib/index';
|
||||
import { smoothScrollTo, handleKeydown, helloWorld } from '$lib/index';
|
||||
|
||||
helloWorld("ascii", "hi there, curious one. have fun exploring! :D")
|
||||
</script>
|
||||
|
||||
<div id="home" class="section">
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue