diff --git a/src/components/sections/hero/HeroSplitTestimonial.tsx b/src/components/sections/hero/HeroSplitTestimonial.tsx index 3277803..fc506f4 100644 --- a/src/components/sections/hero/HeroSplitTestimonial.tsx +++ b/src/components/sections/hero/HeroSplitTestimonial.tsx @@ -14,6 +14,11 @@ type Testimonial = { rating: number; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); +type Company = { + name: string; + logo?: string; +}; + type HeroSplitTestimonialProps = { tag: string; title: string; @@ -21,6 +26,7 @@ type HeroSplitTestimonialProps = { primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; testimonials: Testimonial[]; + companies?: Company[]; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const INTERVAL = 5000; @@ -34,6 +40,7 @@ const HeroSplitTestimonial = ({ imageSrc, videoSrc, testimonials, + companies, }: HeroSplitTestimonialProps) => { const [currentIndex, setCurrentIndex] = useState(0); @@ -75,6 +82,26 @@ const HeroSplitTestimonial = ({