From 09b838819ba8c85168b702d5de36e0d2037dee09 Mon Sep 17 00:00:00 2001 From: Justin Deal Date: Sat, 3 May 2025 02:30:33 -0700 Subject: [PATCH] fix tag alignment --- src/components/ArticleSnippet.astro | 4 ++-- src/components/ProjectSnippet.astro | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ArticleSnippet.astro b/src/components/ArticleSnippet.astro index e41071b..a538a7f 100644 --- a/src/components/ArticleSnippet.astro +++ b/src/components/ArticleSnippet.astro @@ -27,9 +27,9 @@ const { title, description, url, duration, timestamp, tags } = Astro.props;

{description}

-
+
{tags?.map((tag: string) => ( - + {tag} ))} diff --git a/src/components/ProjectSnippet.astro b/src/components/ProjectSnippet.astro index 7c80103..7d3233c 100644 --- a/src/components/ProjectSnippet.astro +++ b/src/components/ProjectSnippet.astro @@ -38,10 +38,10 @@ const { title, description, url, githubUrl, liveUrl, tags } = Astro.props;

{description}

-
+
{ tags.map((tag) => ( - + {tag} ))