import React, { useState } from 'react'; import { Button } from './ui/button'; import { Input } from './ui/input'; import { Label } from './ui/label'; import { Card, CardContent } from './ui/card'; import { Checkbox } from './ui/checkbox'; import { BookOpen, Users, Target, Award, ArrowRight, Eye, EyeOff, User, Mail, Lock, Phone } from 'lucide-react'; import { navigateTo } from './Router'; export function SelfLearnerSignUp() { const [formData, setFormData] = useState({ fullName: '', email: '', password: '', phoneNumber: '' }); const [showPassword, setShowPassword] = useState(false); const [agreeToTerms, setAgreeToTerms] = useState(false); const [isLoading, setIsLoading] = useState(false); const handleInputChange = (field: string, value: string) => { setFormData(prev => ({ ...prev, [field]: value })); }; const handleSignUp = async (e: React.FormEvent) => { e.preventDefault(); if (!agreeToTerms) { alert('Please agree to the Terms of Service and Privacy Policy'); return; } setIsLoading(true); // Simulate registration setTimeout(() => { setIsLoading(false); // Navigate to dashboard or success page navigateTo('https://klc-learner.wdiprojects.com'); }, 2000); }; const transformationFeatures = [ { icon: BookOpen, title: 'World-Class Content', description: 'Access premium leadership courses from industry experts' }, { icon: Users, title: 'Global Community', description: 'Join 25,000+ leaders from top organizations worldwide' }, { icon: Award, title: 'Recognized Credentials', description: 'Earn certificates valued by Fortune 500 companies' }, { icon: Target, title: 'Personalized Path', description: 'Get customized learning recommendations based on your goals' } ]; const learningFeatures = [ { icon: BookOpen, title: 'World-Class Content', description: 'Access cutting-edge leadership programs from industry experts and renowned faculty' }, { icon: Users, title: 'Global Network', description: 'Connect with ambitious leaders worldwide and build lasting professional relationships' }, { icon: Target, title: 'Personalized Learning', description: 'Get customized learning paths based on your goals and leadership style' }, { icon: Award, title: 'Recognized Credentials', description: 'Earn certificates and credentials that advance your career and open new opportunities' } ]; return (
{/* Main Content */}
{/* Two Column Layout */}
{/* Left Column - Content */}
{/* Leadership Transformation Section */}
⭐ Join KLC Community

Start Your Leadership Transformation

Join thousands of professionals who have accelerated their careers through KLC's proven leadership development programs. Your journey to becoming an exceptional leader starts here.

{/* Your Learning Experience Awaits */}

Your Learning Experience Awaits

{learningFeatures.map((feature, index) => (

{feature.title}

{feature.description}

))}
{/* Right Column - Sign Up Form */}
{/* Form Header */}

Create Your Account

Join KLC and start your leadership journey

{/* Sign Up Form */}
{/* Full Name */}
handleInputChange('fullName', e.target.value)} placeholder="Your full name" required className="h-12 pl-12" style={{ fontSize: 'var(--font-body)', fontFamily: 'var(--font-family-base)', backgroundColor: '#F3F3F5' }} />
{/* Email Address */}
handleInputChange('email', e.target.value)} placeholder="you@example.com" required className="h-12 pl-12" style={{ fontSize: 'var(--font-body)', fontFamily: 'var(--font-family-base)', backgroundColor: '#F3F3F5' }} />
{/* Password */}
handleInputChange('password', e.target.value)} placeholder="Create a strong password" required className="h-12 pl-12 pr-12" style={{ fontSize: 'var(--font-body)', fontFamily: 'var(--font-family-base)', backgroundColor: '#F3F3F5' }} />
{/* Phone Number (Optional) */}
handleInputChange('phoneNumber', e.target.value)} placeholder="+1 234 567 8900" className="h-12 pl-12" style={{ fontSize: 'var(--font-body)', fontFamily: 'var(--font-family-base)', backgroundColor: '#F3F3F5' }} />
{/* Terms and Conditions */}
{/* Create Account Button */}
{/* Sign In Link */}
Already have an account?{' '}
{/* Need Help Section - Separate Section Below */} {/*

Questions About Your Learning Journey?

Our learning advisors are here to help you choose the right programs and get the most out of your leadership development experience.

*/}
); }