// siteSections.jsx — non-video sections of the Terra website // ───── Reusable ───── function SectionHeader({ eyebrow, title, titleAccent, kicker }) { return (
{eyebrow}

{title}{titleAccent && {titleAccent}}

{kicker &&

{kicker}

}
); } // ───── Top nav ───── function Nav() { const [scrolled, setScrolled] = React.useState(false); React.useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 40); window.addEventListener('scroll', onScroll); return () => window.removeEventListener('scroll', onScroll); }, []); return ( ); } // ───── Stats strip (between videos) ───── function StatsStrip() { const stats = [ { v: '150+', l: 'Clients served' }, { v: '3.2x', l: 'Avg. ROI increase' }, { v: '24/7', l: 'AI support' }, { v: '98%', l: 'Client retention' }, ]; return (
{stats.map((s, i) => (
{s.v}
{s.l}
))}
); } // ───── Services grid ───── function Services() { const services = [ { tag: 'MOST POPULAR', name: 'AI Voice Receptionist', desc: 'Never miss a call. Answers 24/7, qualifies leads, transfers calls & books appointments.', feats: ['24/7 availability', 'Call transfer', 'Calendar booking', 'SMS follow-up'], featured: true }, { name: 'AI Chatbot', desc: 'Engages visitors instantly — captures leads, answers FAQs, guides prospects through your sales funnel.', feats: ['Lead capture', 'FAQ automation', 'Live chat handoff', 'CRM integration'] }, { name: 'Paid Advertising', desc: 'Data-driven Google & Meta campaigns. Every dollar optimized to maximize return on ad spend.', feats: ['Google Ads', 'Meta Ads', 'Retargeting', 'A/B testing'] }, { name: 'SEO & Content', desc: 'Rank higher and attract organic traffic with strategic content and technical SEO that compounds.', feats: ['Keyword research', 'On-page SEO', 'Link building', 'Content strategy'] }, { name: 'Email & SMS', desc: 'Nurture leads and retain customers with automated sequences and targeted SMS campaigns that convert.', feats: ['Automation flows', 'Segmentation', 'SMS campaigns', 'Analytics'] }, { name: 'Brand & Web Design', desc: 'From logo to landing page — visuals that communicate value and convert visitors into clients.', feats: ['Brand identity', 'Landing pages', 'UI/UX design', 'Conversion optimization'] }, { name: 'Social Media', desc: 'Consistent, engaging presence across every platform. Content that builds audience and drives results.', feats: ['Content creation', 'Scheduling', 'Community mgmt', 'Analytics'] }, { name: 'Analytics & Reporting', desc: 'Clear, actionable reports so you always know what\'s working. Full-funnel tracking from click to closed deal.', feats: ['Dashboard setup', 'Monthly reports', 'Attribution', 'Funnel analysis'] }, ]; return (
{services.map((s, i) => (
{s.tag &&
{s.tag}
}
{String(i + 1).padStart(2, '0')}

{s.name.split(' ')[0]} {s.name.split(' ').length > 1 ? ' ' + s.name.split(' ').slice(1).join(' ') : ''}

{s.desc}

    {s.feats.map((f, j) => (
  • {f}
  • ))}
))}
); } // ───── Results — case cards ───── function Results() { const cases = [ { vert: 'Home Services', metric: '$127K', label: 'tracked revenue / 90 days', client: 'Summit Roofing Co.', detail: 'Launched, tested & scaled to 3.8x ROAS in 90 days from a cold account.' }, { vert: 'HVAC & Plumbing', metric: '0', label: 'missed calls — ever', client: 'Prestige Home Services', detail: 'From 15 lost calls a day to a fully automated front desk — 24/7.' }, { vert: 'Legal Services', metric: '4.1x', label: 'return on ad spend', client: 'ClearPath Law Group', detail: 'Rebuilt Google Ads, added AI chatbot, cut cost-per-consultation by 61%.' }, { vert: 'Aesthetics & Wellness', metric: '+340%', label: 'organic enquiries', client: 'Luxe Skin Clinic', detail: 'Ranked #1 locally in 90 days — booked 6 weeks out via SEO, Meta & social.' }, { vert: 'Real Estate', metric: '#1', label: 'for 14 local keywords', client: 'NestFinder Realty', detail: 'Rebuilt content around buyer intent; organic now outperforms every paid channel.' }, { vert: 'Financial Services', metric: '−61%', label: 'cost per lead', client: 'LoanBridge Financial', detail: 'Restructured paid media, tightened targeting, added email nurturing.' }, ]; return (
{cases.map((c, i) => ())}
); } function CaseCard({ c, i }) { const ref = React.useRef(null); const seen = useInViewOnce(ref, 0.18); const delay = i * 110; return (
{c.vert} CASE / {String(i + 1).padStart(2, '0')}
{c.metric}
{c.label}
{c.client}

{c.detail}

); } // ───── Process ───── function Process() { const steps = [ { n: '01', t: 'Discovery Call', d: 'Deep-dive into your goals, audience, current marketing & biggest growth opportunities.' }, { n: '02', t: 'Custom Strategy', d: 'Tailored growth plan combining digital marketing, AI automation, and the right channels for your market.' }, { n: '03', t: 'Build & Launch', d: 'Campaigns live, AI configured, assets designed fast. Most clients are live within 2 weeks.' }, { n: '04', t: 'Optimize & Scale', d: 'Real data drives every decision — cut what doesn\'t work, double down on what does.' }, ]; return (
{steps.map((s, i) => ())}
); } function StepCard({ s, i, isLast }) { const ref = React.useRef(null); const seen = useInViewOnce(ref, 0.25); const delay = i * 160; return (
{s.n}
{!isLast &&
}

{s.t}

{s.d}

); } // ───── Testimonials ───── // Hook: fires true once the element is visible, then stays true. function useInViewOnce(ref, threshold = 0.15) { const [seen, setSeen] = React.useState(false); React.useEffect(() => { if (!ref.current || seen) return; const io = new IntersectionObserver( (entries) => { if (entries[0].isIntersecting) { setSeen(true); io.disconnect(); } }, { threshold } ); io.observe(ref.current); return () => io.disconnect(); }, [seen, threshold]); return seen; } // Prints text character-by-character once visible (receipt printer vibe) function TypePrint({ text, delay = 0, speed = 28, className, as = 'span', onDone }) { const ref = React.useRef(null); const seen = useInViewOnce(ref); const [n, setN] = React.useState(0); React.useEffect(() => { if (!seen) return; let raf, start = null; const total = text.length; const step = (ts) => { if (start == null) start = ts; const elapsed = ts - start - delay; if (elapsed < 0) { raf = requestAnimationFrame(step); return; } const chars = Math.min(total, Math.floor(elapsed / speed)); setN(chars); if (chars < total) raf = requestAnimationFrame(step); else if (onDone) onDone(); }; raf = requestAnimationFrame(step); return () => cancelAnimationFrame(raf); }, [seen, text, speed, delay]); const Tag = as; return ( {text.slice(0, n)} {seen && n < text.length && } ); } function QuoteCard({ qt, i }) { const ref = React.useRef(null); const seen = useInViewOnce(ref, 0.2); const delay = i * 140; return (
RECEIPT № {String(i + 1).padStart(4, '0')}

