diff --git a/app/(root)/page.tsx b/app/(root)/page.tsx index a08f295..9493f86 100644 --- a/app/(root)/page.tsx +++ b/app/(root)/page.tsx @@ -11,41 +11,40 @@ export default async function Home({ }) { const query = (await searchParams).query; const params = { search: query || null }; - const session = await auth(); - - console.log(session?.id); - const { data: posts } = await sanityFetch({ query: STARTUPS_QUERY, params }); return ( <> -
-

+ {/* Hero Section */} +
+

Pitch Your Startup,
Connect With Entrepreneurs

-

- Submit Ideas, Vote on Pitches, and Get Noticed in Virtual - Competitions. +

+ Submit Ideas, Vote on Pitches, and Get Noticed in Virtual Competitions.

- +
-
-

- {query ? `Search results for "${query}"` : "All Startups"} + {/* Startups Section */} +

+

+ {query ? `Search results for "${query}"` : "Explore All Startups"}

-
    +
      {posts?.length > 0 ? ( posts.map((post: StartupTypeCard) => ( )) ) : ( -

      No startups found

      +

      + No startups found. +

      )}