import React from 'react'; import { useLanguage } from '../i18n/LanguageContext'; interface LandingPageProps { onGetStarted: () => void; } const GoalIcon = () => ; const GenerateIcon = () => ; const ExecuteIcon = () => ; const FeatureCard: React.FC<{ icon: React.ReactElement; title: string; children: React.ReactNode }> = ({ icon, title, children }) => (
{icon}

{title}

{children}

); const LandingPage: React.FC = ({ onGetStarted }) => { const { t } = useLanguage(); return (
{/* Hero Section */}

Goal Planner

{t('heroTitle')}

{t('heroSubtitle')}

{/* Features Section */}

{t('howItWorks')}

{t('howItWorksSub')}

} title={t('step1Title')} > {t('step1Body')} } title={t('step2Title')} > {t('step2Body')} } title={t('step3Title')} > {t('step3Body')}
{/* Testimonials */}

{t('testimonialsTitle')}

{t('testimonial1')}

Goal Planner

{t('testimonial1Role')}

{t('testimonial2')}

Balaji

{t('testimonial2Role')}

{/* About Section */}

{t('missionTitle')}

{t('missionBody')}

{/* Final CTA */}

{t('ctaTitle')}

{t('ctaBody')}

); }; export default LandingPage;