This commit is contained in:
2026-05-26 08:30:08 +12:00
parent 005aab8139
commit 135a5a3b83
75 changed files with 22417 additions and 4288 deletions
+18 -3
View File
@@ -43,6 +43,23 @@ export function buildAreaServed(locations = locationPages) {
}));
}
export const goodwalkProviderNode = {
'@type': ['LocalBusiness', 'PetCareService'],
'@id': `${siteUrl}/#business`,
name: 'Goodwalk',
url: siteUrl,
logo: `${siteUrl}/images/goodwalk-auckland-dog-walking-logo.webp`,
image: `${siteUrl}/images/goodwalk-auckland-dog-walking-logo.webp`,
email: 'info@goodwalk.co.nz',
telephone: '+64226421011',
address: {
'@type': 'PostalAddress',
addressLocality: 'Auckland Central',
addressRegion: 'Auckland',
addressCountry: 'NZ'
}
} as const;
function getLocationSeoImage(location: LocationPageContent) {
return location.seo?.image ?? location.parks.find((park) => park.image?.src)?.image?.src ?? defaultLocationImage;
}
@@ -81,9 +98,7 @@ export function buildLocationSeo(location: LocationPageContent) {
name: serviceName,
description,
serviceType,
provider: {
'@id': `${siteUrl}/#business`
},
provider: goodwalkProviderNode,
areaServed: {
'@type': 'Place',
name: `${location.suburb}, Auckland, New Zealand`