()
| 3 | import Link from "next/link"; |
| 4 | |
| 5 | export function CTASection() { |
| 6 | const { ctaSection } = siteConfig; |
| 7 | |
| 8 | return ( |
| 9 | <section |
| 10 | id="cta" |
| 11 | className="flex flex-col items-center justify-center w-full" |
| 12 | > |
| 13 | <div className="w-full"> |
| 14 | <div className="h-[400px] md:h-[400px] overflow-hidden shadow-xl w-full border border-border rounded-xl bg-secondary relative z-20"> |
| 15 | <Image |
| 16 | src={ctaSection.backgroundImage} |
| 17 | alt="Agent CTA Background" |
| 18 | className="absolute inset-0 w-full h-full object-cover object-right md:object-center" |
| 19 | fill |
| 20 | priority |
| 21 | /> |
| 22 | <div className="absolute inset-0 -top-32 md:-top-40 flex flex-col items-center justify-center"> |
| 23 | <h1 className="text-white text-4xl md:text-7xl font-medium tracking-tighter max-w-xs md:max-w-xl text-center"> |
| 24 | {ctaSection.title} |
| 25 | </h1> |
| 26 | <div className="absolute bottom-10 flex flex-col items-center justify-center gap-2"> |
| 27 | <Link |
| 28 | href={ctaSection.button.href} |
| 29 | className="bg-white text-black font-semibold text-sm h-10 w-fit px-4 rounded-full flex items-center justify-center shadow-md" |
| 30 | > |
| 31 | {ctaSection.button.text} |
| 32 | </Link> |
| 33 | <span className="text-white text-sm">{ctaSection.subtext}</span> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 | </div> |
| 38 | </section> |
| 39 | ); |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected