diff --git a/packages/app/.env.local.example b/packages/app/.env.local.example index 4d090ab..03f1a70 100644 --- a/packages/app/.env.local.example +++ b/packages/app/.env.local.example @@ -4,8 +4,10 @@ NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_... CLERK_SECRET_KEY=sk_test_... NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up -NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/workspaces -NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding +# Force redirect after OAuth (GitHub, Google) — overrides any redirect_url param +# "Force" always wins; "Fallback" only fires when no redirect_url param exists. +NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL=/workspaces +NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL=/onboarding # ── Supabase ────────────────────────────────────────────────────────────────── # https://supabase.com/dashboard → Project Settings → API diff --git a/packages/app/src/app/layout.tsx b/packages/app/src/app/layout.tsx index c309218..5c9139a 100644 --- a/packages/app/src/app/layout.tsx +++ b/packages/app/src/app/layout.tsx @@ -12,7 +12,13 @@ export default function RootLayout({ children }: { children: ReactNode }) { return (
-- {project.app_url} -
- )} - - {project.description && ( -- {project.description} -
- )} - -- Created {new Date(ws.created_at).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })} -
- -+ {appUrl} +
+ )} + + {description && ( ++ {description} +
+ )} + ++ Created {new Date(createdAt).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })} +
+ +