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 AvatarGroup from "@/components/ui/AvatarGroup"; type HeroOverlayProps = { tag: string; title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; avatars?: { src: string }[]; avatarsLabel?: string; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const HeroOverlay = ({ tag, title, description, primaryButton, secondaryButton, imageSrc, videoSrc, avatars, avatarsLabel, }: HeroOverlayProps) => { return (
); }; export default HeroOverlay;