From 22d5b50f7313aa12a121599ba270f303e862bbe1 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 15 Jul 2025 21:29:03 -0500 Subject: [PATCH] formatting and layout --- src/components/Background.astro | 2 +- src/components/Footer.astro | 5 ++--- src/layouts/BlogPost.astro | 2 +- src/layouts/Layout.astro | 2 +- src/layouts/TransitionLayout.astro | 25 ----------------------- src/pages/about.astro | 14 ++++--------- src/pages/blog/[...slug].astro | 5 ----- src/pages/blog/index.astro | 19 +++++------------ src/pages/index.astro | 17 ++++++++------- src/pages/topics/[tag].astro | 5 +---- src/pages/topics/index.astro | 6 +----- src/styles/global.css | 3 +-- src/{components => utils}/DynamicIcon.tsx | 2 +- 13 files changed, 26 insertions(+), 81 deletions(-) delete mode 100644 src/layouts/TransitionLayout.astro rename src/{components => utils}/DynamicIcon.tsx (92%) diff --git a/src/components/Background.astro b/src/components/Background.astro index b3ac9bc..b09228d 100644 --- a/src/components/Background.astro +++ b/src/components/Background.astro @@ -1,5 +1,5 @@ --- -// Background.astro - Dot pattern and ambient glow background with smooth theme transitions + ---
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 50be5da..a8cc6e8 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -8,10 +8,10 @@ const links = await directus.request(readSingleton('links')); const currentYear = new Date().getFullYear(); const navLinks = [ - { text: 'About', href: '/about' }, + { text: 'Home', href: '/' }, { text: 'Blog', href: '/blog' }, { text: 'Topics', href: '/topics' }, - { text: 'RSS', href: '/rss.xml' }, + { text: 'About', href: '/about' }, ]; const socialLinks = [ @@ -53,7 +53,6 @@ const socialLinks = [
-
diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index bb82439..1777fbd 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -86,7 +86,7 @@ try { diff --git a/src/pages/about.astro b/src/pages/about.astro index c954c90..f9d7f38 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,6 +1,6 @@ --- import BaseLayout from '../layouts/BaseLayout.astro'; -import DynamicIcon from '../components/DynamicIcon.tsx'; +import DynamicIcon from '../utils/DynamicIcon.tsx'; import directus from '../../lib/directus'; import { readSingleton, readItems } from '@directus/sdk'; @@ -106,7 +106,7 @@ const skills = await directus.request(
- +