@rileybathurst/paddle 1.1.1 → 1.1.2

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": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -13,7 +13,6 @@ type defaultPaddlerTypes = {
13
13
  image: GatsbyImageType;
14
14
  };
15
15
  }
16
-
17
16
  const DefaultPaddler = ({ sport, defaultKayaker, defaultPaddleboarder }: defaultPaddlerTypes) => {
18
17
  if (sport === "sup") {
19
18
  return (
@@ -42,19 +41,28 @@ interface CompositionTypes {
42
41
  defaultPaddleboarder: {
43
42
  image: GatsbyImageType;
44
43
  }
45
- WaterTexture: {
44
+ sandTexture: {
45
+ image: GatsbyImageType;
46
+ };
47
+ waterTexture: {
46
48
  image: GatsbyImageType;
47
49
  };
48
50
  }
49
- export const PaddleComposition = ({ sport, image, defaultKayaker, defaultPaddleboarder, WaterTexture }: CompositionTypes) => {
51
+ export const PaddleComposition = ({ sport, image, defaultKayaker, defaultPaddleboarder, sandTexture, waterTexture }: CompositionTypes) => {
50
52
  return (
51
53
  <div className="composition">
52
54
  <GatsbyImage
53
- image={WaterTexture.image.localFile.childImageSharp.gatsbyImageData}
54
- alt={WaterTexture.image.alternativeText || "Water Texture"}
55
+ image={waterTexture.image.localFile.childImageSharp.gatsbyImageData}
56
+ alt={waterTexture.image.alternativeText || "Water Texture"}
55
57
  className="img__wrapped texture-1"
56
58
  />
57
59
 
60
+ <GatsbyImage
61
+ image={sandTexture.image.localFile.childImageSharp.gatsbyImageData}
62
+ alt={sandTexture.image.alternativeText || "Sand Texture"}
63
+ className='img__wrapped texture-2'
64
+ />
65
+
58
66
  {image ?
59
67
  <GatsbyImage
60
68
  image={image.localFile.childImageSharp.gatsbyImageData}
@@ -384,7 +384,6 @@ header {
384
384
  /*------------------*/
385
385
 
386
386
  .composition {
387
- /* grid-area: composition; /* ? is this still used */
388
387
  display: grid;
389
388
  grid-template-columns: 5% 10% 70% 10% 5%;
390
389
  grid-template-rows: 5% 90% 5%;