diff --git a/package.json b/package.json index 9381274..5adfcd7 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "@astrojs/sitemap": "^3.2.1", "@astrojs/tailwind": "^5.1.3", "@cloudflare/workers-types": "^4.20241230.0", - "@fontsource/fira-sans": "^5.1.1", "@fontsource/ubuntu": "^5.1.0", "@iconify-json/mdi": "^1.2.1", "@iconify-json/simple-icons": "^1.2.14", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d44cd72..cdc694e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,9 +29,6 @@ importers: '@cloudflare/workers-types': specifier: ^4.20241230.0 version: 4.20241230.0 - '@fontsource/fira-sans': - specifier: ^5.1.1 - version: 5.1.1 '@fontsource/ubuntu': specifier: ^5.1.0 version: 5.1.0 @@ -964,9 +961,6 @@ packages: resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} - '@fontsource/fira-sans@5.1.1': - resolution: {integrity: sha512-LdbPwcMEADFjbcMx5sdPcyLi0NnEzP34YO+4d2eOeIKjCu1SyJiG/bBz5K07qm4pyhh2cQveifhFrG7gQDG9wQ==} - '@fontsource/ubuntu@5.1.0': resolution: {integrity: sha512-0XG/HrFsfP1q3phf4QN8IO7tetd0zOZKHZSHcTnBuVoQedoo1wS/hXxY2FMZuqoG+mVfrXh+Q614MDVmQPJq2w==} @@ -4163,8 +4157,6 @@ snapshots: '@fastify/busboy@2.1.1': {} - '@fontsource/fira-sans@5.1.1': {} - '@fontsource/ubuntu@5.1.0': {} '@iconify-json/mdi@1.2.1': diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 9ad5d9b..8a4a244 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -4,7 +4,6 @@ import "../styles/global.css"; import ubuntuRegularWoff2 from "@fontsource/ubuntu/files/ubuntu-latin-400-normal.woff2?url"; import ubuntuBoldWoff2 from "@fontsource/ubuntu/files/ubuntu-latin-700-normal.woff2?url"; -import "@fontsource/fira-sans"; interface Props { title: string; diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..ed16c92 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,15 @@ +--- +import HeaderLink from "./HeaderLink.astro"; +--- + +
+ +
diff --git a/src/components/NavMenu.astro b/src/components/NavMenu.astro deleted file mode 100644 index eeb971c..0000000 --- a/src/components/NavMenu.astro +++ /dev/null @@ -1,83 +0,0 @@ ---- -import { Icon } from "astro-icon/components"; -import HeaderLink from "./HeaderLink.astro"; ---- - - - - -
-
- Home - Blog - Projects - Publications - Contact -
-
- - diff --git a/src/components/verification/DataTable.astro b/src/components/verification/DataTable.astro index b5a4c7d..58972cb 100644 --- a/src/components/verification/DataTable.astro +++ b/src/components/verification/DataTable.astro @@ -108,7 +108,7 @@ const { cv } = Astro.props; -
+

1. Verify SHA256 Hash @@ -136,36 +136,27 @@ const { cv } = Astro.props; >
  • - Import the key into your keyring with
    - gpg --import ~/Downloads/pub.key -
  • + Import the key into your keyring with +
    gpg --import ~/Downloads/pub.key
    -
  • - Download the above PGP signature by clicking -
  • -
  • - Run the following command:
    - gpg --verify signature.asc cv.pdf +
  • + Download the above PGP signature by clicking +
  • +
  • Run the following command:
  • +
    gpg --verify signature.asc cv.pdf
    +

    + If the verification is successful, GPG will indicate so. +

    gpg: Good signature from "Alexander Daichendt <alexander@daichendt.one>" [ultimate]
    +

    -

    - If the verification is successful, GPG will indicate so.
    - gpg: Good signature from "Alexander Daichendt - <alexander@daichendt.one>" [ultimate] -

    diff --git a/src/content/blog/cv-verification.mdx b/src/content/blog/cv-verification.mdx index 8d4c67b..5720055 100644 --- a/src/content/blog/cv-verification.mdx +++ b/src/content/blog/cv-verification.mdx @@ -23,12 +23,7 @@ Pretty cool gimmick! This effectively binds the CV document to my personal websi On this astro page, I have a route `/admin` which allows me to create a new verification id. This endpoint is secured with Cloudflare access. -
    +
    ![Backend](../../assets/cv_backend.png)
    @@ -105,12 +100,7 @@ if __name__ == "__main__": Finally, I enter the generated sha256 hash and the PGP signature into the second page of the create verification workflow. -
    +
    ![Backend Second Step](../../assets/cv_backend2.png)
    diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index f36ae67..4b0293b 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,6 +1,6 @@ --- import BaseHead from "../components/BaseHead.astro"; -import NavMenu from "../components/NavMenu.astro"; +import Header from "../components/Header.astro"; import Footer from "../components/Footer.astro"; import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"; import DarkModeToggle from "../components/DarkModeToggle.astro"; @@ -34,17 +34,16 @@ const { title = SITE_TITLE, description = SITE_DESCRIPTION } = Astro.props; -
    +
    -

    +

    {SITE_TITLE}

    -
    - - -
    +
    +
    +
    @@ -61,7 +60,7 @@ const { title = SITE_TITLE, description = SITE_DESCRIPTION } = Astro.props;
    - +
    diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 54919ff..6f72050 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -4,29 +4,30 @@ import FormattedDate from "../../components/FormattedDate.astro"; import BaseLayout from "../../layouts/BaseLayout.astro"; const posts = (await getCollection("blog")).sort( - (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(), + (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(), ); --- -

    Blog

    -
    - -
    +
    + +
    diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 21dd7b1..663b14f 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -4,70 +4,68 @@ import { Icon } from "astro-icon/components"; --- -

    Contact

    +
    diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro index dae237a..c2d94c3 100644 --- a/src/pages/projects/index.astro +++ b/src/pages/projects/index.astro @@ -167,8 +167,6 @@ const getCardStyle = (company?: string) => { --- -

    Projects

    -

    Here are some of the projects I have worked on in the past. They are sorted by my personal rating of relevancy. Projects done for a company are marked diff --git a/src/styles/global.css b/src/styles/global.css index 43cfc1f..c6fe349 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -5,15 +5,12 @@ @layer base { h1 { @apply text-h1-mobile md:text-h1; - font-family: "Fira Sans", sans-serif; } h2 { @apply text-h2-mobile md:text-h2; - font-family: "Fira Sans", sans-serif; } h3 { @apply text-h3-mobile md:text-h3; - font-family: "Fira Sans", sans-serif; } h4 { @apply text-h4-mobile md:text-h4;