Compare commits

..

No commits in common. "d87cceda7ffadb5bdb863fa9acac46b4caaa99ca" and "fbf01ff08d83f9dd3a363f56d261379cb58a4c77" have entirely different histories.

3 changed files with 13 additions and 24 deletions

View file

@ -67,7 +67,7 @@
<tr>
<th scope="row"><a href="https://en.wikipedia.org/wiki/VCard#Properties">EMAIL</a></th>
<th class="logo" scope="row"><img class="logo" src="../img/mail.svg" alt="Mail logo"></th>
<td><span id="qa"></span></td>
<td>cv <span class="fa fa-at"></span> marc.beninca.link</td>
</tr>
</tbody></table>
</section>

View file

@ -67,7 +67,7 @@
<tr>
<th scope="row"><a href="https://fr.wikipedia.org/wiki/VCard#Propriétés">EMAIL</a></th>
<th class="logo" scope="row"><img class="logo" src="../img/mail.svg" alt="Logo de courrier"></th>
<td><span id="qa"></span></td>
<td><span id="email"></span></td>
</tr>
</tbody></table>
</section>

View file

@ -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;