---
/**
* CTASection - Call to action section (Pixel-perfect from Webflow)
* Features: 2-column grid, notification-red button, hover effects
*/
import type { HomeData } from '@/lib/api/home'
interface Props {
homeData?: HomeData | null
}
const { homeData } = Astro.props
// Get CTA config from CMS or use defaults - matching reference HTML
const ctaSection = homeData?.ctaSection
const headline = ctaSection?.headline || '準備好開始新的旅程了嗎 歡迎與我們聯絡'
const description = ctaSection?.description || '' // Reference has no description
const buttonText = ctaSection?.buttonText || '預約諮詢 phone_callback'
const buttonLink = ctaSection?.buttonLink || 'https://heyform.itslouis.cc/form/7mYtUNjA'
---
{headline}
{
description && (
{description}
)
}
{buttonText}