import React, { useMemo, useState } from "react"; import { motion } from "framer-motion"; import { Card, CardContent } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Mail, Instagram, Facebook, Linkedin, Youtube, ExternalLink, CheckCircle2, } from "lucide-react"; export default function FightToEndLandingPage() { const [email, setEmail] = useState(""); const [submitted, setSubmitted] = useState(false); const config = useMemo( () => ({ titleTop: "WE ARE BACK", subtitle: "Fight To End returns November 19, 2026. Join the list for updates, announcements, and early access.", moreInfoUrl: "https://fight-to-end-london-2026.raiselysite.com/", // YouTube background video youtubeVideoId: "QPiBostkKGk", socials: [ { label: "Instagram", href: "https://www.instagram.com/fighttoend.ldn/", icon: Instagram, }, { label: "Facebook", href: "https://www.facebook.com/profile.php?id=61590487610566", icon: Facebook, }, { label: "LinkedIn", href: "https://www.linkedin.com/company/fighttoendldn/", icon: Linkedin, }, { label: "YouTube", href: "https://www.youtube.com/@fighttoendlondon2019", icon: Youtube, }, { label: "X", href: "https://x.com/FightToEndLdn", icon: ExternalLink, }, ], consentText: "I agree to receive email updates from Fight To End about the event, announcements, and related campaigns. I understand I can unsubscribe at any time.", formAction: "", formMethod: "POST", }), [] ); const handleDemoSubmit = (e) => { if (config.formAction) return; e.preventDefault(); if (!email) return; setSubmitted(true); }; const youtubeEmbedUrl = `https://www.youtube.com/embed/${config.youtubeVideoId}?autoplay=1&mute=1&controls=0&loop=1&playlist=${config.youtubeVideoId}&playsinline=1&rel=0&modestbranding=1&showinfo=0&enablejsapi=1`; return (