From 3216d79bd0c43adefff8d125053a698132b98408 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sun, 7 Apr 2024 22:43:13 +0200 Subject: [PATCH] feat: remove layout shift --- .github/workflows/default.yaml | 2 +- src/components/Nav.astro | 14 +++++--------- src/layouts/Layout.astro | 28 ++++------------------------ src/layouts/global.css | 12 ++++++++++++ src/layouts/theme.css | 13 +++++++++---- 5 files changed, 31 insertions(+), 38 deletions(-) diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index ba03d00..819e0fd 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -70,6 +70,6 @@ jobs: - name: 🚀 Deploy Changed Files via rclone run: | - rclone sync --update --progress --stats-one-line ./dist/ sftp-remote:${REMOTE_DIR} --transfers 4 + rclone sync --update -v --progress --stats 5s --stats-one-line ./dist/ sftp-remote:${REMOTE_DIR} --transfers 4 env: REMOTE_DIR: ${{ vars.REMOTE_DIR }} diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 2bb1a58..0f820f4 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -30,15 +30,13 @@ const paths = [ ]; --- -