diff --git a/package.json b/package.json index 5adfcd7..9381274 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "@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 cdc694e..d44cd72 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,6 +29,9 @@ 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 @@ -961,6 +964,9 @@ 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==} @@ -4157,6 +4163,8 @@ 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 8a4a244..9ad5d9b 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -4,6 +4,7 @@ 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 deleted file mode 100644 index ed16c92..0000000 --- a/src/components/Header.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import HeaderLink from "./HeaderLink.astro"; ---- - -
- -
diff --git a/src/components/NavMenu.astro b/src/components/NavMenu.astro new file mode 100644 index 0000000..eeb971c --- /dev/null +++ b/src/components/NavMenu.astro @@ -0,0 +1,83 @@ +--- +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 58972cb..b5a4c7d 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,27 +136,36 @@ const { cv } = Astro.props; >
  • - Import the key into your keyring with -
    gpg --import ~/Downloads/pub.key
    - -
  • - Download the above PGP signature by clicking -
  • -
  • Run the following command:
  • + 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
  • -
    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 5720055..8d4c67b 100644 --- a/src/content/blog/cv-verification.mdx +++ b/src/content/blog/cv-verification.mdx @@ -23,7 +23,12 @@ 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)
    @@ -100,7 +105,12 @@ 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 4b0293b..f36ae67 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,6 +1,6 @@ --- import BaseHead from "../components/BaseHead.astro"; -import Header from "../components/Header.astro"; +import NavMenu from "../components/NavMenu.astro"; import Footer from "../components/Footer.astro"; import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"; import DarkModeToggle from "../components/DarkModeToggle.astro"; @@ -34,16 +34,17 @@ const { title = SITE_TITLE, description = SITE_DESCRIPTION } = Astro.props; -
    +
    -

    +

    {SITE_TITLE}

    - +
    + + +
    -
    -
    @@ -60,7 +61,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 6f72050..54919ff 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -4,30 +4,29 @@ 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 663b14f..21dd7b1 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -4,68 +4,70 @@ import { Icon } from "astro-icon/components"; --- - diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro index c2d94c3..dae237a 100644 --- a/src/pages/projects/index.astro +++ b/src/pages/projects/index.astro @@ -167,6 +167,8 @@ 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 c6fe349..43cfc1f 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -5,12 +5,15 @@ @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;