Add GPG key
This commit is contained in:
parent
37fba2f602
commit
790ba15725
9 changed files with 361 additions and 116 deletions
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import { readFile } from "node:fs/promises";
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
import { IconEnvelope, IconBriefcase, IconLink, IconCommentDots, IconSSH } from "../components/icons";
|
||||
import { IconEnvelope, IconBriefcase, IconKey, IconLink, IconCommentDots, IconSSH } from "../components/icons";
|
||||
import {
|
||||
IconBluesky,
|
||||
IconCodeberg,
|
||||
|
|
@ -33,6 +34,9 @@ import {
|
|||
IconX,
|
||||
IconYouTube,
|
||||
} from "../components/icons/brands";
|
||||
|
||||
const gpgKey = await readFile("./public/gpg.pub", { encoding: "utf-8" });
|
||||
const sshKey = await readFile("./public/ssh.pub", { encoding: "utf-8" });
|
||||
---
|
||||
|
||||
<BaseLayout>
|
||||
|
|
@ -301,6 +305,23 @@ import {
|
|||
<p class="sr-only select-none">badmanners.vore@gmail.com</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
id="gpg"
|
||||
class="u-key text-link group block w-full py-2 transition-colors motion-reduce:transition-none"
|
||||
href="/gpg.pub"
|
||||
aria-label="GPG public key"
|
||||
data-clipboard={gpgKey}
|
||||
data-noun="GPG key"
|
||||
>
|
||||
<IconKey
|
||||
height="1.75rem"
|
||||
width="1.75rem"
|
||||
class="inline transition-transform group-hover:scale-150 group-focus:scale-150 motion-reduce:transition-none motion-reduce:group-hover:scale-100 motion-reduce:group-focus:scale-100"
|
||||
/>
|
||||
<p class="sr-only select-none">GPG public key</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
id="inkbunny"
|
||||
|
|
@ -378,7 +399,9 @@ import {
|
|||
width="1.75rem"
|
||||
class="inline transition-transform group-hover:scale-150 group-focus:scale-150 motion-reduce:transition-none motion-reduce:group-hover:scale-100 motion-reduce:group-focus:scale-100"
|
||||
/>
|
||||
<p class="sr-only select-none"><span class="p-uid">aspe:keyoxide.org:UWYBVFCBFXTVUF2U6FS6AYJHLU</span> on Keyoxide</p>
|
||||
<p class="sr-only select-none">
|
||||
<span class="p-uid">aspe:keyoxide.org:UWYBVFCBFXTVUF2U6FS6AYJHLU</span> on Keyoxide
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -499,7 +522,7 @@ import {
|
|||
class="u-key text-link group block w-full py-2 transition-colors motion-reduce:transition-none"
|
||||
href="/ssh.pub"
|
||||
aria-label="SSH public key"
|
||||
data-clipboard="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ3QAZd3E95gxef2kiXppWa/xhcwBtnKMZJaW6s4d7Tm Bad Manners <me@badmanners.xyz>"
|
||||
data-clipboard={sshKey}
|
||||
data-noun="SSH key"
|
||||
>
|
||||
<IconSSH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue