import ArrowRightIcon from "@/assets/home/arrow-right.svg?react"; import { CTA_BUTTON_LABEL, CTA_DESCRIPTION, CTA_FOOTNOTE, CTA_HEADLINE, CTA_URL_PLACEHOLDER, } from "@/features/home/content/cta"; import { useAnalyze } from "@/features/home/hooks/useAnalyze"; import { useInView } from "@/hooks/useInView"; export function CTASection() { const { ref, inView } = useInView(); const { url, setUrl, handleAnalyze } = useAnalyze(); return (

{CTA_HEADLINE}

{CTA_DESCRIPTION}

setUrl(e.target.value)} onKeyDown={(e) => e.key === "Enter" && handleAnalyze()} className="w-full px-8 py-4 body-16-medium bg-gradient-to-r from-marketing-cream via-marketing-lilac to-marketing-ice border border-white/20 rounded-full focus:outline-none focus:ring-2 focus:ring-white/50 shadow-sm text-center text-navy-900 placeholder:text-navy-900/60 break-keep" />

{CTA_FOOTNOTE}

); }