diff --git a/in/en/index.html b/in/en/index.html index 1cfbf71..67570f9 100644 --- a/in/en/index.html +++ b/in/en/index.html @@ -67,7 +67,7 @@ EMAIL - +cv marc.beninca.link diff --git a/in/fr/index.html b/in/fr/index.html index e64dd2c..aefec2f 100644 --- a/in/fr/index.html +++ b/in/fr/index.html @@ -67,7 +67,7 @@ EMAIL - + diff --git a/in/script/main.js b/in/script/main.js index 289aeb7..8ec1985 100644 --- a/in/script/main.js +++ b/in/script/main.js @@ -6,30 +6,19 @@ for (let button of buttons) { }); } -const qa = document.getElementById("qa"); -qa.style.cursor = atob("cG9pbnRlcg=="); -const qa0 = atob("Lg=="); +const email = document.getElementById("email"); +email.style.cursor = "pointer"; +const email_ = "."; -const qa1 = [ - atob("Y3Y="), -].join(qa0); -const qa2 = document.createElement(atob("c3Bhbg==")); -qa2.className = atob("ZmEgZmEtYXQ="); -const qa3 = [ - atob("bWFyYw=="), - atob("YmVuaW5jYQ=="), - atob("bGluaw=="), -].join(qa0); -const qa4 = atob("IA==") +const email_alias = ["cv"].join(email_); +const email_at = document.createElement("span"); +email_at.className = "fa fa-at"; +const email_domain = ["marc", "beninca", "link"].join(email_); -for (let kg of [qa1, qa4, qa2, qa4, qa3]) { - qa.append(kg); -} -qa.addEventListener("click", () => { - window.location.href = [ - atob("bWFpbHRv"), - [qa1, qa3].join(atob("QA==")), - ].join(atob("Og==")); +email.append(email_alias, " ", email_at, " ", email_domain); +email.addEventListener("click", () => { + window.location.href = + ["mailto", [email_alias, email_domain].join("@")].join(":"); }); let theme;