From b253342ec9805be105386d4fc25f20ead451c346 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Tue, 2 Dec 2025 22:17:04 +0100 Subject: [PATCH] Improve the onboarding flow (UI) --- apps/main/src/components/OnboardingModal.tsx | 326 ++++++++++--------- apps/main/src/locales/en/onboarding.json | 10 +- apps/main/src/locales/fr/onboarding.json | 12 +- packages/ui/src/components/input.tsx | 2 +- 4 files changed, 188 insertions(+), 162 deletions(-) diff --git a/apps/main/src/components/OnboardingModal.tsx b/apps/main/src/components/OnboardingModal.tsx index 9c108d1..42acb42 100644 --- a/apps/main/src/components/OnboardingModal.tsx +++ b/apps/main/src/components/OnboardingModal.tsx @@ -154,12 +154,12 @@ export function OnboardingModal({ open, onComplete }: OnboardingModalProps) { if (stepKey === "welcome") { return ( -
-
-
- +
+
+
+
-

+

{t("modal.steps.welcome.content.intro")}

@@ -169,44 +169,50 @@ export function OnboardingModal({ open, onComplete }: OnboardingModalProps) { if (stepKey === "profile") { return ( -
-
- +
+
+ setProfileType(value as ProfileType)} - className="space-y-3" + className="space-y-2.5 sm:space-y-3" >