@rileybathurst/paddle 1.2.3 → 1.2.5

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.2.3",
4
+ "version": "1.2.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -3,13 +3,16 @@ import * as React from "react"
3
3
  interface BookNowTypes {
4
4
  peek_base: string
5
5
  strapiLocaleName: string
6
+ specificName?: string
7
+ specificLink?: string
6
8
  }
7
- export const PaddleBookNow = ({ peek_base, strapiLocaleName }: BookNowTypes) =>
9
+ export const PaddleBookNow = ({ peek_base, strapiLocaleName, specificName, specificLink }: BookNowTypes) =>
8
10
  <a
9
- href={peek_base}
11
+ href={specificLink || peek_base}
10
12
  rel="noopener noreferrer"
11
13
  className="book-now"
12
- title={`Book now with ${strapiLocaleName} kayak and paddleboard`}
14
+ title={`Book now ${specificLink && <> {specificLink} </>} with ${strapiLocaleName} kayak and paddleboard`}
13
15
  >
16
+ {specificName && (<>{specificName} <br /></>)}
14
17
  BOOK NOW
15
18
  </a>
@@ -3,11 +3,6 @@ export interface PaddleLocationCardTypes {
3
3
  svg: string;
4
4
  name: string;
5
5
  link: string;
6
- address: {
7
- data: {
8
- address: string;
9
- };
10
- };
11
6
  description: {
12
7
  data: {
13
8
  description: string;