Compare commits
7 commits
fbf01ff08d
...
d87cceda7f
Author | SHA1 | Date | |
---|---|---|---|
d87cceda7f | |||
ef6b5a8ba3 | |||
46c2197f5a | |||
c6308210d4 | |||
e867fa41ed | |||
510bac39b3 | |||
8890f8169d |
3 changed files with 24 additions and 13 deletions
|
@ -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>cv <span class="fa fa-at"></span> marc.beninca.link</td>
|
||||
<td><span id="qa"></span></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</section>
|
||||
|
|
|
@ -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="email"></span></td>
|
||||
<td><span id="qa"></span></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</section>
|
||||
|
|
|
@ -6,19 +6,30 @@ for (let button of buttons) {
|
|||
});
|
||||
}
|
||||
|
||||
const email = document.getElementById("email");
|
||||
email.style.cursor = "pointer";
|
||||
const email_ = ".";
|
||||
const qa = document.getElementById("qa");
|
||||
qa.style.cursor = atob("cG9pbnRlcg==");
|
||||
const qa0 = atob("Lg==");
|
||||
|
||||
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_);
|
||||
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==")
|
||||
|
||||
email.append(email_alias, " ", email_at, " ", email_domain);
|
||||
email.addEventListener("click", () => {
|
||||
window.location.href =
|
||||
["mailto", [email_alias, email_domain].join("@")].join(":");
|
||||
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=="));
|
||||
});
|
||||
|
||||
let theme;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue