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.

preload videos via link

Steven Tey610cc6eec2cc
diff --git a/components/home/features.tsx b/components/home/features.tsx
index 2adf7a1114..32dc102cd0 100644
--- a/components/home/features.tsx
+++ b/components/home/features.tsx
@@ -109,6 +109,10 @@ export default function Features() {
return (
<div>
<LinkQRModal />
+ {featureList.map(({ key, demo }) => (
+ // preload videos
+ <link key={key} rel="preload" as="video" href={demo} />
+ ))}
<MaxWidthWrapper className="py-10">
<div className="mx-auto max-w-md text-center sm:max-w-xl">
<h2 className="font-display text-4xl font-extrabold leading-tight text-black sm:text-5xl sm:leading-tight">