diff --git a/docusaurus.config.ts b/docusaurus.config.ts index da14145d8..49fd05f40 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -13,15 +13,6 @@ export default { trailingSlash: true, tagline: "GraphQL platform engineered for scale", headTags: [ - { - tagName: "script", - attributes: { - id: "chatbotscript", - "data-accountid": "CZPG9aVdtk59Tjz4SMTu8w==", - "data-websiteid": "75VGI0NlBqessD4BQn2pFg==", - src: "https://app.robofy.ai/bot/js/common.js?v=" + new Date().getTime(), - }, - }, { tagName: "script", attributes: { diff --git a/src/components/home/IntroductionVideo/index.tsx b/src/components/home/IntroductionVideo/index.tsx index 70e2a429b..1b30fab05 100644 --- a/src/components/home/IntroductionVideo/index.tsx +++ b/src/components/home/IntroductionVideo/index.tsx @@ -1,10 +1,11 @@ -import React, {useRef} from "react" +import React, {useRef, useState} from "react" import {useCookieConsent} from "@site/src/utils/hooks/useCookieConsent" import "./style.css" const IntroductionVideo: React.FC = () => { const videoId = "1011521201" const videoRef = useRef(null) + const [isPlaying, setIsPlaying] = useState(false) const {getCookieConsent} = useCookieConsent() const cookieConsent = getCookieConsent() @@ -15,14 +16,25 @@ const IntroductionVideo: React.FC = () => { return (
-