From 61816ab1e39846af1c39d991507ef4a4ca2a6b3b Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 23 Sep 2024 15:54:06 +0100 Subject: [PATCH] Changelog page design --- src/components/Changelog/ChangelogItem.astro | 8 ++--- src/components/ChangelogImages.tsx | 2 +- src/pages/changelog.astro | 36 +++++++++++--------- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/src/components/Changelog/ChangelogItem.astro b/src/components/Changelog/ChangelogItem.astro index ca008a2ca..b7403f039 100644 --- a/src/components/Changelog/ChangelogItem.astro +++ b/src/components/Changelog/ChangelogItem.astro @@ -15,23 +15,23 @@ const formattedDate = DateTime.fromISO(frontmatter.date).toFormat( ); --- -
+
-
+
{formattedDate} - + {changelog.frontmatter.title}
{frontmatter.images && ( -
+ )} diff --git a/src/components/ChangelogImages.tsx b/src/components/ChangelogImages.tsx index 359efe313..4f2c6514b 100644 --- a/src/components/ChangelogImages.tsx +++ b/src/components/ChangelogImages.tsx @@ -65,7 +65,7 @@ const ChangelogImages: React.FC = ({ images }) => { /> -
+
{title}
diff --git a/src/pages/changelog.astro b/src/pages/changelog.astro index 7fa10baec..b7ca03dde 100644 --- a/src/pages/changelog.astro +++ b/src/pages/changelog.astro @@ -14,26 +14,30 @@ const allChangelogs = await getAllChangelogs(); noIndex={true} >
-
-
-

Changelog

-

We are constantly improving and updating roadmap.sh

+
+
+

+ Changelog +

+

+ We are constantly improving and updating roadmap.sh +

-
-
- - - { - allChangelogs.map((changelog) => ( - - )) - } +
+ + + { + allChangelogs.map((changelog) => ( + + )) + }