diff --git a/index.html b/index.html index cfee339..c80bfe9 100644 --- a/index.html +++ b/index.html @@ -48,6 +48,28 @@ Email - + diff --git a/scripts/index.js b/scripts/index.js deleted file mode 100644 index 48583e4..0000000 --- a/scripts/index.js +++ /dev/null @@ -1,21 +0,0 @@ -function typechars(e, url = "wip.html") { - e.preventDefault(); - - const text = ` ${e.target.textContent.toLowerCase()}/`; - const terminalPrompt = document.querySelector(".prompt"); - let i = 0; - - function typechar() { - if (i < text.length) { - terminalPrompt.innerHTML += text.charAt(i); - i++; - setTimeout(typechar, 1000 / text.length); - } else { - setTimeout(() => { - window.location.href = url; - }, 500); - } - } - - typechar(); -}