{qt.q}

{qt.name}
{qt.role}
{qt.stat}
); } function Testimonials() { const quotes = [ { q: "We went from drowning in missed calls to a fully booked schedule in three weeks. The AI receptionist paid for itself the first week.", name: 'Denise M.', role: 'Owner, Prestige Home Services', stat: '0 missed calls' }, { q: "I've worked with five agencies. Terra is the first one that actually gives a damn about the number next to my name.", name: 'Marcus T.', role: 'Managing Partner, ClearPath Law', stat: '4.1x ROAS' }, { q: "Fully booked six weeks out. From basically invisible to the #1 clinic in my zip code in 90 days. Not hype — that's my calendar.", name: 'Amelia K.', role: 'Founder, Luxe Skin Clinic', stat: '+340% enquiries' }, { q: "They don't sell you a package. They build the thing you actually need, then they keep tuning it. That's why I stayed.", name: 'Ray P.', role: 'CEO, Summit Roofing Co.', stat: '$127K / 90 days' }, ]; const headRef = React.useRef(null); const seen = useInViewOnce(headRef, 0.2); return (
04 — WHAT CLIENTS SAY

Not reviews.
{seen ? ( ) : ( Receipts with names on them. )}

{quotes.map((qt, i) => ( ))}
); } // ───── Why Terra ───── function WhyCard({ p, i }) { const ref = React.useRef(null); const seen = useInViewOnce(ref, 0.2); const delay = i * 140; return (
0{i + 1}

{p.t}

{p.d}

); } function WhyTerra() { const points = [ { t: 'Fast Onboarding', d: 'Most clients are live within 2 weeks of signing. No long setup timelines.' }, { t: 'Dedicated Account Manager', d: 'One point of contact who knows your business inside and out.' }, { t: 'No Long-Term Lock-In', d: 'Month-to-month agreements. We earn your business every single month.' }, ]; return (
{points.map((p, i) => ())}
); } // ───── CTA + footer ───── function Contact() { return (
06 — LET'S TALK

Ready to grow?
Let's find out if we fit.

Free strategy call for Barbados businesses. No commitment. No pressure. 30 minutes to tell us what's broken — we'll tell you if we can fix it.

BOOK A FREE CALL
Emaild.defreitas@wustl.edu
Phone314·646·9845
Webdmitridefreitas.com
); } function Footer() { return ( ); } Object.assign(window, { Nav, StatsStrip, Services, Results, Process, Testimonials, WhyTerra, Contact, Footer, useInViewOnce, TypePrint, });