From f9d5ed700a04e96e4bbd9ca733b482c3ef3c71c8 Mon Sep 17 00:00:00 2001 From: thib-martin <168569391+thib-martin@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:33:41 +0100 Subject: [PATCH 1/7] creating a display video --- .../home/content/Product/IntroSection.tsx | 107 +++--------------- 1 file changed, 16 insertions(+), 91 deletions(-) diff --git a/front/components/home/content/Product/IntroSection.tsx b/front/components/home/content/Product/IntroSection.tsx index 36a0cd7d8e98..fa595223ae24 100644 --- a/front/components/home/content/Product/IntroSection.tsx +++ b/front/components/home/content/Product/IntroSection.tsx @@ -4,108 +4,31 @@ import { Hover3D, PlayIcon, RocketIcon, - Spinner, } 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 - - -
-
{MainVisualImage()}
+
+ +
- -

Connect your team's data and{" "} @@ -161,4 +86,4 @@ export function IntroSection() {

); -} +} \ No newline at end of file From a852ff637abf83a0b86265d36f0c4ddc84a94424 Mon Sep 17 00:00:00 2001 From: thib-martin <168569391+thib-martin@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:54:28 +0100 Subject: [PATCH 2/7] fix color --- front/components/home/content/Product/IntroSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/components/home/content/Product/IntroSection.tsx b/front/components/home/content/Product/IntroSection.tsx index fa595223ae24..82f41de34113 100644 --- a/front/components/home/content/Product/IntroSection.tsx +++ b/front/components/home/content/Product/IntroSection.tsx @@ -36,7 +36,7 @@ export function IntroSection() {
-

+

Build custom AI assistants to speed up your work

From e32bbeed078778e3ffb7131f4b5cadbf1bfb4634 Mon Sep 17 00:00:00 2001 From: thib-martin <168569391+thib-martin@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:58:30 +0100 Subject: [PATCH 3/7] removing 'Dust in action' --- front/components/home/content/Product/BlogSection.tsx | 2 -- 1 file changed, 2 deletions(-) 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

From e0249ebb1e8bb8fcdf0259e781f62e3bdbbef818 Mon Sep 17 00:00:00 2001 From: thib-martin <168569391+thib-martin@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:03:12 +0100 Subject: [PATCH 4/7] fixing title --- front/components/home/content/Product/VerticalSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/components/home/content/Product/VerticalSection.tsx b/front/components/home/content/Product/VerticalSection.tsx index bc54902da037..f3717a86d266 100644 --- a/front/components/home/content/Product/VerticalSection.tsx +++ b/front/components/home/content/Product/VerticalSection.tsx @@ -21,7 +21,7 @@ export function VerticalSection() {

-

Dust for Marketing, Sales, Data,…

+

Accelerate every team

From f409ef6899ee0f01614b58e9b4e13bb2be65df72 Mon Sep 17 00:00:00 2001 From: thib-martin <168569391+thib-martin@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:22:28 +0100 Subject: [PATCH 5/7] linting --- .../home/content/Product/IntroSection.tsx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/front/components/home/content/Product/IntroSection.tsx b/front/components/home/content/Product/IntroSection.tsx index 82f41de34113..9c7aa9e9628e 100644 --- a/front/components/home/content/Product/IntroSection.tsx +++ b/front/components/home/content/Product/IntroSection.tsx @@ -1,10 +1,4 @@ -import { - Button, - Div3D, - Hover3D, - PlayIcon, - RocketIcon, -} from "@dust-tt/sparkle"; +import { Button, Hover3D, RocketIcon } from "@dust-tt/sparkle"; import Link from "next/link"; import React from "react"; import { H1, P, Strong } from "@app/components/home/ContentComponents"; @@ -12,7 +6,9 @@ import TrustedBy from "@app/components/home/TrustedBy"; const VideoPlayer = () => { return ( -
{/* 16:9 aspect ratio */} +
+ {" "} + {/* 16:9 aspect ratio */}