import Button from "@/components/ui/Button"; import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; import TextAnimation from "@/components/ui/TextAnimation"; import ImageOrVideo from "@/components/ui/ImageOrVideo"; import ScrollReveal from "@/components/ui/ScrollReveal"; type HeroSplitProps = { tag: string; title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const HeroSplit = ({ tag, title, description, primaryButton, secondaryButton, imageSrc, videoSrc, }: HeroSplitProps) => { return (

{tag}

); }; export default HeroSplit;