Skip to content

Commit cfd81cb

Browse files
chore(web): add orcdev video testimonial
1 parent bf42b60 commit cfd81cb

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

apps/web/src/app/(home)/_components/testimonials.tsx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ import { Tweet, TweetSkeleton, type TwitterComponents } from "react-tweet";
88

99
const YOUTUBE_VIDEOS = [
1010
{
11-
id: "VIDEO_001",
11+
embedId: "azhw_iq8SIA",
12+
title: "This CLI Lets You Choose Your Entire Tech Stack Instantly",
13+
},
14+
{
1215
embedId: "CWwkWJmT_zU",
1316
title: "The BEST Way To Start a Project (Better-T-Stack)",
1417
},
1518
{
16-
id: "VIDEO_002",
1719
embedId: "MGmPTcgJYIo",
1820
title: "This new CLI tool makes scaffolding projects easy",
1921
},
2022
{
21-
id: "VIDEO_003",
2223
embedId: "g-ynSAdL6Ak",
2324
title: "This tool cured my JavaScript fatigue",
2425
},
2526
{
26-
id: "VIDEO_004",
2727
embedId: "uHUgw-Hi8HE",
2828
title: "I tried React again after 2 years of Svelte",
2929
},
@@ -164,7 +164,9 @@ export default function Testimonials() {
164164
<div className="sticky top-0 z-10 border-border border-b px-2 py-2">
165165
<div className="flex items-center gap-2">
166166
<Play className="h-3 w-3 text-primary" />
167-
<span className="font-semibold text-xs">[{video.id}]</span>
167+
<span className="font-semibold text-xs">
168+
[VIDEO_{String(index + 1).padStart(3, "0")}]
169+
</span>
168170
</div>
169171
</div>
170172
<div className="w-full min-w-0 overflow-hidden">
@@ -243,7 +245,11 @@ export default function Testimonials() {
243245
animate="visible"
244246
>
245247
{YOUTUBE_VIDEOS.map((video, index) => (
246-
<VideoCard key={video.id} video={video} index={index} />
248+
<VideoCard
249+
key={`video-${video.embedId}`}
250+
video={video}
251+
index={index}
252+
/>
247253
))}
248254
</motion.div>
249255
</div>
@@ -256,7 +262,11 @@ export default function Testimonials() {
256262
animate="visible"
257263
>
258264
{YOUTUBE_VIDEOS.map((video, index) => (
259-
<VideoCard key={video.id} video={video} index={index} />
265+
<VideoCard
266+
key={`video-${video.embedId}`}
267+
video={video}
268+
index={index}
269+
/>
260270
))}
261271
</motion.div>
262272
</div>

0 commit comments

Comments
 (0)