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> <tr>
<th scope="row"><a href="https://en.wikipedia.org/wiki/VCard#Properties">EMAIL</a></th> <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> <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> </tr>
</tbody></table> </tbody></table>
</section> </section>

View file

@ -67,7 +67,7 @@
<tr> <tr>
<th scope="row"><a href="https://fr.wikipedia.org/wiki/VCard#Propriétés">EMAIL</a></th> <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> <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> </tr>
</tbody></table> </tbody></table>
</section> </section>

View file

@ -6,30 +6,19 @@ for (let button of buttons) {
}); });
} }
const qa = document.getElementById("qa"); const email = document.getElementById("email");
qa.style.cursor = atob("cG9pbnRlcg=="); email.style.cursor = "pointer";
const qa0 = atob("Lg=="); const email_ = ".";
const qa1 = [ const email_alias = ["cv"].join(email_);
atob("Y3Y="), const email_at = document.createElement("span");
].join(qa0); email_at.className = "fa fa-at";
const qa2 = document.createElement(atob("c3Bhbg==")); const email_domain = ["marc", "beninca", "link"].join(email_);
qa2.className = atob("ZmEgZmEtYXQ=");
const qa3 = [
atob("bWFyYw=="),
atob("YmVuaW5jYQ=="),
atob("bGluaw=="),
].join(qa0);
const qa4 = atob("IA==")
for (let kg of [qa1, qa4, qa2, qa4, qa3]) { email.append(email_alias, " ", email_at, " ", email_domain);
qa.append(kg); email.addEventListener("click", () => {
} window.location.href =
qa.addEventListener("click", () => { ["mailto", [email_alias, email_domain].join("@")].join(":");
window.location.href = [
atob("bWFpbHRv"),
[qa1, qa3].join(atob("QA==")),
].join(atob("Og=="));
}); });
let theme; let theme;