@rileybathurst/paddle 0.0.59 → 0.0.60
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/PaddleComposition.tsx +1 -26
- package/src/PaddleLocationCard.tsx +1 -1
- package/src/PaddleSEO.tsx +2 -2
- package/src/Test.tsx +0 -3
package/package.json
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
// ! this isnt finished it wont have faker when its done
|
|
3
3
|
import { faker } from '@faker-js/faker';
|
|
4
|
-
// import { GatsbyImage } from "gatsby-plugin-image"
|
|
5
|
-
|
|
6
|
-
// import WaterTexture from "../images/watertexture";
|
|
7
|
-
// import Kayaker from "../images/kayaker";
|
|
8
|
-
// import Supper from "../images/supper";
|
|
9
|
-
// import { useStrapiTextures } from "../hooks/use-strapi-textures"
|
|
10
|
-
|
|
11
|
-
/* // TODO: rename
|
|
12
|
-
interface TopThreeTypes {
|
|
13
|
-
className: string;
|
|
14
|
-
}
|
|
15
|
-
function TopThree({ className }: TopThreeTypes) {
|
|
16
|
-
|
|
17
|
-
// const { query } = useStrapiTextures()
|
|
18
|
-
// console.log(query.baseone);
|
|
19
|
-
|
|
20
|
-
return <GatsbyImage
|
|
21
|
-
image={useStrapiTextures().topthree.image.localFile.childImageSharp.gatsbyImageData}
|
|
22
|
-
alt="deepwater texture"
|
|
23
|
-
className={`texture-slice crops ${props.className}`}
|
|
24
|
-
objectFit="contain"
|
|
25
|
-
/>
|
|
26
|
-
|
|
27
|
-
// ! Testing
|
|
28
|
-
return null;
|
|
29
|
-
} */
|
|
30
4
|
|
|
31
5
|
|
|
32
6
|
interface CompositionTypes {
|
|
@@ -35,6 +9,7 @@ interface CompositionTypes {
|
|
|
35
9
|
const PaddleComposition = ({ sport }: CompositionTypes) => {
|
|
36
10
|
return (
|
|
37
11
|
<div className="composition">
|
|
12
|
+
{sport}
|
|
38
13
|
{/* <WaterTexture className="texture-1" /> */}
|
|
39
14
|
<img
|
|
40
15
|
src={faker.image.urlPlaceholder()}
|
|
@@ -12,7 +12,7 @@ interface SeasonTypes {
|
|
|
12
12
|
closing_time: string;
|
|
13
13
|
name: string;
|
|
14
14
|
}
|
|
15
|
-
function Season({
|
|
15
|
+
function Season({ name }: SeasonTypes) {
|
|
16
16
|
|
|
17
17
|
// TODO: these need a query but thats not the most important first step
|
|
18
18
|
if (name === "Free Parking Lot" || name === "Parking" || name === "Delivery") {
|
package/src/PaddleSEO.tsx
CHANGED
|
@@ -83,7 +83,7 @@ type SEOtypes = {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, breadcrumbs, strapiLocale, allStrapiLocation }: SEOtypes) => {
|
|
86
|
+
export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, breadcrumbs, strapiLocale, allStrapiLocation, children }: SEOtypes) => {
|
|
87
87
|
|
|
88
88
|
const businessName = `${strapiLocale.name} Kayak & Paddleboard rentals and tours`;
|
|
89
89
|
|
|
@@ -168,7 +168,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
|
|
|
168
168
|
url={strapiLocale.url}
|
|
169
169
|
{...breadcrumbs}
|
|
170
170
|
/>
|
|
171
|
-
{
|
|
171
|
+
{children}
|
|
172
172
|
</>
|
|
173
173
|
);
|
|
174
174
|
};
|
package/src/Test.tsx
DELETED