@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.59",
4
+ "version": "0.0.60",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -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({ season_start, season_end, opening_time, closing_time, name }: SeasonTypes) {
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
- {/* {SE0.children} */}
171
+ {children}
172
172
  </>
173
173
  );
174
174
  };
package/src/Test.tsx DELETED
@@ -1,3 +0,0 @@
1
- import * as React from "react"
2
-
3
- export const Button = () => null