feat: added my public keys to a keys.json file in the root of the website

This commit is contained in:
2023-06-29 22:57:27 +02:00
parent 77482ba074
commit 8a2f19e8a9
14 changed files with 179 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ import { ICONS } from "@/constants";
import { Dictionary } from "@/types";
import { getContactHref, getIcon } from "@/utils";
type Props = {
contacts: Dictionary<string>;
};
@@ -26,8 +25,13 @@ const Contacts: React.FC<Props> = ({ contacts }: Props) => (
<Icon name={name} icon={getIcon(name)} />
</a>
</li>
) : null,
) : null
)}
<li className={styles.item} key="keys">
<a className={styles.link} href="/keys.json" rel="noopener noreferrer" target="_blank">
<Icon name="keys" icon={getIcon("keys")} />
</a>
</li>
</ul>
</div>
);

View File

@@ -93,6 +93,24 @@ exports[`Contacts renders correctly 1`] = `
</svg>
</a>
</li>
<li>
<a
href="/keys.json"
rel="noopener noreferrer"
target="_blank"
>
<svg
viewBox="0 0 20 20"
>
<title>
keys
</title>
<path
d="M15 6a1.54 1.54 0 0 1-1.5-1.5 1.5 1.5 0 0 1 3 0A1.54 1.54 0 0 1 15 6zm-1.5-5A5.55 5.55 0 0 0 8 6.5a6.81 6.81 0 0 0 .7 2.8L1 17v2h4v-2h2v-2h2l3.2-3.2a5.85 5.85 0 0 0 1.3.2A5.55 5.55 0 0 0 19 6.5 5.55 5.55 0 0 0 13.5 1z"
/>
</svg>
</a>
</li>
</ul>
</div>
`;

View File

@@ -138,6 +138,24 @@ exports[`Sidebar renders correctly 1`] = `
</svg>
</a>
</li>
<li>
<a
href="/keys.json"
rel="noopener noreferrer"
target="_blank"
>
<svg
viewBox="0 0 20 20"
>
<title>
keys
</title>
<path
d="M15 6a1.54 1.54 0 0 1-1.5-1.5 1.5 1.5 0 0 1 3 0A1.54 1.54 0 0 1 15 6zm-1.5-5A5.55 5.55 0 0 0 8 6.5a6.81 6.81 0 0 0 .7 2.8L1 17v2h4v-2h2v-2h2l3.2-3.2a5.85 5.85 0 0 0 1.3.2A5.55 5.55 0 0 0 19 6.5 5.55 5.55 0 0 0 13.5 1z"
/>
</svg>
</a>
</li>
</ul>
</div>
<div>