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"; import AvatarGroup from "@/components/ui/AvatarGroup"; type HeroBillboardProps = { tag?: string; title: string; description: string; primaryButton: { text: string; href: string }; secondaryButton: { text: string; href: string }; avatarsSrc?: string[]; avatarsLabel?: string; } & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); const HeroBillboard = ({ tag, title, description, primaryButton, secondaryButton, avatarsSrc, avatarsLabel, imageSrc, videoSrc, }: HeroBillboardProps) => { return (
{avatarsSrc && avatarsSrc.length > 0 ? ( ) : tag ? (

{tag}

) : null}
); }; export default HeroBillboard;