diff --git a/src/components/sections/hero/HeroExpand.tsx b/src/components/sections/hero/HeroExpand.tsx index 41ee081..e52371a 100644 --- a/src/components/sections/hero/HeroExpand.tsx +++ b/src/components/sections/hero/HeroExpand.tsx @@ -1,15 +1,33 @@ -import React, { useEffect } from 'react'; +import React from 'react'; interface HeroExpandProps { - onComplete?: () => void; + tag?: string; + title: string; + description?: string; + videoSrc?: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; } -export default function HeroExpand({ onComplete }: HeroExpandProps) { - useEffect(() => { - if (onComplete) { - onComplete(); - } - }, [onComplete]); - - return
{description}
} + {(primaryButton || secondaryButton) && ( +