From 4d06f34237c5783cebc2ab0dda2c98a26de1634e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 19 Sep 2023 15:42:55 +0100 Subject: [PATCH] preload/defer tweaks --- .github/workflows/ci.yml | 2 +- src/components/ThemeSwitch/index.astro | 2 +- src/components/layouts/Base/Head.astro | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9204ac7d..73f148ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,7 @@ jobs: name: dist-ubuntu-latest-18 path: dist.zip - name: unzip artifact - run: unzip ./dist.zip + run: unzip dist.zip - name: Deploy to S3 run: npm run deploy:s3 env: diff --git a/src/components/ThemeSwitch/index.astro b/src/components/ThemeSwitch/index.astro index 825480dc..b6c04853 100644 --- a/src/components/ThemeSwitch/index.astro +++ b/src/components/ThemeSwitch/index.astro @@ -20,4 +20,4 @@ import styles from './index.module.css' - + diff --git a/src/components/layouts/Base/Head.astro b/src/components/layouts/Base/Head.astro index e7c3ab58..33376b9a 100644 --- a/src/components/layouts/Base/Head.astro +++ b/src/components/layouts/Base/Head.astro @@ -105,7 +105,11 @@ const faviconSvg = await getImage({ src: faviconSvgSrc, format: 'svg' }) { typekitID && ( <> - +