import { Link } from 'react-router-dom'; import { Video, Shield, Users, Palette, ArrowRight, Zap, Globe, FileText, Lock, Network, CalendarDays, Bell, KeyRound, BarChart2, Settings2 } from 'lucide-react'; import BrandLogo from '../components/BrandLogo'; import { useLanguage } from '../contexts/LanguageContext'; import { useBranding } from '../contexts/BrandingContext'; export default function Home() { const { t } = useLanguage(); const { registrationMode, imprintUrl, privacyUrl } = useBranding(); const isInviteOnly = registrationMode === 'invite'; const features = [ { icon: Video, title: t('home.featureVideoTitle'), desc: t('home.featureVideoDesc'), }, { icon: Users, title: t('home.featureRoomsTitle'), desc: t('home.featureRoomsDesc'), }, { icon: Zap, title: t('home.featureRecordingsTitle'), desc: t('home.featureRecordingsDesc'), }, { icon: Network, title: t('home.featureFederationTitle'), desc: t('home.featureFederationDesc'), }, { icon: CalendarDays, title: t('home.featureCalendarTitle'), desc: t('home.featureCalendarDesc'), }, { icon: Bell, title: t('home.featureNotificationsTitle'), desc: t('home.featureNotificationsDesc'), }, { icon: KeyRound, title: t('home.featureOAuthTitle'), desc: t('home.featureOAuthDesc'), }, { icon: BarChart2, title: t('home.featureAnalyticsTitle'), desc: t('home.featureAnalyticsDesc'), }, { icon: Palette, title: t('home.featureThemesTitle'), desc: t('home.featureThemesDesc'), }, ]; return (
{/* Hero Section */}
{/* Background gradient */}
{/* Navbar */} {/* Hero content */}
{t('home.madeFor')}

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

{t('home.heroSubtitle')}

{!isInviteOnly && ( {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 */}
); }