@rileybathurst/paddle 0.0.50 → 0.0.51
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 +11 -16
package/package.json
CHANGED
package/src/PaddleSEO.tsx
CHANGED
|
@@ -44,13 +44,13 @@ function Breadcrumbs(breadcrumbs: BreadcrumbsTypes) {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
type SEOtypes = {
|
|
47
|
-
title
|
|
48
|
-
description
|
|
49
|
-
url
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
breadcrumbs
|
|
53
|
-
children
|
|
47
|
+
title: string;
|
|
48
|
+
description: string;
|
|
49
|
+
url: string;
|
|
50
|
+
ogImage: string;
|
|
51
|
+
ogimagedescription: string;
|
|
52
|
+
breadcrumbs: BreadcrumbsTypes;
|
|
53
|
+
children: React.ReactNode;
|
|
54
54
|
|
|
55
55
|
strapiLocale: {
|
|
56
56
|
name: string;
|
|
@@ -58,13 +58,10 @@ type SEOtypes = {
|
|
|
58
58
|
topbar: string;
|
|
59
59
|
};
|
|
60
60
|
url: string;
|
|
61
|
-
ogImage: string;
|
|
62
|
-
ogimagedescription: string;
|
|
63
61
|
themeColor: string;
|
|
64
62
|
latitude: string;
|
|
65
63
|
longitude: string;
|
|
66
64
|
geoRadius: string;
|
|
67
|
-
phone: string;
|
|
68
65
|
};
|
|
69
66
|
|
|
70
67
|
strapiLocation: {
|
|
@@ -72,13 +69,14 @@ type SEOtypes = {
|
|
|
72
69
|
addressLocality: string;
|
|
73
70
|
addressRegion: string;
|
|
74
71
|
postalCode: string;
|
|
72
|
+
paymentAccepted: string;
|
|
73
|
+
phone: string;
|
|
75
74
|
opening_time: string;
|
|
76
75
|
closing_time: string;
|
|
77
|
-
paymentAccepted: string;
|
|
78
76
|
};
|
|
79
77
|
}
|
|
80
78
|
|
|
81
|
-
export const
|
|
79
|
+
export const PaddleSEO = (strapiLocale, strapiLocation: SEOtypes) => {
|
|
82
80
|
|
|
83
81
|
const businessName = `${strapiLocale.name} Kayak & Paddleboard rentals and tours`;
|
|
84
82
|
|
|
@@ -153,10 +151,7 @@ export const SEO = (strapiLocale, strapiLocation: SEOtypes) => {
|
|
|
153
151
|
`}
|
|
154
152
|
</Script>
|
|
155
153
|
|
|
156
|
-
{
|
|
157
|
-
{/* this was being weird inline so i put it in a function i might not need to */}
|
|
158
|
-
{/* {seo?.breadcrumbs ?? */}
|
|
159
|
-
<Breadcrumbs breadcrumbs={seo.breadcrumbs} />
|
|
154
|
+
<Breadcrumbs {...seo.breadcrumbs} />
|
|
160
155
|
{SE0.children}
|
|
161
156
|
</>
|
|
162
157
|
);
|