From 629403fddea28e86a7e3fc7f9a7cec5bc43ef027 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 10:17:39 -0500 Subject: [PATCH 1/4] feat: adjustment to spacing --- src/components/sections/RecentPostsSection.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sections/RecentPostsSection.astro b/src/components/sections/RecentPostsSection.astro index 488c5d0..abc7e6d 100644 --- a/src/components/sections/RecentPostsSection.astro +++ b/src/components/sections/RecentPostsSection.astro @@ -18,7 +18,7 @@ const global = await directus.request(readSingleton('site_global')); const { posts, title, subTitle } = Astro.props; --- -
+

{title} From d0f10986cddafffa7893a8751bd1a893dd672983 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 13 Mar 2026 10:18:04 -0500 Subject: [PATCH 2/4] feat: improve category cards spacing, overflow, and add fade effect to edges --- src/components/cards/CategoryCard.astro | 10 +++++----- src/styles/utilities.css | 12 ++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/cards/CategoryCard.astro b/src/components/cards/CategoryCard.astro index 53c8017..ef1983f 100644 --- a/src/components/cards/CategoryCard.astro +++ b/src/components/cards/CategoryCard.astro @@ -22,8 +22,8 @@ const { slug, title, description, logoLight, logoDark, count, publishDate } = As data-astro-prefetch >
-
-
+
+
-
-

+

+

{description}

-
+
Date: Fri, 13 Mar 2026 10:35:15 -0500 Subject: [PATCH 3/4] feat: remove astro features that are replaced by swup --- astro.config.mjs | 2 -- src/layouts/BaseLayout.astro | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 4d9885e..d29b12d 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -24,8 +24,6 @@ export default defineConfig({ } }, - prefetch: true, - integrations: [ react(), sitemap(), diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 9fe260c..aad12b4 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,5 +1,4 @@ --- -import { ClientRouter } from 'astro:transitions'; import { readSingleton } from '@directus/sdk'; import BaseHead from '@components/BaseHead.astro'; @@ -39,8 +38,7 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`; structuredData={structuredData} /> - - +
- - diff --git a/src/components/buttons/ThemeToggleButton.astro b/src/components/buttons/ThemeToggleButton.astro index 75dcf89..69b5b6a 100644 --- a/src/components/buttons/ThemeToggleButton.astro +++ b/src/components/buttons/ThemeToggleButton.astro @@ -49,100 +49,88 @@ (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches); document.documentElement.classList.toggle('dark', isDark); }; - applyTheme(); - - document.addEventListener('astro:after-swap', applyTheme); + + + +