diff --git a/www/app/webinars/[title]/page.tsx b/www/app/webinars/[title]/page.tsx index f8642bb1..977d32d8 100644 --- a/www/app/webinars/[title]/page.tsx +++ b/www/app/webinars/[title]/page.tsx @@ -8,6 +8,27 @@ import dynamic from "next/dynamic"; const WherebyEmbed = dynamic(() => import("../../lib/WherebyEmbed"), { ssr: false, }); +import { FormEvent } from "react"; +import { Input, FormControl } from "@chakra-ui/react"; +import { VStack } from "@chakra-ui/react"; +import { Alert, AlertIcon } from "@chakra-ui/react"; +import { Text } from "@chakra-ui/react"; +import { Button } from "@chakra-ui/react"; + +type FormData = { + name: string; + email: string; + company: string; + role: string; +}; + +const FORM_ID = "1hhtO6x9XacRwSZS-HRBLN9Ca_7iGZVpNX3_EC4I1uzc"; +const FORM_FIELDS = { + name: "entry.1500809875", + email: "entry.1359095250", + company: "entry.1851914159", + role: "entry.1022377935", +}; export type WebinarDetails = { params: { @@ -88,10 +109,239 @@ export default function WebinarPage(details: WebinarDetails) { return () => clearInterval(timer); }, [webinar]); + const [formSubmitted, setFormSubmitted] = useState(false); + const [formData, setFormData] = useState({ + name: "", + email: "", + company: "", + role: "", + }); + + const handleSubmit = async (e: FormEvent) => { + e.preventDefault(); + + try { + const submitUrl = `https://docs.google.com/forms/d/${FORM_ID}/formResponse`; + const data = Object.entries(FORM_FIELDS) + .map(([key, value]) => { + return `${value}=${formData[key as keyof FormData]}`; + }) + .join("&"); + const response = await fetch(submitUrl, { + method: "POST", + mode: "no-cors", + headers: { + "Content-Type": "application/x-www-form-urlencoded", + }, + body: data, + }); + + setFormSubmitted(true); + } catch (error) { + console.error("Error submitting form:", error); + } + }; + if (status === WebinarStatus.Live) { return <>{roomUrl && }; } + if (status === WebinarStatus.Ended) { + return ( +
+
+ + Monadical Logo + +
+ FREE RECORDING +
+ +

+ Building AI-Powered +
+ Operational Assistants +

+ +

+ From Simple Automation to Strategic Implementation +

+ + Webinar Preview + +
+ + +
+

+ The hype around Al agents might be a little premature. But + operational assistants are very real, available today, and can + unlock your team to do their best work. +

+

+ In this session,{" "} + + Monadical + {" "} + cofounder Max McCrea dives into what operational assistants are + and how you can implement them in your organization to deliver + real, tangible value. +

+
+ +
+

What We Cover:

+
    + {[ + "What an AI operational assistant is (and isn't).", + "Example use cases for how they can be implemented across your organization.", + "Key security and design considerations to avoid sharing sensitive data with outside platforms.", + "Live demos showing both entry-level and advanced implementations.", + "How you can start implementing them to immediately unlock value.", + ].map((item, index) => ( +
  • + {item} +
  • + ))} +
+
+ +

+ You'll walk away with a clear understanding of how to implement Al + solutions in your organization, with several demos of actual + implementations. +

+ +
+

+ To Watch This Webinar, Fill Out the Brief Form Below: +

+ + {formSubmitted ? ( + + + Thanks for signing up! The webinar recording will be ready + soon, and we'll email you as soon as it's available. Stay + tuned! + + + ) : ( +
+ + + + setFormData({ ...formData, name: e.target.value }) + } + /> + + + + setFormData({ ...formData, email: e.target.value }) + } + /> + + + setFormData({ ...formData, company: e.target.value }) + } + /> + + setFormData({ ...formData, role: e.target.value }) + } + /> + + +
+ )} +
+
+
+ POWERED BY: +
+ + Reflector +
+

+ Reflector +

+

+ Capture the signal, not the noise +

+
+ +
+
+
+ ); + } + return (
diff --git a/www/public/webinar-preview.png b/www/public/webinar-preview.png new file mode 100644 index 00000000..83469552 Binary files /dev/null and b/www/public/webinar-preview.png differ