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 }; textAnimation: "slide-up" | "fade-blur" | "fade"; } const AboutTextSplit = ({ title, descriptions, primaryButton, secondaryButton, textAnimation, }: AboutTextSplitProps) => { return (
{descriptions.map((desc, index) => ( ))} {(primaryButton || secondaryButton) && (
{primaryButton &&
)}
); }; export default AboutTextSplit;