diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 69c9a73..1c3d019 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -31,6 +31,9 @@ jobs: - name: Set build date run: echo 'BUILD_DATE="'$(date '+%Y-%m-%dT%H:%M:00')'"' > .env + - name: Generate content types + run: bun x astro sync + - name: Build run: bun run build diff --git a/src/components/Header.astro b/src/components/Header.astro index f345752..40988ad 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -70,7 +70,7 @@ const t = useTranslations(lang); } header { - height: 8svh; + height: 6svh; margin: 0; padding: 0 1em; background: rgb(var(--bg-color-accent)); @@ -92,7 +92,7 @@ const t = useTranslations(lang); justify-content: space-between; } nav a { - padding: 1em 0.5em; + padding: 0.5em; color: var(--color-text); /*border-bottom: 4px solid transparent;*/ text-decoration: none; @@ -109,5 +109,12 @@ const t = useTranslations(lang); .social-links { display: none; } + nav { + flex-wrap: wrap; + gap: 0.5em; + } + nav a { + padding: 0.25em; + } }