diff --git a/src/app/(auth)/onboarding/page.tsx b/src/app/(auth)/onboarding/page.tsx index c525304..bf4c5db 100644 --- a/src/app/(auth)/onboarding/page.tsx +++ b/src/app/(auth)/onboarding/page.tsx @@ -22,7 +22,7 @@ import { SelectValue, } from '@/components/ui/select' import { toast } from 'sonner' -import { TagInput } from '@/components/shared/tag-input' +import { ExpertiseSelect } from '@/components/shared/expertise-select' import { User, Phone, @@ -202,15 +202,11 @@ export default function OnboardingPage() { -
- - -
+
+ )} + + ) + })} +
+ )} + + {/* Grid of options */} +
+ {EXPERTISE_OPTIONS.map((option) => { + const isSelected = value.includes(option.name) + const isDisabled = disabled || (!isSelected && value.length >= maxTags) + + return ( + + ) + })} +
+ + {/* Counter */} +

+ {value.length} of {maxTags} selected +

+ + ) +}