import { OnboardingData } from "@/pages/Onboarding"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { CheckCircle, ArrowRight, Sparkles } from "lucide-react"; import { Link } from "react-router-dom"; interface WelcomeProps { data: OnboardingData; } export default function Welcome({ data }: WelcomeProps) { const getUserTypeLabel = () => { switch (data.userType) { case 'game-developer': return 'Game Developer'; case 'client': return 'Client'; case 'member': return 'Community Member'; case 'customer': return 'Customer'; default: return 'User'; } }; const getNextSteps = () => { switch (data.userType) { case 'game-developer': return [ { title: 'Access Development Tools', description: 'Get started with our development toolkit and resources' }, { title: 'Join Mentorship Program', description: 'Connect with experienced developers for guidance' }, { title: 'Explore Projects', description: 'Browse collaborative projects and opportunities' }, { title: 'Attend Workshops', description: 'Join our next technical workshop or boot camp' } ]; case 'client': return [ { title: 'Schedule Consultation', description: 'Book a free consultation to discuss your project' }, { title: 'View Our Portfolio', description: 'Explore our previous work and case studies' }, { title: 'Get Project Quote', description: 'Receive a detailed quote for your development needs' }, { title: 'Meet Your Team', description: 'Connect with our development specialists' } ]; case 'member': return [ { title: 'Explore Research', description: 'Access our latest research and publications' }, { title: 'Join Community', description: 'Connect with other members in our forums' }, { title: 'Upcoming Events', description: 'Register for community events and workshops' }, { title: 'Innovation Labs', description: 'Participate in cutting-edge research projects' } ]; case 'customer': return [ { title: 'Browse Products', description: 'Explore our games, tools, and digital products' }, { title: 'Join Beta Programs', description: 'Get early access to new releases and features' }, { title: 'Community Hub', description: 'Connect with other users and share feedback' }, { title: 'Support Center', description: 'Access documentation and customer support' } ]; default: return []; } }; const nextSteps = getNextSteps(); return (

Welcome to AeThex, {data.personalInfo.firstName}!

Your {getUserTypeLabel().toLowerCase()} account has been successfully set up

{/* User Summary */} Your AeThex Profile
Role:

{getUserTypeLabel()}

Experience:

{data.experience.level}

Skills:

{data.experience.skills.slice(0, 3).join(', ')}{data.experience.skills.length > 3 ? '...' : ''}

Primary Goals:

{data.interests.primaryGoals.length} selected

{/* Next Steps */}

What's Next?

{nextSteps.map((step, index) => ( {step.title} {step.description} ))}
{/* Action Buttons */}

Need help getting started? Contact our support team

); }