From 6df0274c3a10a66e1ef1f2603c4e4d13e9476a13 Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Mon, 4 Mar 2024 06:27:43 +0100 Subject: [PATCH] fix(ui): enhance spacing and layout --- src/pages/blog.astro | 46 +++++++++++++++------------------- src/pages/blog/[...slug].astro | 3 +-- 2 files changed, 21 insertions(+), 28 deletions(-) diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 7fa695b..0bc3ac3 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -6,32 +6,26 @@ const allBlogposts = await getCollection('blog'); --- -
-
-
- Blog -
-
-
- { - allBlogposts.map((post) => ( - - )) - } -
+
+
+ Blog +
+
+
+ { + allBlogposts.map((post) => ( + + )) + }
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 6714b35..c13c58e 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -23,8 +23,7 @@ const { title } = entry.data; --- -
+

{title}