diff --git a/front/components/home/content/Product/BlogSection.tsx b/front/components/home/content/Product/BlogSection.tsx index b60d2612c708..5b1c896cc053 100644 --- a/front/components/home/content/Product/BlogSection.tsx +++ b/front/components/home/content/Product/BlogSection.tsx @@ -26,8 +26,6 @@ export function BlogSection({

- Dust in Action: -
Customer Stories

diff --git a/front/components/home/content/Product/IntroSection.tsx b/front/components/home/content/Product/IntroSection.tsx index 36a0cd7d8e98..5370215c9542 100644 --- a/front/components/home/content/Product/IntroSection.tsx +++ b/front/components/home/content/Product/IntroSection.tsx @@ -1,111 +1,31 @@ -import { - Button, - Div3D, - Hover3D, - PlayIcon, - RocketIcon, - Spinner, -} from "@dust-tt/sparkle"; +import { Button, Hover3D, RocketIcon } from "@dust-tt/sparkle"; import Link from "next/link"; -import React, { useEffect, useState } from "react"; +import React from "react"; import { H1, P, Strong } from "@app/components/home/ContentComponents"; import TrustedBy from "@app/components/home/TrustedBy"; -const ResponsiveIframe = () => { +const VideoPlayer = () => { return ( -

+
+ {" "} + {/* 16:9 aspect ratio */}
); }; export function IntroSection() { - const [isVideoOpen, setIsVideoOpen] = useState(false); - const [showSpinner, setShowSpinner] = useState(false); - - useEffect(() => { - if (isVideoOpen) { - setShowSpinner(true); - const timer = setTimeout(() => { - setShowSpinner(false); - }, 2000); - return () => clearTimeout(timer); - } - }, [isVideoOpen]); - - const MainVisualImage = () => ( - <> - {showSpinner && ( -
-
- -
- )} - {isVideoOpen && !showSpinner && ( -
-
setIsVideoOpen(false)} - >
-
- -
-
- )} - - - - MainVisual1 - - - MainVisual2 - - - MainVisual3 - - - MainVisual4 - - - MainVisual5 - - -