diff --git a/app/components/NextAuthComponent.tsx b/app/components/NextAuthComponent.tsx index ca8d7465..19f2debb 100644 --- a/app/components/NextAuthComponent.tsx +++ b/app/components/NextAuthComponent.tsx @@ -60,11 +60,21 @@ function NextAuthForm() { } }; + // Detect new-vs-returning purely from local search params; we + // don't have a session at this render path, but the homepage + // sends "Get started" links with `?new=1` and "Sign in" links + // without it. Fall back to neutral copy that works for both. + const isNewUser = searchParams.get("new") === "1"; + const title = isNewUser ? "Create your account" : "Sign in or sign up"; + const subtitle = isNewUser + ? "Continue with Google to set up your Vibn workspace." + : "Continue with Google. New here? An account is created automatically on first sign-in."; + return (
-

Welcome back

-

Sign in with Google to open your workspace.

+

{title}

+

{subtitle}

{errorHint && (
- + @@ -505,7 +505,7 @@ export function JustineHomePage() {

Thousands of ideas never make it past a spreadsheet. Yours doesn't have to be one of them.

- + diff --git a/marketing/components/justine/JustineNav.tsx b/marketing/components/justine/JustineNav.tsx index 04f0ceef..fdb856b7 100644 --- a/marketing/components/justine/JustineNav.tsx +++ b/marketing/components/justine/JustineNav.tsx @@ -66,7 +66,7 @@ export function JustineNav() { Log in - + @@ -103,7 +103,7 @@ export function JustineNav() { Log in
- +