import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; interface AboutTextSplitProps { title: string; descriptions: string[]; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; } const AboutTextSplit = ({ title, descriptions, primaryButton, secondaryButton, }: AboutTextSplitProps) => { return (
{descriptions.map((desc, index) => ( ))} {(primaryButton || secondaryButton) && (
{primaryButton &&
)}
); }; export default AboutTextSplit;