From bcfdd653e73dbad97b961780584680d7f740fe54 Mon Sep 17 00:00:00 2001 From: navpenum Date: Tue, 8 Oct 2024 22:15:03 +0530 Subject: [PATCH 1/2] Removed Sign up today banner when the user is logged in --- app/(app)/page.tsx | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/app/(app)/page.tsx b/app/(app)/page.tsx index 01b7641a..e0dc905b 100644 --- a/app/(app)/page.tsx +++ b/app/(app)/page.tsx @@ -17,26 +17,28 @@ const Home = async () => { <>
-
-
-

- Sign up today to become a - writer and get a free{" "} - invite to our Discord community. -

-
- - Get started - - - Learn more - + {session == null && ( +
+
+

+ Sign up today to become a + writer and get a free{" "} + invite to our Discord community. +

+
+ + Get started + + + Learn more + +
-
-
+ + )}
From 78bff2aa75e98d1c56d595dcb55f054826440204 Mon Sep 17 00:00:00 2001 From: navpenum Date: Wed, 9 Oct 2024 00:19:06 +0530 Subject: [PATCH 2/2] fixed the prettier issue --- app/(app)/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/(app)/page.tsx b/app/(app)/page.tsx index e0dc905b..b08160e0 100644 --- a/app/(app)/page.tsx +++ b/app/(app)/page.tsx @@ -21,8 +21,8 @@ const Home = async () => {

- Sign up today to become a - writer and get a free{" "} + Sign up today to become + a writer and get a free{" "} invite to our Discord community.