Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

added first video

Steven Tey6080905470ea
diff --git a/app/dub.co/features/[slug]/page.tsx b/app/dub.co/features/[slug]/page.tsx
index 789ef216d1..12610f9f84 100644
--- a/app/dub.co/features/[slug]/page.tsx
+++ b/app/dub.co/features/[slug]/page.tsx
@@ -103,7 +103,9 @@ export default async function FeaturePage({
/>
<div className="ml-2 mr-4 flex flex-col text-left">
<p className="text-sm font-medium text-gray-500">Watch Demo</p>
- <p className="text-sm text-blue-500">2:30</p>
+ <p className="text-sm text-blue-500">
+ {data?.videoLength || "2:30"}
+ </p>
</div>
</div>
</div>
diff --git a/app/dub.co/features/[slug]/play-button.tsx b/app/dub.co/features/[slug]/play-button.tsx
index 1c4b70426b..2bf7efbc0b 100644
--- a/app/dub.co/features/[slug]/play-button.tsx
+++ b/app/dub.co/features/[slug]/play-button.tsx
@@ -22,7 +22,7 @@ export default function PlayButton({
setShowModal={setShowModal}
>
<iframe
- className="aspect-video h-full w-full"
+ className="aspect-[2300/1440] h-full w-full"
src={url}
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
diff --git a/lib/constants/content.tsx b/lib/constants/content.tsx
index 81538d0126..9a828a9d4d 100644
--- a/lib/constants/content.tsx
+++ b/lib/constants/content.tsx
@@ -114,7 +114,8 @@ export const FEATURES_LIST = [
slug: "analytics",
thumbnail: "https://d2vwwcvoksz7ty.cloudfront.net/features/analytics.png",
videoUrl:
- "https://www.youtube.com/embed/m062ApqcRow?si=8FRndy4ABWPTioHU&autoplay=1",
+ "https://www.youtube.com/embed/i05FamHTn_I?si=gRnWs5Kf2n6Qyqmd&autoplay=1",
+ videoLength: "2:56",
bentoTitle: "Detailed insights for every click",
bentoDescription:
"Dub provides detailed analytics for every click on your links. See where your audience is coming from and what devices they are using.",