'use client'; import { Button } from '@imphnen-frontend-service/shadcn-ui/atoms'; import { CallToActionSection } from 'apps/landing/src/payload-types'; import { motion, useInView } from 'framer-motion'; import { useRef } from 'react'; export function CallToAction(props: CallToActionSection) { const { title, highlightedTitle, subtitle, primaryButtonLabel, primaryButtonLink, secondaryButtonLabel, secondaryButtonLink, } = props; const ref = useRef(null); const isInView = useInView(ref, { once: true, amount: 0.2 }); return (
{/* Background Elements */}

{title}{' '} {highlightedTitle}

{subtitle}

{/* Decorative Elements */}
); }