contact section
This commit is contained in:
@@ -1 +1 @@
|
|||||||
PGRpdj48aW1nY2xhc3M9ImJ1bGxldC1pbWcic3JjPSJkaXNjb3JkLnBuZyJhbHQ9IkRpc2NvcmQiLz5AbWluaW5ndGN1cDwvZGl2PjxkaXY+PGltZ2NsYXNzPSJidWxsZXQtaW1nInNyYz0icHJvdG9ubWFpbC5wbmciYWx0PSJEaXNjb3JkIi8+dGVkQG1pbmluZ3RjdXAubWU8L2Rpdj48ZGl2PjxpbWdjbGFzcz0iYnVsbGV0LWltZyJzcmM9InBob25lLndlYnAiYWx0PSJEaXNjb3JkIi8+KDY1MCk1MTItOTYzNTwvZGl2Pg==
|
PGRpdj4KICAgIDxpbWcKICAgICAgICBjbGFzcz0iYnVsbGV0LWltZyIKICAgICAgICBzcmM9ImRpc2NvcmQucG5nIgogICAgICAgIGFsdD0iRGlzY29yZCIKICAgIC8+QG1pbmluZ3RjdXAKPC9kaXY+CjxkaXY+CiAgICA8aW1nCiAgICAgICAgY2xhc3M9ImJ1bGxldC1pbWciCiAgICAgICAgc3JjPSJwcm90b25tYWlsLnBuZyIKICAgICAgICBhbHQ9IkRpc2NvcmQiCiAgICAvPnRlZEBtaW5pbmd0Y3VwLm1lCjwvZGl2Pgo8ZGl2PgogICAgPGltZwogICAgICAgIGNsYXNzPSJidWxsZXQtaW1nIgogICAgICAgIHNyYz0icGhvbmUud2VicCIKICAgICAgICBhbHQ9IkRpc2NvcmQiCiAgICAvPig2NTApIDUxMi05NjM1CjwvZGl2Pgo=
|
||||||
|
@@ -1,9 +1,11 @@
|
|||||||
const $ = (id) => document.getElementById(id);
|
const $ = (id) => document.getElementById(id);
|
||||||
|
const infoContainer = $("contact-info-container");
|
||||||
|
|
||||||
$("contact-info-container").addEventListener("click", () => {
|
infoContainer.addEventListener("click", () => {
|
||||||
fetch("contact-info.obfuscated")
|
fetch("contact-info.obfuscated")
|
||||||
.then((response) => response.text())
|
.then((response) => response.text())
|
||||||
.then((text) => {
|
.then((text) => {
|
||||||
$("contact-info-container").innerHTML = atob(text);
|
infoContainer.innerHTML = atob(text);
|
||||||
|
infoContainer.style.background = "transparent";
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user