contact-page: Add note for confused recruiters
This commit is contained in:
parent
179f02a644
commit
eae4f8f7fd
|
@ -39,6 +39,19 @@
|
||||||
<td><a href="https://git.sbruder.de/simon.keys">public keys (dynamic)</a></td>
|
<td><a href="https://git.sbruder.de/simon.keys">public keys (dynamic)</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<div class="fineprint">
|
||||||
|
<p>
|
||||||
|
Dear <span class="forbiddenword">(don’t want to get found by this keyword)</span> recruiters,
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The publication of these contact details does not constitute consent within the meaning of Art. 6 GDPR.
|
||||||
|
They may not be used for sending me unsolicited messages.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Also, if you were even thinking of contacting me about <span class="forbiddenword">(don’t want to get found by this keyword)</span>,
|
||||||
|
you should probably invest in more capable people for “Talent Acquisition” <a href="https://web3isgoinggreat.com/">😘</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="main.js"></script>
|
<script src="main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -2,17 +2,21 @@
|
||||||
const givenName = document.getElementById('name').innerText.split(" ")[0].toLowerCase()
|
const givenName = document.getElementById('name').innerText.split(" ")[0].toLowerCase()
|
||||||
const domain = location.host
|
const domain = location.host
|
||||||
|
|
||||||
if (domain !== "sbruder.de") {
|
if (domain === "sbruder.de") {
|
||||||
return
|
const mailAddress = givenName + '@' + domain
|
||||||
|
const mailEl = document.getElementById('email')
|
||||||
|
mailEl.innerText = mailAddress
|
||||||
|
mailEl.href = `mailto:${mailAddress}`
|
||||||
|
|
||||||
|
const matrixAddress = '@' + givenName + ':' + domain
|
||||||
|
const matrixEl = document.getElementById('matrix')
|
||||||
|
matrixEl.innerText = matrixAddress
|
||||||
|
matrixEl.href = `https://matrix.to/#/${matrixAddress}`
|
||||||
}
|
}
|
||||||
|
|
||||||
const mailAddress = givenName + '@' + domain
|
const forbiddenWordEls = Array.from(document.getElementsByClassName("forbiddenword"))
|
||||||
const mailEl = document.getElementById('email')
|
forbiddenWordEls.forEach(el => {
|
||||||
mailEl.innerText = mailAddress
|
el.innerHTML = "blockchain"
|
||||||
mailEl.href = `mailto:${mailAddress}`
|
el.classList.add("processed")
|
||||||
|
})
|
||||||
const matrixAddress = '@' + givenName + ':' + domain
|
|
||||||
const matrixEl = document.getElementById('matrix')
|
|
||||||
matrixEl.innerText = matrixAddress
|
|
||||||
matrixEl.href = `https://matrix.to/#/${matrixAddress}`
|
|
||||||
})()
|
})()
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
body {
|
body {
|
||||||
font-family: "PT Sans", "Helvetica", "Helvetica Neue", "Roboto", "Arimo", "Arial", sans-serif;
|
font-family: "PT Sans", "Helvetica", "Helvetica Neue", "Roboto", "Arimo", "Arial", sans-serif;
|
||||||
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
margin: 0 auto 50px;
|
margin: 0 auto;
|
||||||
|
padding: 0 1rem;
|
||||||
|
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr td:first-child::after {
|
tr td:first-child::after {
|
||||||
|
@ -16,3 +23,12 @@ a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fineprint {
|
||||||
|
font-size: .75rem;
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forbiddenword.processed {
|
||||||
|
font-family: "Comic Sans MS", cursive;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue