diff --git a/apps/web/app/partners/[slug]/page.tsx b/apps/web/app/partners/[slug]/page.tsx index 2e28905..7e3e973 100644 --- a/apps/web/app/partners/[slug]/page.tsx +++ b/apps/web/app/partners/[slug]/page.tsx @@ -3,6 +3,7 @@ import { Navbar } from "@/components/navbar"; import { Footer } from "@/components/footer"; import { PartnerHero } from "@/components/sections/partner-hero"; import { PartnerBio } from "@/components/sections/partner-bio"; +import { PartnerVideo } from "@/components/sections/partner-video"; import { PartnerCTA } from "@/components/sections/partner-cta"; import { PartnerFeatures } from "@/components/sections/partner-features"; import { TrustMetricsSection } from "@/components/sections/trust-metrics-section"; @@ -15,6 +16,7 @@ interface PartnerData { imageUrl: string; quote?: string; ctaMessage?: string; + youtubeId?: string; ctaUrl?: string; } @@ -25,6 +27,7 @@ const PARTNERS_DATA: Record = { imageUrl: "/images/soloetv.png", quote: "Life is short and working for other people sucks", ctaMessage: "Trade with the broker I trust. Join me at RestroFX and experience trading the way it was meant to be. Raw spreads, lightning-fast execution, and a platform that puts you first.", + youtubeId: "01loBLlZRHw", ctaUrl: "https://portal.restrofx.com/r/glaPWwHQ" }, "default": { @@ -67,6 +70,12 @@ export default function PartnerProfilePage({ params }: { params: { slug: string + {partner.youtubeId && ( + + + + )} +
diff --git a/apps/web/components/sections/partner-video.tsx b/apps/web/components/sections/partner-video.tsx new file mode 100644 index 0000000..cf17ee3 --- /dev/null +++ b/apps/web/components/sections/partner-video.tsx @@ -0,0 +1,41 @@ +"use client"; + +import { motion } from "framer-motion"; + +interface PartnerVideoProps { + youtubeId: string; +} + +export function PartnerVideo({ youtubeId }: PartnerVideoProps) { + if (!youtubeId) return null; + + return ( +
+
+ + {/* Premium Glowing Backdrop */} +
+ +
+