From caca6390c99616e3f1479036ece701919874b415 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 5 Aug 2025 23:00:03 +0000 Subject: [PATCH] Enhance user type selection with better animations cgen-9d0beb2c53bc4dca8c5300d66912068c --- .../onboarding/UserTypeSelection.tsx | 37 ++++++++++++------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/client/components/onboarding/UserTypeSelection.tsx b/client/components/onboarding/UserTypeSelection.tsx index 78854ef0..d6a8b290 100644 --- a/client/components/onboarding/UserTypeSelection.tsx +++ b/client/components/onboarding/UserTypeSelection.tsx @@ -74,45 +74,54 @@ export default function UserTypeSelection({ data, updateData, nextStep }: UserTy return (
-
+

Choose the option that best describes your relationship with AeThex

- {userTypes.map((type) => { + {userTypes.map((type, index) => { const Icon = type.icon; const isSelected = data.userType === type.id; - + return ( - handleSelectType(type.id)} >
-
+
- {type.title} + + {type.title} +
- + {type.description}
    - {type.benefits.map((benefit, index) => ( -
  • - + {type.benefits.map((benefit, benefitIndex) => ( +
  • + {benefit}
  • ))} @@ -123,7 +132,7 @@ export default function UserTypeSelection({ data, updateData, nextStep }: UserTy })}
-
+

Don't worry - you can always change your preferences later or access multiple areas of our platform.