From aa347c90476aef3deabd5f5fe9730a3a1e09f839 Mon Sep 17 00:00:00 2001 From: gagan Date: Wed, 24 Jun 2026 15:35:22 +0530 Subject: [PATCH] fix(onboarding): center step connector line & refresh welcome layout (#640) * fix(onboarding): center step connector line with circles The connector line was vertically centered against the circle+label column, landing below the circle's center. Absolutely position the label below the circle so the row height equals just the circle and items-center aligns the line to the circle's center. * feat(onboarding): refresh welcome layout & indicator spacing - Place logo inline to the right of the Welcome heading - Move the tagline badge below the heading with more breathing room - Add space between the step indicator and step content --- .../components/onboarding/step-indicator.tsx | 6 ++-- .../onboarding/steps/welcome-step.tsx | 32 ++++++++----------- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/apps/x/apps/renderer/src/components/onboarding/step-indicator.tsx b/apps/x/apps/renderer/src/components/onboarding/step-indicator.tsx index 6fae6dbb..8aa4e9e9 100644 --- a/apps/x/apps/renderer/src/components/onboarding/step-indicator.tsx +++ b/apps/x/apps/renderer/src/components/onboarding/step-indicator.tsx @@ -26,7 +26,7 @@ export function StepIndicator({ currentStep, path }: StepIndicatorProps) { const currentIndex = steps.findIndex(s => s.step === currentStep) return ( -
+
{steps.map((s, i) => ( {i > 0 && ( @@ -37,7 +37,7 @@ export function StepIndicator({ currentStep, path }: StepIndicatorProps) { )} /> )} -
+
diff --git a/apps/x/apps/renderer/src/components/onboarding/steps/welcome-step.tsx b/apps/x/apps/renderer/src/components/onboarding/steps/welcome-step.tsx index 9a660507..18dc7307 100644 --- a/apps/x/apps/renderer/src/components/onboarding/steps/welcome-step.tsx +++ b/apps/x/apps/renderer/src/components/onboarding/steps/welcome-step.tsx @@ -12,15 +12,21 @@ export function WelcomeStep({ state }: WelcomeStepProps) { return (
- {/* Logo with ambient glow */} + {/* Logo + main heading on the same level */} -
- Rowboat +

+ Welcome to Rowboat +

+ {/* Logo with ambient glow */} +
+
+ Rowboat +
{/* Tagline badge */} @@ -28,21 +34,11 @@ export function WelcomeStep({ state }: WelcomeStepProps) { initial={{ opacity: 0, y: 6 }} animate={{ opacity: 1, y: 0 }} transition={{ delay: 0.15 }} - className="inline-flex items-center gap-2 rounded-full border bg-muted/50 px-3.5 py-1.5 text-xs font-medium text-muted-foreground mb-6" + className="inline-flex items-center gap-2 rounded-full border bg-muted/50 px-3.5 py-1.5 text-xs font-medium text-muted-foreground mb-10" > Your AI coworker, with memory - - {/* Main heading */} - - Welcome to Rowboat -