@rileybathurst/paddle 1.3.7 → 1.3.9
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/paddle-purchase.tsx
CHANGED
|
@@ -22,6 +22,8 @@ interface BadgeTypes {
|
|
|
22
22
|
demo: boolean;
|
|
23
23
|
discount?: number;
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
// TODO: use the way I do specs for this
|
|
25
27
|
// TODO: deal with multiple
|
|
26
28
|
const Badges = ({ inflatable, demo, discount }: BadgeTypes) => {
|
|
27
29
|
if (discount) {
|
|
@@ -67,8 +69,8 @@ type purchaseTypes = {
|
|
|
67
69
|
export const PaddlePurchase = ({ id, title, slug, excerpt, length, width, inflatable, capacity, demo, discount, cutout, sportSlug, brandSlug, baseOne, baseTwo, baseThree, topOne, topTwo, topThree }: purchaseTypes) => {
|
|
68
70
|
|
|
69
71
|
return (
|
|
70
|
-
<article key={id} className="
|
|
71
|
-
<div className="
|
|
72
|
+
<article key={id} className="purchase">
|
|
73
|
+
<div className="purchase-collage">
|
|
72
74
|
|
|
73
75
|
<PaddleTextureBackgrounds
|
|
74
76
|
baseOne={baseOne}
|
|
@@ -97,13 +99,13 @@ export const PaddlePurchase = ({ id, title, slug, excerpt, length, width, inflat
|
|
|
97
99
|
discount={discount}
|
|
98
100
|
/>
|
|
99
101
|
</div>
|
|
100
|
-
<h4 className="
|
|
102
|
+
<h4 className="purchase__title">
|
|
101
103
|
<Link to={`/retail/${sportSlug}/${brandSlug}/${slug}`}>{title}</Link>
|
|
102
104
|
</h4>
|
|
103
105
|
<hr />
|
|
104
106
|
<p>{excerpt}</p>
|
|
105
107
|
<hr />
|
|
106
|
-
<div className="
|
|
108
|
+
<div className="purchase__details">
|
|
107
109
|
<h4>
|
|
108
110
|
<PaddleInchesRemainder inches={length} />
|
|
109
111
|
long by {width}" wide
|
package/src/styles/buttons.css
CHANGED
|
@@ -56,9 +56,9 @@ button:active {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.book-now {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
);
|
|
59
|
+
text-transform: uppercase;
|
|
60
|
+
/* ? why is this different than a regular button */
|
|
61
|
+
margin-block-start: var(--kosciuszko);
|
|
62
62
|
background-color: var(--neutral-800);
|
|
63
63
|
border-color: var(--neutral-700);
|
|
64
64
|
color: var(--neutral-300);
|
package/src/styles/cards.css
CHANGED
package/src/styles/layout.css
CHANGED
|
@@ -36,15 +36,15 @@ footer,
|
|
|
36
36
|
flex-basis: var(--stork);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.condor,
|
|
40
|
-
header,
|
|
41
39
|
main,
|
|
40
|
+
.condor,
|
|
42
41
|
.location,
|
|
43
42
|
.react-aria-Breadcrumbs.condor {
|
|
44
43
|
max-width: min(var(--condor), calc(100vw - var(--denali)));
|
|
45
44
|
flex-basis: var(--condor);
|
|
46
45
|
}
|
|
47
46
|
|
|
47
|
+
header,
|
|
48
48
|
.pelican,
|
|
49
49
|
.react-aria-Breadcrumbs.pelican {
|
|
50
50
|
max-width: min(var(--pelican), calc(100vw - var(--denali)));
|