v4.0.0.2
This commit is contained in:
+18
-3
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user