From 27b5e6a36b5676236c79b61e97ad6c9bd4885090 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 19 Jul 2025 22:34:07 -0500 Subject: [PATCH] change layout and animations to be more common with each other --- src/components/Background.astro | 4 +- src/components/Footer.astro | 12 +- src/components/FormattedDate.astro | 17 +- src/components/Navigation.astro | 11 +- src/components/TagList.astro | 17 +- src/layouts/BlogPost.astro | 79 ++- src/pages/404.astro | 44 -- src/pages/about.astro | 351 +++++------ src/pages/blog/[...slug].astro | 81 ++- src/pages/blog/index.astro | 795 ++++++++++++++++++++----- src/pages/index.astro | 136 +---- src/pages/{topics => tags}/[tag].astro | 207 +++---- src/pages/topics/index.astro | 629 ------------------- src/utils/DynamicIcon.tsx | 16 +- 14 files changed, 1124 insertions(+), 1275 deletions(-) rename src/pages/{topics => tags}/[tag].astro (69%) delete mode 100644 src/pages/topics/index.astro diff --git a/src/components/Background.astro b/src/components/Background.astro index cdb5113..0b6c4dc 100644 --- a/src/components/Background.astro +++ b/src/components/Background.astro @@ -55,13 +55,13 @@ /* Grid pattern for dots */ .bg-grid-pattern { background-size: 24px 24px; - background-image: radial-gradient(circle, rgba(0, 0, 0, 0.15) 1px, transparent 1px); + background-image: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1px, transparent 1px); transition: background-image 0.7s cubic-bezier(0.65, 0, 0.35, 1); } /* Dark mode version */ :global(.dark) .bg-grid-pattern { - background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px); + background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px); } /* Ambient glow animations */ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 63f2f84..1c43246 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -10,8 +10,8 @@ const currentYear = new Date().getFullYear(); const navLinks = [ { text: 'Home', href: '/' }, { text: 'Blog', href: '/blog' }, - { text: 'Topics', href: '/topics' }, { text: 'About', href: '/about' }, + { text: 'RSS', href: '/rss' }, ]; const socialLinks = [ @@ -60,17 +60,14 @@ const socialLinks = [
{global.initals} -
-
+
{link.text} -
diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index a8743df..c943ad2 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -10,7 +10,22 @@ const parsedDate = typeof date === 'string' ? new Date(date) : date; { parsedDate && ( -