From 81a3a5c6629532aebfa3c15767b3d3ca8e86027f Mon Sep 17 00:00:00 2001 From: Graham Hall Date: Sun, 31 Aug 2025 11:35:32 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Footer=20and=20blog=20page=20des?= =?UTF-8?q?ign=20tweaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Footer.astro | 41 ++++++++++++++++++++++++++------ src/components/PostPreview.astro | 11 +++++++++ src/global.css | 14 ----------- src/pages/blog/index.astro | 4 ++-- 4 files changed, 47 insertions(+), 23 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ad7045c..34791ad 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,30 +1,57 @@ --- import RssIcon from '../assets/svg/rss.svg'; +import MastodonIcon from '../assets/svg/mastodon.svg'; + const year = new Date().getFullYear(); --- diff --git a/src/components/PostPreview.astro b/src/components/PostPreview.astro index eb21989..46ef391 100644 --- a/src/components/PostPreview.astro +++ b/src/components/PostPreview.astro @@ -23,3 +23,14 @@ const { data, slug } = post; + + diff --git a/src/global.css b/src/global.css index 492f29d..18ebae0 100644 --- a/src/global.css +++ b/src/global.css @@ -82,14 +82,6 @@ article img { display: inline; } -.blog-header { - margin: 1rem 0; -} - -.blog-header > h2 { - margin: 0; -} - blockquote { border-left: 4px solid; border-color: var(--text); @@ -118,9 +110,3 @@ kbd { font-size: 0.85rem; white-space: nowrap; } - -@media (max-width: 590px) { - header { - flex-direction: column; - } -} diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 2961021..d33bdd1 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -20,7 +20,7 @@ const posts = await getCollection('blog'); } { posts.length < 6 ? null : ( -