Add honeypot, spam protection to contact form

This commit is contained in:
2026-05-02 11:24:11 +12:00
parent cd8d581f7a
commit 3587ba7f26
25 changed files with 553 additions and 41 deletions
+7 -7
View File
@@ -19,12 +19,12 @@ export const homepageContent: HomePageContent = {
{ label: 'Puppy Visits', href: '/puppy-visits' },
{ label: 'Our Pricing', href: '/our-pricing' },
{ label: 'About Us', href: '/about' },
{ label: 'Contact Us', href: '/booking' }
{ label: 'Contact Us', href: '/contact-us' }
],
cta: { label: 'Contact Us', href: '/booking', variant: 'yellow' },
cta: { label: 'Contact Us', href: '/contact-us', variant: 'yellow' },
instagram: { href: 'https://www.instagram.com/goodwalk.nz/', external: true },
megaMenuServices: [
{ icon: 'fas fa-paw', label: 'Pack Walks', description: 'Group outdoor adventures', href: '/pack-walks' },
{ icon: 'fas fa-paw', label: 'Pack Walks', description: 'Tiny Gang outdoor adventures', href: '/pack-walks' },
{ icon: 'fas fa-person-walking', label: '1:1 Walks', description: 'Personalised solo walks', href: '/dog-walking' },
{ icon: 'fas fa-dog', label: 'Puppy Visits', description: 'Home visits for young pups', href: '/puppy-visits' }
]
@@ -60,7 +60,7 @@ export const homepageContent: HomePageContent = {
{
icon: 'fas fa-dog',
title: 'Pack Walks',
body: 'Small group walks of 4-8 dogs - calm, social, and full of fun for your pup.',
body: 'Small group Tiny Gang walks of 4-8 dogs - calm, social, and full of fun for your pup.',
href: '/pack-walks'
},
{
@@ -150,7 +150,7 @@ export const homepageContent: HomePageContent = {
title: "Let's meet!",
subtitle:
'Ready to get started? Book your free, no-obligation Meet & Greet today — just enter your details below',
formAction: '/booking',
formAction: '/contact-us',
serviceOptions: ['Pack Walks', '1:1 Walks', 'Puppy Visits', 'Other Services']
},
info: {
@@ -205,10 +205,10 @@ export const homepageContent: HomePageContent = {
{ label: '1:1 Walks', href: '/dog-walking' },
{ label: 'Puppy Visits', href: '/puppy-visits' },
{ label: 'Our Pricing', href: '/our-pricing' },
{ label: 'Contact Us', href: '/booking' }
{ label: 'Contact Us', href: '/contact-us' }
],
contactLinks: [
{ label: 'Book a walk', href: '/booking' },
{ label: 'Book a walk', href: '/contact-us' },
{ label: 'Instagram', href: 'https://www.instagram.com/goodwalk.nz/', external: true },
{ label: 'Google Reviews', href: 'https://g.page/r/CUsvrWPhkYrAEB0', external: true }
],