(function (global) { const { useState } = React; const { Header, Breadcrumb, Footer } = global.ShieldPointComponents; function ContactPage() { const navConfig = global.SHIELD_POINT_NAV; const breadcrumbItems = [ { label: 'Home', href: '/' }, { label: 'Contact Us' }, ]; const [formData, setFormData] = useState({ firstName: '', lastName: '', email: '', phone: '', service: '', city: 'Brampton', propertyType: '', message: '', }); const [phoneError, setPhoneError] = useState(''); const [submitted, setSubmitted] = useState(false); const handleChange = (e) => { const { name, value } = e.target; if (name === 'phone') { const digitsOnly = value.replace(/\D/g, '').slice(0, 10); setFormData((prev) => ({ ...prev, phone: digitsOnly })); if (digitsOnly.length === 10) { setPhoneError(''); } return; } setFormData((prev) => ({ ...prev, [name]: value })); }; const handleSubmit = (e) => { e.preventDefault(); if (formData.phone.length !== 10) { setPhoneError('Please enter an exact 10-digit phone number.'); return; } setPhoneError(''); setSubmitted(true); }; const allServices = [ ...navConfig.megaMenu.homeInspection.items.map((i) => i.name), ...navConfig.megaMenu.pestControl.items.map((i) => i.name), ]; return (
{/* Upper Dark Navy Band */}
{/* Left Column: Creative Contact & Info Panel */}
Direct Dispatch • Brampton & GTA

Let's Protect Your Property Today

Reach out for a certified home inspection or fast, family-safe pest control service across Brampton, Mississauga, Caledon & Southern Ontario.

{/* Quick Connect Cards */} {/* Navy Feature Box */}

What to Expect with Shield Point

Open Mon – Sun • 8:00 AM – 8:00 PM
  • Home Inspection services starting at $99
  • Carson Dunlop & InterNACHI® certified inspections
  • Health Canada–approved, family-safe pest control
Have a quick question? View FAQs
{/* Right Column: Overlapping White Form Card */}
{submitted ? (

Thank You, {formData.firstName || 'Friend'}!

Your request for {formData.service || 'our services'} in{' '} {formData.city} has been received. For urgent appointments, call {navConfig.topBar.phoneDisplay}.

) : (
{phoneError && ( {phoneError} )}