diff --git a/in/fr/index.html b/in/fr/index.html index aefec2f..76b0fd2 100644 --- a/in/fr/index.html +++ b/in/fr/index.html @@ -67,7 +67,7 @@ EMAIL - +cv marc.beninca.link diff --git a/in/script/main.js b/in/script/main.js index 8ec1985..7b6582a 100644 --- a/in/script/main.js +++ b/in/script/main.js @@ -6,22 +6,7 @@ for (let button of buttons) { }); } -const email = document.getElementById("email"); -email.style.cursor = "pointer"; -const email_ = "."; - -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_); - -email.append(email_alias, " ", email_at, " ", email_domain); -email.addEventListener("click", () => { - window.location.href = - ["mailto", [email_alias, email_domain].join("@")].join(":"); -}); - -let theme; +let theme function theme_get() { theme = localStorage.getItem("theme"); @@ -32,7 +17,7 @@ function theme_get() { theme = "light"; } } - theme_set(); + theme_set() } function theme_set() { @@ -49,4 +34,4 @@ document.getElementById("theme").addEventListener("click", () => { theme_swap(); }); -theme_get(); +theme_get()