'use client' import { motion } from 'motion/react' import { Brain } from 'lucide-react' import { Button } from '@/components/ui/button' import { useLanguage } from '@/lib/i18n' interface Props { onNext: () => void onSkip: () => void userName?: string | null } export function OnboardingStepWelcome({ onNext, onSkip, userName }: Props) { const { t } = useLanguage() const firstName = userName?.split(' ')[0] ?? null return (

{firstName ? t('onboarding.welcome_title_name', { name: firstName }) : t('onboarding.welcome_title')}

{t('onboarding.welcome_subtitle')}

) }