Compare commits

..

No commits in common. "eae4f8f7fdcc50b47279255948ba401f08d5f1f9" and "e31c264c922b66dc99b3931e0eafc2882f307e7f" have entirely different histories.

6 changed files with 25 additions and 58 deletions

View File

@ -162,11 +162,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1661617163,
"narHash": "sha256-NN9Ky47j8ohgPhA9JZyfkYIbbAo6RJkGz+7h8/exVpE=",
"lastModified": 1661262176,
"narHash": "sha256-42FXNd2B0QECaULG0Vx+oYzQ9euKcmlg2gmX2D+HbKI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0ba2543f8c855d7be8e90ef6c8dc89c1617e8a08",
"rev": "b9fd420fa535fd254c6f1f26df770b32a9dc98b4",
"type": "github"
},
"original": {
@ -178,11 +178,11 @@
},
"nixpkgs-22_05": {
"locked": {
"lastModified": 1661656705,
"narHash": "sha256-1ujNuL1Tx1dt8dC/kuYS329ZZgiXXmD96axwrqsUY7w=",
"lastModified": 1661009065,
"narHash": "sha256-i+Q2ttGp4uOL3j0wEYP3MXLcu/4L/WbChxGQogiNSZo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "290dbaacc1f0b783fd8e271b585ec2c8c3b03954",
"rev": "9a91318fffec81ad009b73fd3b640d2541d87909",
"type": "github"
},
"original": {
@ -220,11 +220,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1661450036,
"narHash": "sha256-0/9UyJLtfWqF4uvOrjFIzk8ue1YYUHa6JIhV0mALkH0=",
"lastModified": 1661328374,
"narHash": "sha256-GGMupfk/lGzPBQ/dRrcQEhiFZ0F5KPg0j5Q4Fb5coxc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f3d0897be466aa09a37f6bf59e62c360c3f9a6cc",
"rev": "f034b5693a26625f56068af983ed7727a60b5f8b",
"type": "github"
},
"original": {
@ -322,11 +322,11 @@
"nixpkgs-22_05": "nixpkgs-22_05"
},
"locked": {
"lastModified": 1661660105,
"narHash": "sha256-3ITdkYwsNDh2DRqi7FZOJ92ui92NmcO6Nhj49u+JjWY=",
"lastModified": 1661054796,
"narHash": "sha256-SWiWmENiim8liUNOZ1oxjc5yKb/fNpcyfSRo41bsEy0=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "d92fba1bfc9f64e4ccb533701ddd8590c0d8c74a",
"rev": "6068774a8e85fea4b0177efcc90afb3c3b74430b",
"type": "github"
},
"original": {

View File

@ -145,7 +145,7 @@
});
devShells.default = pkgs.mkShell {
devShell = pkgs.mkShell {
buildInputs = (with pkgs; [
black
nixpkgs-fmt

View File

@ -39,19 +39,6 @@
<td><a href="https://git.sbruder.de/simon.keys">public keys (dynamic)</a></td>
</tr>
</table>
<div class="fineprint">
<p>
Dear <span class="forbiddenword">(dont 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">(dont 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>
<script src="main.js"></script>
</body>

View File

@ -2,21 +2,17 @@
const givenName = document.getElementById('name').innerText.split(" ")[0].toLowerCase()
const domain = location.host
if (domain === "sbruder.de") {
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}`
if (domain !== "sbruder.de") {
return
}
const forbiddenWordEls = Array.from(document.getElementsByClassName("forbiddenword"))
forbiddenWordEls.forEach(el => {
el.innerHTML = "blockchain"
el.classList.add("processed")
})
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}`
})()

View File

@ -1,17 +1,10 @@
body {
font-family: "PT Sans", "Helvetica", "Helvetica Neue", "Roboto", "Arimo", "Arial", sans-serif;
margin: 0px;
}
.container {
max-width: 500px;
margin: 0 auto;
padding: 0 1rem;
min-height: 100vh;
display: flex;
flex-direction: column;
margin: 0 auto 50px;
}
tr td:first-child::after {
@ -23,12 +16,3 @@ a {
color: inherit;
font-weight: 600;
}
.fineprint {
font-size: .75rem;
margin-top: auto;
}
.forbiddenword.processed {
font-family: "Comic Sans MS", cursive;
}