Skip to content

Commit a4ec3f6

Browse files
HyteqHyteq
authored andcommitted
feat: demo in docs
1 parent 39836a1 commit a4ec3f6

1 file changed

Lines changed: 9 additions & 16 deletions

File tree

apps/docs/app/demo/page.tsx

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,16 @@ export default function DemoPage() {
6262
</div>
6363

6464
<div className="aspect-video bg-black">
65-
<video
66-
controls
67-
className="h-full w-full object-cover"
68-
poster="/demo-thumbnail.webp"
69-
data-track="demo-video-interaction"
65+
<iframe
66+
src="https://app.databuddy.cc/demo/OXmNQsViBT-FOS_wZCTHc"
67+
className="h-full w-full border-0"
68+
title="Databuddy Analytics Demo Dashboard"
69+
loading="lazy"
70+
data-track="demo-iframe-interaction"
7071
data-section="demo"
71-
data-video-type="product-demo"
72-
>
73-
<source src="/demo.mp4" type="video/mp4" />
74-
<track kind="captions" src="/demo-captions.vtt" srcLang="en" label="English" />
75-
<div className="flex h-full items-center justify-center">
76-
<div className="text-center">
77-
<Play className="mx-auto mb-4 h-16 w-16 text-neutral-600" />
78-
<p className="text-neutral-400">Video demo coming soon</p>
79-
</div>
80-
</div>
81-
</video>
72+
data-demo-type="live-dashboard"
73+
allow="web-share"
74+
/>
8275
</div>
8376
</div>
8477
</div>

0 commit comments

Comments
 (0)