contact section

This commit is contained in:
2025-08-03 16:07:20 -07:00
parent b867b82b83
commit 25b9e484bc
2 changed files with 5 additions and 3 deletions

View File

@@ -1,9 +1,11 @@
const $ = (id) => document.getElementById(id);
const infoContainer = $("contact-info-container");
$("contact-info-container").addEventListener("click", () => {
infoContainer.addEventListener("click", () => {
fetch("contact-info.obfuscated")
.then((response) => response.text())
.then((text) => {
$("contact-info-container").innerHTML = atob(text);
infoContainer.innerHTML = atob(text);
infoContainer.style.background = "transparent";
});
});