From 8a2f19e8a9abec4a3529c08cd06cf7e042e67725 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Thu, 29 Jun 2023 22:57:27 +0200 Subject: [PATCH] feat: added my public keys to a keys.json file in the root of the website --- .../2023/flashing-lsi-9211-with-efi/index.md | 2 +- .../index.md | 2 +- src/components/Sidebar/Contacts/Contacts.tsx | 8 ++++++-- .../__snapshots__/Contacts.test.tsx.snap | 18 ++++++++++++++++++ .../__snapshots__/Sidebar.test.tsx.snap | 18 ++++++++++++++++++ src/constants/icons.ts | 4 ++++ .../CategoriesTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../CategoryTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../__snapshots__/IndexTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../NotFoundTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../__snapshots__/PageTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../__snapshots__/TagTemplate.test.tsx.snap | 18 ++++++++++++++++++ .../__snapshots__/TagsTemplate.test.tsx.snap | 18 ++++++++++++++++++ static/keys.json | 5 +++++ 14 files changed, 179 insertions(+), 4 deletions(-) create mode 100644 static/keys.json diff --git a/content/posts/2023/flashing-lsi-9211-with-efi/index.md b/content/posts/2023/flashing-lsi-9211-with-efi/index.md index 2630485..c400d43 100644 --- a/content/posts/2023/flashing-lsi-9211-with-efi/index.md +++ b/content/posts/2023/flashing-lsi-9211-with-efi/index.md @@ -11,7 +11,7 @@ tags: - "SAS2000" - "it mode" description: "Flashing the LSI-9211 used to be way more difficult, luckily the EFI shell makes this task a lot simpler!" -socialImage: /media/flash-result.jpg +socialImage: ./media/flash-result.jpg --- diff --git a/content/posts/2023/starting-a-new-hobby-that-might-just-take-over-my-house/index.md b/content/posts/2023/starting-a-new-hobby-that-might-just-take-over-my-house/index.md index b8c2a55..993f058 100644 --- a/content/posts/2023/starting-a-new-hobby-that-might-just-take-over-my-house/index.md +++ b/content/posts/2023/starting-a-new-hobby-that-might-just-take-over-my-house/index.md @@ -7,7 +7,7 @@ tags: - "Lego" - "house" description: "What started as a simple decoration piece to fill some empty space in my home quickly grew into a new hobby of which the remnants can be found throughout my house" -socialImage: /media/building-the-owl.jpg +socialImage: ./media/building-the-owl.jpg --- ## The problem diff --git a/src/components/Sidebar/Contacts/Contacts.tsx b/src/components/Sidebar/Contacts/Contacts.tsx index 7cd3840..4235f15 100644 --- a/src/components/Sidebar/Contacts/Contacts.tsx +++ b/src/components/Sidebar/Contacts/Contacts.tsx @@ -6,7 +6,6 @@ import { ICONS } from "@/constants"; import { Dictionary } from "@/types"; import { getContactHref, getIcon } from "@/utils"; - type Props = { contacts: Dictionary; }; @@ -26,8 +25,13 @@ const Contacts: React.FC = ({ contacts }: Props) => ( - ) : null, + ) : null )} +
  • + + + +
  • ); diff --git a/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.tsx.snap b/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.tsx.snap index 8a19e61..c1ef7a3 100644 --- a/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.tsx.snap +++ b/src/components/Sidebar/Contacts/__snapshots__/Contacts.test.tsx.snap @@ -93,6 +93,24 @@ exports[`Contacts renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • `; diff --git a/src/components/Sidebar/__snapshots__/Sidebar.test.tsx.snap b/src/components/Sidebar/__snapshots__/Sidebar.test.tsx.snap index aecff9b..0911494 100644 --- a/src/components/Sidebar/__snapshots__/Sidebar.test.tsx.snap +++ b/src/components/Sidebar/__snapshots__/Sidebar.test.tsx.snap @@ -138,6 +138,24 @@ exports[`Sidebar renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/constants/icons.ts b/src/constants/icons.ts index 1fb5e64..42283eb 100644 --- a/src/constants/icons.ts +++ b/src/constants/icons.ts @@ -63,6 +63,10 @@ const ICONS = { path: "M3.6,7.8 C5,10.6 7.4,12.9 10.2,14.4 L12.4,12.2 C12.7,11.9 13.1,11.8 13.4,12 C14.5,12.4 15.7,12.6 17,12.6 C17.6,12.6 18,13 18,13.6 L18,17 C18,17.6 17.6,18 17,18 C7.6,18 0,10.4 0,1 C0,0.4 0.4,0 1,0 L4.5,0 C5.1,0 5.5,0.4 5.5,1 C5.5,2.2 5.7,3.4 6.1,4.6 C6.2,4.9 6.1,5.3 5.9,5.6 L3.6,7.8 L3.6,7.8 Z", viewBox: "0 0 18 18", }, + keys: { + path: "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", + viewBox: "0 0 20 20", + }, }; export default ICONS; diff --git a/src/templates/CategoriesTemplate/__snapshots__/CategoriesTemplate.test.tsx.snap b/src/templates/CategoriesTemplate/__snapshots__/CategoriesTemplate.test.tsx.snap index a161df4..3c5e638 100644 --- a/src/templates/CategoriesTemplate/__snapshots__/CategoriesTemplate.test.tsx.snap +++ b/src/templates/CategoriesTemplate/__snapshots__/CategoriesTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`CategoriesTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/CategoryTemplate/__snapshots__/CategoryTemplate.test.tsx.snap b/src/templates/CategoryTemplate/__snapshots__/CategoryTemplate.test.tsx.snap index e9e7716..aa38bb3 100644 --- a/src/templates/CategoryTemplate/__snapshots__/CategoryTemplate.test.tsx.snap +++ b/src/templates/CategoryTemplate/__snapshots__/CategoryTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`CategoryTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/IndexTemplate/__snapshots__/IndexTemplate.test.tsx.snap b/src/templates/IndexTemplate/__snapshots__/IndexTemplate.test.tsx.snap index 361746c..45b3426 100644 --- a/src/templates/IndexTemplate/__snapshots__/IndexTemplate.test.tsx.snap +++ b/src/templates/IndexTemplate/__snapshots__/IndexTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`IndexTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/NotFoundTemplate/__snapshots__/NotFoundTemplate.test.tsx.snap b/src/templates/NotFoundTemplate/__snapshots__/NotFoundTemplate.test.tsx.snap index 863006c..5dd8164 100644 --- a/src/templates/NotFoundTemplate/__snapshots__/NotFoundTemplate.test.tsx.snap +++ b/src/templates/NotFoundTemplate/__snapshots__/NotFoundTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`NotFoundTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/PageTemplate/__snapshots__/PageTemplate.test.tsx.snap b/src/templates/PageTemplate/__snapshots__/PageTemplate.test.tsx.snap index 31937d9..88bb0fc 100644 --- a/src/templates/PageTemplate/__snapshots__/PageTemplate.test.tsx.snap +++ b/src/templates/PageTemplate/__snapshots__/PageTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`PageTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/TagTemplate/__snapshots__/TagTemplate.test.tsx.snap b/src/templates/TagTemplate/__snapshots__/TagTemplate.test.tsx.snap index b09cb60..59a16ba 100644 --- a/src/templates/TagTemplate/__snapshots__/TagTemplate.test.tsx.snap +++ b/src/templates/TagTemplate/__snapshots__/TagTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`TagTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/src/templates/TagsTemplate/__snapshots__/TagsTemplate.test.tsx.snap b/src/templates/TagsTemplate/__snapshots__/TagsTemplate.test.tsx.snap index e8831b7..ddc24fd 100644 --- a/src/templates/TagsTemplate/__snapshots__/TagsTemplate.test.tsx.snap +++ b/src/templates/TagsTemplate/__snapshots__/TagsTemplate.test.tsx.snap @@ -139,6 +139,24 @@ exports[`TagsTemplate renders correctly 1`] = ` +
  • + + + + keys + + + + +
  • diff --git a/static/keys.json b/static/keys.json new file mode 100644 index 0000000..27069be --- /dev/null +++ b/static/keys.json @@ -0,0 +1,5 @@ +{ + "documentSigningKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPH8NJi1EDmYv6mMtd8eC9VBPDf/faGn9GV2PhSo4KtK", + "workLaptop": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ4LSpR4wx4U/ruu5qZ7hCERSyINp2tCk6IS7cYPfKt+", + "devPc": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII9hfhULcwnmtzXATxU6oqWPhTS06WXPVzx28knx9rPL" +} \ No newline at end of file