@rileybathurst/paddle 0.0.70 → 0.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/PaddleSEO.tsx +3 -10
package/package.json
CHANGED
package/src/PaddleSEO.tsx
CHANGED
|
@@ -32,7 +32,7 @@ function Breadcrumbs(breadcrumbs: BreadcrumbsTypes) {
|
|
|
32
32
|
"@type": "ListItem",
|
|
33
33
|
"position": ${Number.parseInt(key) + 1},
|
|
34
34
|
"name": "${breadcrumb.name}",
|
|
35
|
-
"item": "${
|
|
35
|
+
"item": "${url}/${breadcrumb.item}"
|
|
36
36
|
}`
|
|
37
37
|
})}
|
|
38
38
|
]
|
|
@@ -118,7 +118,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
118
118
|
const paymentAcceptedFormatted = paymentAcceptedQuery.split('\n').map((payment: string) => payment.trim().replace('- ', '')).join(', ');
|
|
119
119
|
// console.log(paymentAcceptedFormatted);
|
|
120
120
|
|
|
121
|
-
console.log(breadcrumbs);
|
|
121
|
+
// console.log(breadcrumbs);
|
|
122
122
|
|
|
123
123
|
return (
|
|
124
124
|
<>
|
|
@@ -149,8 +149,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
149
149
|
"addressRegion": "${strapiLocation.addressRegion}",
|
|
150
150
|
"postalCode": "${strapiLocation.postalCode}",
|
|
151
151
|
"addressCountry": "US"
|
|
152
|
-
}
|
|
153
|
-
|
|
152
|
+
},
|
|
154
153
|
"department": [
|
|
155
154
|
${allStrapiLocation.nodes.map((location) => {
|
|
156
155
|
return `{
|
|
@@ -167,11 +166,6 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
167
166
|
}`
|
|
168
167
|
})}
|
|
169
168
|
],
|
|
170
|
-
"geo": {
|
|
171
|
-
"@type": "GeoCoordinates",
|
|
172
|
-
"latitude": "${strapiLocale.latitude}",
|
|
173
|
-
"longitude": "${strapiLocale.longitude}"
|
|
174
|
-
},
|
|
175
169
|
"areaServed": {
|
|
176
170
|
"@type": "GeoCircle",
|
|
177
171
|
"geoMidpoint": {
|
|
@@ -183,7 +177,6 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
183
177
|
},
|
|
184
178
|
"telephone": "${strapiLocale.phone}",
|
|
185
179
|
"email": "${strapiLocale.email}",
|
|
186
|
-
|
|
187
180
|
"numberOfEmployees" : "${strapiLocale.numberOfEmployees}",
|
|
188
181
|
"priceRange": "${strapiLocale.priceRange}",
|
|
189
182
|
"slogan": "${strapiLocale.slogan}",
|