diff --git a/app/about/book-meeting/page.tsx b/app/about/book-meeting/page.tsx index 3d1629a88..72c519d3d 100644 --- a/app/about/book-meeting/page.tsx +++ b/app/about/book-meeting/page.tsx @@ -1,31 +1,22 @@ -"use client"; + +import CalendlyWidget from "@/components/Book"; import { Metadata } from "next"; -import { useEffect } from "react"; + export const metadata: Metadata = { title: "Book meeting", description: "Let's make together.", }; -const CalendlyWidget = () => { - useEffect(() => { - const script = document.createElement("script"); - script.src = "https://assets.calendly.com/assets/external/widget.js"; - script.async = true; - document.body.appendChild(script); - - return () => { - document.body.removeChild(script); - }; - }, []); - +const book = () => { + + return (
+ + >