diff --git a/apps/web/src/app/(home)/_components/testimonials.tsx b/apps/web/src/app/(home)/_components/testimonials.tsx index 049b95f..94c31b5 100644 --- a/apps/web/src/app/(home)/_components/testimonials.tsx +++ b/apps/web/src/app/(home)/_components/testimonials.tsx @@ -1,11 +1,24 @@ "use client"; -import { motion } from "framer-motion"; -import { Terminal } from "lucide-react"; +import { Play, Terminal } from "lucide-react"; +import { motion } from "motion/react"; import Image from "next/image"; import { Suspense } from "react"; import { Tweet, TweetSkeleton, type TwitterComponents } from "react-tweet"; +const YOUTUBE_VIDEOS = [ + { + id: "VIDEO_001", + embedId: "g-ynSAdL6Ak", + title: "This tool cured my JavaScript fatigue", + }, + { + id: "VIDEO_002", + embedId: "uHUgw-Hi8HE", + title: "I tried React again after 2 years of Svelte", + }, +]; + const TWEET_IDS = [ "1930194170418999437", "1907728148294447538", @@ -114,6 +127,45 @@ export default function Testimonials() { }, }; + const VideoCard = ({ + video, + index, + }: { + video: (typeof YOUTUBE_VIDEOS)[0]; + index: number; + }) => ( + +
+
+
+ + [{video.id}] +
+
+
+
+