import { Link } from 'react-router-dom'; import { Video, Shield, Users, Palette, ArrowRight, Zap, Globe } from 'lucide-react'; import { useLanguage } from '../contexts/LanguageContext'; export default function Home() { const { t } = useLanguage(); const features = [ { icon: Video, title: t('home.featureVideoTitle'), desc: t('home.featureVideoDesc'), }, { icon: Users, title: t('home.featureRoomsTitle'), desc: t('home.featureRoomsDesc'), }, { icon: Shield, title: t('home.featureUsersTitle'), desc: t('home.featureUsersDesc'), }, { icon: Palette, title: t('home.featureThemesTitle'), desc: t('home.featureThemesDesc'), }, { icon: Zap, title: t('home.featureRecordingsTitle'), desc: t('home.featureRecordingsDesc'), }, { icon: Globe, title: t('home.featureOpenSourceTitle'), desc: t('home.featureOpenSourceDesc'), }, ]; return (
{/* Hero Section */}
{/* Background gradient */}
{/* Navbar */} {/* Hero content */}
{t('home.poweredBy')}

{t('home.heroTitle')}{' '} {t('home.heroTitleHighlight')}

{t('home.heroSubtitle')}

{t('home.getStarted')} {t('auth.login')}
{/* Stats */}
{[ { value: '15+', label: t('home.statThemes') }, { value: '∞', label: t('home.statRooms') }, { value: '100%', label: t('home.statOpenSource') }, ].map(stat => (
{stat.value}
{stat.label}
))}
{/* Features Section */}

{t('home.features')}

{t('home.featuresSubtitle')}

{features.map((feature, idx) => (

{feature.title}

{feature.desc}

))}
{/* Footer */}
); }