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

View File

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

View File

@ -39,19 +39,6 @@
<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">(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> </div>
<script src="main.js"></script> <script src="main.js"></script>
</body> </body>

View File

@ -2,21 +2,17 @@
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") {
const mailAddress = givenName + '@' + domain return
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")) const mailAddress = givenName + '@' + domain
forbiddenWordEls.forEach(el => { const mailEl = document.getElementById('email')
el.innerHTML = "blockchain" mailEl.innerText = mailAddress
el.classList.add("processed") 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 { 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; margin: 0 auto 50px;
padding: 0 1rem;
min-height: 100vh;
display: flex;
flex-direction: column;
} }
tr td:first-child::after { tr td:first-child::after {
@ -23,12 +16,3 @@ 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;
}