"use client"; import { useEffect, useState } from "react"; import Link from "next/link"; import Image from "next/image"; import { notFound } from "next/navigation"; import useRoomMeeting from "../../[roomName]/useRoomMeeting"; import dynamic from "next/dynamic"; const WherebyEmbed = dynamic(() => import("../../lib/./WherebyWebinarEmbed"), { ssr: false, }); import { FormEvent } from "react"; import { Input, FormControl } from "@chakra-ui/react"; import { VStack } from "@chakra-ui/react"; import { Alert } from "@chakra-ui/react"; import { Text } 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: { title: string; }; }; export type Webinar = { title: string; startsAt: string; endsAt: string; }; enum WebinarStatus { Upcoming = "upcoming", Live = "live", Ended = "ended", } const ROOM_NAME = "webinar"; const WEBINARS: Webinar[] = [ { title: "ai-operational-assistant", startsAt: "2025-02-05T17:00:00Z", // 12pm EST endsAt: "2025-02-05T18:00:00Z", }, { title: "ai-operational-assistant-dry-run", startsAt: "2025-02-05T02:30:00Z", endsAt: "2025-02-05T03:10:00Z", }, ]; export default function WebinarPage(details: WebinarDetails) { const title = details.params.title; const webinar = WEBINARS.find((webinar) => webinar.title === title); if (!webinar) { return notFound(); } const startDate = new Date(Date.parse(webinar.startsAt)); const endDate = new Date(Date.parse(webinar.endsAt)); const meeting = useRoomMeeting(ROOM_NAME); const roomUrl = meeting?.response?.host_room_url ? meeting?.response?.host_room_url : meeting?.response?.room_url; const [status, setStatus] = useState(WebinarStatus.Ended); const [countdown, setCountdown] = useState({ days: 0, hours: 0, minutes: 0, seconds: 0, }); useEffect(() => { const updateCountdown = () => { const now = new Date(); if (now < startDate) { setStatus(WebinarStatus.Upcoming); const difference = startDate.getTime() - now.getTime(); setCountdown({ days: Math.floor(difference / (1000 * 60 * 60 * 24)), hours: Math.floor((difference / (1000 * 60 * 60)) % 24), minutes: Math.floor((difference / 1000 / 60) % 60), seconds: Math.floor((difference / 1000) % 60), }); } else if (now < endDate) { setStatus(WebinarStatus.Live); } }; updateCountdown(); const timer = setInterval(updateCountdown, 1000); 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); } }; const handleLeave = () => { const now = new Date(); if (now > endDate) { window.location.reload(); } }; 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 (
Monadical Logo
FREE WEBINAR

Building AI-Powered
Operational Assistants

From Simple Automation to Strategic Implementation

Wednesday, February 5th @ 12pm EST

{[ { value: countdown.days, label: "DAYS" }, { value: countdown.hours, label: "HOURS" }, { value: countdown.minutes, label: "MINUTES" }, { value: countdown.seconds, label: "SECONDS" }, ].map((item, index) => (
{item.value}
{item.label}
))}
RSVP HERE

AI is ready to deliver value to your organization, but it's not ready to act autonomously. The highest-value applications of AI today are assistants, which significantly increase the efficiency of workers in operational roles. Software companies are reporting 30% improvements in developer output across the board, and there's no reason AI can't deliver the same kind of value to workers in other roles.

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

What We'll 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}
  • ))}

Who Should Attend:

    {[ "Operations leaders looking to reduce manual work", "Technical decision makers evaluating AI solutions", "Teams concerned about data security and control", ].map((item, index) => (
  • {item}
  • ))}

Plan to walk away with a clear understanding of how to implement AI solutions in your organization, with live demos of actual implementations and plenty of time for Q&A to address your specific challenges.

RSVP HERE
POWERED BY:
Reflector

Reflector

Capture the signal, not the noise

); }