@rileybathurst/paddle 0.0.88 → 0.0.90
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
package/src/PaddleSpecs.tsx
CHANGED
|
@@ -20,8 +20,8 @@ export const PaddleSpecs = (specs: SpecsTypes) =>
|
|
|
20
20
|
if (key === 'time' && typeof value === 'object') {
|
|
21
21
|
return (
|
|
22
22
|
<div key={key} className="spec">
|
|
23
|
-
<h2>{value.
|
|
24
|
-
<h3>{value.
|
|
23
|
+
<h2>{value.value}</h2>
|
|
24
|
+
<h3>{value.entry}</h3>
|
|
25
25
|
</div>
|
|
26
26
|
);
|
|
27
27
|
// }
|
|
@@ -12,6 +12,7 @@ type PaddleSunsetTourTimesTypes = {
|
|
|
12
12
|
export const PaddleSunsetTourTimes = ({ nodes }: PaddleSunsetTourTimesTypes) =>
|
|
13
13
|
<section className="paddle-sunset-tour-times">
|
|
14
14
|
{/* // TODO: stylize start with a storybook */}
|
|
15
|
+
{/* // TODO: current */}
|
|
15
16
|
<p>*We adapt the time of our sunset tour to the sun</p>
|
|
16
17
|
{nodes.map((time) => {
|
|
17
18
|
const startDate = new Date(time.startDate);
|
package/src/PaddleTicket.tsx
CHANGED
|
@@ -4,13 +4,14 @@ import { GatsbyImage } from "gatsby-plugin-image"
|
|
|
4
4
|
import type { PaddleTicketTypes } from "./types/ticket-types"
|
|
5
5
|
import { PaddleTime } from "./PaddleTime"
|
|
6
6
|
|
|
7
|
-
export function PaddleTicket({ ogimage, slug, name, start, finish, duration, timeframe, fitness, excerpt, price, peek, peek_tours_fall_back, tour_page }: PaddleTicketTypes) {
|
|
7
|
+
export function PaddleTicket({ ogimage, slug, name, start, finish, duration, timeframe, fitness, excerpt, price, peek, peek_tours_fall_back, tour_page, allStrapiSunsetTourTime }: PaddleTicketTypes) {
|
|
8
8
|
|
|
9
9
|
const time = PaddleTime({
|
|
10
10
|
start: start,
|
|
11
11
|
finish: finish,
|
|
12
12
|
duration: duration,
|
|
13
13
|
timeframe: timeframe,
|
|
14
|
+
allStrapiSunsetTourTime: allStrapiSunsetTourTime, // Replace null with the appropriate value
|
|
14
15
|
});
|
|
15
16
|
|
|
16
17
|
return (
|
package/src/styles/layout.css
CHANGED
|
@@ -52,6 +52,9 @@ footer,
|
|
|
52
52
|
.deck,
|
|
53
53
|
.react-aria-Breadcrumbs {
|
|
54
54
|
max-width: min(var(--albatross), calc(100vw - var(--denali)));
|
|
55
|
+
/* max-width: var(--albatross); */
|
|
56
|
+
/* ! theres an issue here thjings are not wrapping when they should */
|
|
57
|
+
/* max-width: 82rem; */
|
|
55
58
|
flex-basis: var(--albatross);
|
|
56
59
|
}
|
|
57
60
|
|