From cbe0bf0649553d6e940ec23a061353822ae1d0be Mon Sep 17 00:00:00 2001 From: Md Kaif Ansari Date: Sun, 5 Oct 2025 23:21:21 +0530 Subject: [PATCH] chore: code format --- src/app/page.tsx | 74 +++++++++++++----------------------------------- 1 file changed, 20 insertions(+), 54 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b430edd..36b2539 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,9 +20,7 @@ export default function Home() { } if (data && data.length > 0) { - const hasLinkedIn = data.some( - (provider) => provider.provider.toLowerCase() === "linkedin" - ); + const hasLinkedIn = data.some((provider) => provider.provider.toLowerCase() === "linkedin"); if (!hasLinkedIn) { return true; } @@ -34,37 +32,27 @@ export default function Home() { const isConnected = !actionNeeded(); return ( -
+
{/* Welcome Section */} -
-

- {isConnected ? "Welcome Back to Post0" : "Welcome to Post0"} -

-

- {isConnected - ? "Your LinkedIn account is connected. Ready to automate your social media!" - : "Let's get you set up with automated social media posting."} -

+
+

{isConnected ? "Welcome Back to Post0" : "Welcome to Post0"}

+

{isConnected ? "Your LinkedIn account is connected. Ready to automate your social media!" : "Let's get you set up with automated social media posting."}

{/* Status & Action Card */} - +
{isConnected ? ( <> - - - Account Connected - + + Account Connected ) : ( <> - - - Setup Required - + + Setup Required )}
@@ -72,17 +60,12 @@ export default function Home() {
{actionNeeded() ? ( - ) : ( -
+