@rileybathurst/paddle 0.0.71 → 0.0.73
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 +4 -8
- package/src/styles/cards.css +7 -1
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
|
<>
|
|
@@ -150,6 +150,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
150
150
|
"postalCode": "${strapiLocation.postalCode}",
|
|
151
151
|
"addressCountry": "US"
|
|
152
152
|
},
|
|
153
|
+
${allStrapiLocation.nodes.length > 1 ? `
|
|
153
154
|
"department": [
|
|
154
155
|
${allStrapiLocation.nodes.map((location) => {
|
|
155
156
|
return `{
|
|
@@ -166,11 +167,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
166
167
|
}`
|
|
167
168
|
})}
|
|
168
169
|
],
|
|
169
|
-
|
|
170
|
-
"@type": "GeoCoordinates",
|
|
171
|
-
"latitude": "${strapiLocale.latitude}",
|
|
172
|
-
"longitude": "${strapiLocale.longitude}"
|
|
173
|
-
},
|
|
170
|
+
` : ''}
|
|
174
171
|
"areaServed": {
|
|
175
172
|
"@type": "GeoCircle",
|
|
176
173
|
"geoMidpoint": {
|
|
@@ -182,7 +179,6 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
182
179
|
},
|
|
183
180
|
"telephone": "${strapiLocale.phone}",
|
|
184
181
|
"email": "${strapiLocale.email}",
|
|
185
|
-
|
|
186
182
|
"numberOfEmployees" : "${strapiLocale.numberOfEmployees}",
|
|
187
183
|
"priceRange": "${strapiLocale.priceRange}",
|
|
188
184
|
"slogan": "${strapiLocale.slogan}",
|
package/src/styles/cards.css
CHANGED
|
@@ -121,10 +121,16 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.card:hover
|
|
124
|
+
.card:hover,
|
|
125
|
+
.ticket:hover {
|
|
125
126
|
p {
|
|
126
127
|
text-decoration: underline;
|
|
127
128
|
}
|
|
129
|
+
|
|
130
|
+
/* TODO: this could use more */
|
|
131
|
+
img {
|
|
132
|
+
filter: brightness(80%);
|
|
133
|
+
}
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
.deck:empty {
|