From 4bcf9951d772bea93da10f77c331aff7d71676bc Mon Sep 17 00:00:00 2001 From: Emmanuel-Develops Date: Wed, 18 Oct 2023 18:04:26 +0100 Subject: [PATCH] fix: spacing fixes --- src/app/components/client/homepage.tsx | 12 +++++++----- src/app/components/server/post.tsx | 2 +- src/app/layout.tsx | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/app/components/client/homepage.tsx b/src/app/components/client/homepage.tsx index 8bebf6f55..03fbe30d8 100644 --- a/src/app/components/client/homepage.tsx +++ b/src/app/components/client/homepage.tsx @@ -97,14 +97,16 @@ const Homepage = ({ return (
-

Your daily summary

-

{addSpaceAfterPeriods(data.header_summary)}

-
+
+

Your daily summary

+

{addSpaceAfterPeriods(data.header_summary)}

+
+
-

Active Discussions 🔥

+

Active Discussions 🔥

{homepageData.active_posts.map((entry) => ( @@ -112,7 +114,7 @@ const Homepage = ({
-

All Activity

+

All Activity

{memoizedBatches?.map((entry, idx) => ( diff --git a/src/app/components/server/post.tsx b/src/app/components/server/post.tsx index 76b351f21..9e45a8f44 100644 --- a/src/app/components/server/post.tsx +++ b/src/app/components/server/post.tsx @@ -25,7 +25,7 @@ const Post = ({entry, isActivePost}: {entry: HomepageEntryData; isActivePost: bo ) : (

Posted {publishedAtDateDisplay}

)} -
+

Authored by

diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9234fe989..e8ecf4290 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -37,9 +37,9 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - - -

+ + +