import { ArrowRight } from "lucide-react"; import { ImageWithFallback } from "./figma/ImageWithFallback"; import { BrandedTag } from "./about/BrandedTag"; import { PrimaryCTAButton } from "./PrimaryCTAButton"; import { navigateTo } from "./Router"; interface CTABannerSectionProps { ctaSection?: { id: string; background_image_url: string; text: string; cta_text: string; cta_destination: string; description: string; landing_page_type: string; service_type: string | null; }; isLoading?: boolean; } export function CTABannerSection({ ctaSection, isLoading }: CTABannerSectionProps) { if (isLoading) { return ( ); } // If no CTA section data is available, don't render anything if (!ctaSection) { return null; } return ( {/* Background Image */} {/* Subtle dark overlay for overall image */} {/* Gradient overlay for better text readability */} {/* Content Container */} {/* CTA Content Block */} {/* Branded Tag */} {/* Main Headline */} {ctaSection.text || "Ready to transform your leadership?"} {" "}Get in touch{" "} to start your development journey now. {/* Description */} {ctaSection.description && ( {ctaSection.description} )} {/* CTA Button */} navigateTo(ctaSection.cta_destination || '/contact?topic=consulting')} ariaLabel="Schedule a consultation with our leadership experts" className="cta-banner-yellow" /> ); }
{ctaSection.description}