Compare commits

...

4 Commits

Author SHA1 Message Date
Simon Bruder eae4f8f7fd
contact-page: Add note for confused recruiters 2022-08-30 23:46:45 +02:00
Simon Bruder 179f02a644
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/b9fd420fa535fd254c6f1f26df770b32a9dc98b4' (2022-08-23)
  → 'github:nixos/nixpkgs/0ba2543f8c855d7be8e90ef6c8dc89c1617e8a08' (2022-08-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/f034b5693a26625f56068af983ed7727a60b5f8b' (2022-08-24)
  → 'github:nixos/nixpkgs/f3d0897be466aa09a37f6bf59e62c360c3f9a6cc' (2022-08-25)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/6068774a8e85fea4b0177efcc90afb3c3b74430b' (2022-08-21)
  → 'github:Mic92/sops-nix/d92fba1bfc9f64e4ccb533701ddd8590c0d8c74a' (2022-08-28)
• Updated input 'sops-nix/nixpkgs-22_05':
    'github:NixOS/nixpkgs/9a91318fffec81ad009b73fd3b640d2541d87909' (2022-08-20)
  → 'github:NixOS/nixpkgs/290dbaacc1f0b783fd8e271b585ec2c8c3b03954' (2022-08-28)
2022-08-28 16:08:02 +02:00
Simon Bruder bd249d1d2b
vueko/mail: Add alias 2022-08-28 12:20:45 +02:00
Simon Bruder 87531083b4
flake.nix: Use devShells.default 2022-08-26 16:14:24 +02:00
6 changed files with 58 additions and 25 deletions

View File

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

View File

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

View File

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

View File

@ -1,10 +1,17 @@
body {
font-family: "PT Sans", "Helvetica", "Helvetica Neue", "Roboto", "Arimo", "Arial", sans-serif;
margin: 0px;
}
.container {
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 {
@ -16,3 +23,12 @@ a {
color: inherit;
font-weight: 600;
}
.fineprint {
font-size: .75rem;
margin-top: auto;
}
.forbiddenword.processed {
font-family: "Comic Sans MS", cursive;
}