@rileybathurst/paddle 0.0.106 → 0.0.108

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.106",
4
+ "version": "0.0.108",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -130,7 +130,7 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
130
130
 
131
131
  if (link.includes('http')) {
132
132
  return (
133
- <>
133
+ <div className="location-wrapper">
134
134
  <a href={link}
135
135
  className={`location ${background}`}
136
136
  target="_blank"
@@ -156,12 +156,12 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
156
156
 
157
157
  />
158
158
  </a>
159
- {name === "On Water Rental" ? <Phone phone={phone} /> : null}
160
- </>
159
+ {name === "On Water Rental" && phone ? <Phone phone={phone} /> : null}
160
+ </div>
161
161
  )
162
162
  }
163
163
  return (
164
- <>
164
+ <div className="location-wrapper">
165
165
  <Link
166
166
  to={link}
167
167
  className={`location ${background}`}
@@ -184,7 +184,7 @@ export function PaddleLocationCard({ svg, name, link, address, description, open
184
184
  season_end={season_end}
185
185
  />
186
186
  </Link>
187
- {name === "On Water Rental" ? <Phone phone={phone} /> : null}
188
- </>
187
+ {name === "On Water Rental" && phone ? <Phone phone={phone} /> : null}
188
+ </div>
189
189
  )
190
190
  }
@@ -221,8 +221,11 @@ header {
221
221
  margin-block-end: var(--kilimanjaro);
222
222
  }
223
223
 
224
- .location {
224
+ .location-wrapper {
225
225
  max-width: var(--condor);
226
+ }
227
+
228
+ .location {
226
229
  display: flex;
227
230
  flex-flow: row wrap;
228
231
  align-items: center;
@@ -251,7 +254,7 @@ header {
251
254
  }
252
255
  }
253
256
 
254
- .location.false:not(:last-child) {
257
+ .location-wrapper.false:not(:last-child) {
255
258
  border-block-end: 1px solid;
256
259
  border-radius: 0;
257
260
  }
@@ -36,6 +36,7 @@
36
36
  --navy: oklch(50% 0.14 230);
37
37
  --navy-500: oklch(37.5% 0.14 230);
38
38
  --navy-600: oklch(25% 0.12 230);
39
+ --navy-700: oklch(12.5% 0.12 230);
39
40
 
40
41
  --sunshine-100: oklch(97.5% 0.025 95);
41
42
  --sunshine-200: oklch(95% 0.05 95);