@scalemule/news-publication 0.0.51 → 0.0.53
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/README.md +2 -0
- package/dist/chunk-KNO2LIDQ.js +892 -0
- package/dist/pets-forms.cjs +74 -14
- package/dist/pets-forms.js +5 -2
- package/dist/pets-interactions.cjs +25 -19
- package/dist/pets-interactions.js +25 -19
- package/dist/pets-plugin.cjs +105 -24
- package/dist/pets-plugin.js +36 -12
- package/dist/pets-publication.cjs +490 -213
- package/dist/pets-publication.js +5 -4
- package/dist/pets-view.cjs +488 -210
- package/dist/pets-view.d.cts +5 -2
- package/dist/pets-view.d.ts +5 -2
- package/dist/pets-view.js +1 -1
- package/fonts/bricolage-OFL.txt +93 -0
- package/fonts/dmsans-OFL.txt +93 -0
- package/fonts/paw-bricolage.woff2 +0 -0
- package/fonts/paw-dmsans.woff2 +0 -0
- package/package.json +3 -2
- package/pets.css +885 -448
- package/dist/chunk-QW3OZB22.js +0 -616
|
@@ -156,6 +156,307 @@ async function petAcknowledgments(scope, community, productPath = "/pets", fetch
|
|
|
156
156
|
return [];
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
+
function PawBayIllustration() {
|
|
160
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
161
|
+
"svg",
|
|
162
|
+
{
|
|
163
|
+
className: "paw-bay-art",
|
|
164
|
+
viewBox: "0 0 740 650",
|
|
165
|
+
fill: "none",
|
|
166
|
+
"aria-hidden": "true",
|
|
167
|
+
focusable: "false",
|
|
168
|
+
children: [
|
|
169
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
170
|
+
"path",
|
|
171
|
+
{
|
|
172
|
+
d: "M40 279C40 125 156 25 328 25h52c174 0 320 115 320 285v276H40V279Z",
|
|
173
|
+
fill: "var(--paw-art-sky)"
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "544", cy: "142", r: "58", fill: "#f9d66f" }),
|
|
177
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
178
|
+
"path",
|
|
179
|
+
{
|
|
180
|
+
d: "M67 283c116-82 192-10 263-47 124-64 237-35 370 54v296H40V307l27-24Z",
|
|
181
|
+
fill: "var(--paw-art-hill)"
|
|
182
|
+
}
|
|
183
|
+
),
|
|
184
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
185
|
+
"path",
|
|
186
|
+
{
|
|
187
|
+
d: "M40 368c132-17 202-104 339-46 97 41 191 2 321 21v243H40V368Z",
|
|
188
|
+
fill: "#8ec4ce"
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { stroke: "#477b83", strokeWidth: "3", opacity: ".7", children: [
|
|
192
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M52 336h249M91 269v75m130-93v87M91 285c43 49 85 45 130-11m-130 32c42 38 85 35 130-11M112 306v30m24-15v15m27-10v10m30-21v21" }),
|
|
193
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
194
|
+
"path",
|
|
195
|
+
{
|
|
196
|
+
d: "M347 352h54m96 23h105m-346 8h65m115-44h38",
|
|
197
|
+
strokeLinecap: "round"
|
|
198
|
+
}
|
|
199
|
+
)
|
|
200
|
+
] }),
|
|
201
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
202
|
+
"path",
|
|
203
|
+
{
|
|
204
|
+
d: "M40 435c87-40 177-43 273-16 146 41 264-38 387 5v162H40V435Z",
|
|
205
|
+
fill: "var(--paw-art-ground)"
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
209
|
+
"path",
|
|
210
|
+
{
|
|
211
|
+
d: "M365 415c-47 42-65 56-35 83 39 35 140 41 166 88H333c-35-30-94-47-95-82-1-37 84-66 127-89Z",
|
|
212
|
+
fill: "#f4f3dc"
|
|
213
|
+
}
|
|
214
|
+
),
|
|
215
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { stroke: "#204d50", strokeWidth: "5", strokeLinecap: "round", children: [
|
|
216
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m447 193 9-6 10 5m-19 22 9-6 10 5" }),
|
|
217
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
218
|
+
"path",
|
|
219
|
+
{
|
|
220
|
+
d: "M113 473v-65m0 29c-25 0-31-16-32-31 23 0 31 16 32 31Zm1-13c25-3 31-19 28-35-19 7-27 18-28 35Z",
|
|
221
|
+
fill: "#6d995b"
|
|
222
|
+
}
|
|
223
|
+
),
|
|
224
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
225
|
+
"path",
|
|
226
|
+
{
|
|
227
|
+
d: "M637 548v-52m0 22c-19-1-28-13-26-28 18 2 25 15 26 28Zm1-11c19-1 27-16 26-29-17 1-25 15-26 29Z",
|
|
228
|
+
fill: "#6d995b"
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
] }),
|
|
232
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { className: "paw-art-dog", children: [
|
|
233
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
234
|
+
"path",
|
|
235
|
+
{
|
|
236
|
+
d: "M250 459c-43 0-79-37-62-81",
|
|
237
|
+
stroke: "#bf723c",
|
|
238
|
+
strokeWidth: "29",
|
|
239
|
+
strokeLinecap: "round"
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
243
|
+
"path",
|
|
244
|
+
{
|
|
245
|
+
d: "M248 457c-8-82 31-132 87-130 58 2 82 57 71 132l-12 67H258l-10-69Z",
|
|
246
|
+
fill: "#d68b4f"
|
|
247
|
+
}
|
|
248
|
+
),
|
|
249
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
250
|
+
"path",
|
|
251
|
+
{
|
|
252
|
+
d: "M300 330c-21 51-20 105 12 143l48 7c26-54 21-107-9-148Z",
|
|
253
|
+
fill: "#fff6df"
|
|
254
|
+
}
|
|
255
|
+
),
|
|
256
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
257
|
+
"path",
|
|
258
|
+
{
|
|
259
|
+
d: "M250 446c-16 16-18 44-4 67l37 13c10-28 16-48 4-72",
|
|
260
|
+
fill: "#bf723c"
|
|
261
|
+
}
|
|
262
|
+
),
|
|
263
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
264
|
+
"path",
|
|
265
|
+
{
|
|
266
|
+
d: "m311 420-6 105h-27c-17 0-20 21-2 23h63l11-126m30 0 7 101h25c19 0 19 24 2 25h-57l-7-129",
|
|
267
|
+
fill: "#d68b4f"
|
|
268
|
+
}
|
|
269
|
+
),
|
|
270
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
271
|
+
"path",
|
|
272
|
+
{
|
|
273
|
+
d: "M294 323c-42-27-61-77-47-122 12-39 40-67 84-70 60-4 101 31 108 79l-4 54c-2 51-31 78-78 80l-63-21Z",
|
|
274
|
+
fill: "#e9a867"
|
|
275
|
+
}
|
|
276
|
+
),
|
|
277
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
278
|
+
"path",
|
|
279
|
+
{
|
|
280
|
+
d: "M322 137c-36-10-72 13-81 47-12 45-15 93 5 99 31 10 50-52 53-86 1-24 3-39 23-60Z",
|
|
281
|
+
fill: "#193e45"
|
|
282
|
+
}
|
|
283
|
+
),
|
|
284
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
285
|
+
"path",
|
|
286
|
+
{
|
|
287
|
+
d: "M396 152c27-15 55 13 53 49-2 30-15 54-25 43l-28-92Z",
|
|
288
|
+
fill: "#193e45"
|
|
289
|
+
}
|
|
290
|
+
),
|
|
291
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
292
|
+
"path",
|
|
293
|
+
{
|
|
294
|
+
d: "M362 202c-13 1-20 17-21 40-14 0-40 10-36 37 4 30 40 47 79 36 31-8 43-33 44-57-23-14-33-21-39-37-6-13-16-20-27-19Z",
|
|
295
|
+
fill: "#fff6df"
|
|
296
|
+
}
|
|
297
|
+
),
|
|
298
|
+
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "359", cy: "217", rx: "5", ry: "7", fill: "#193e45" }),
|
|
299
|
+
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "402", cy: "217", rx: "5", ry: "7", fill: "#193e45" }),
|
|
300
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
301
|
+
"path",
|
|
302
|
+
{
|
|
303
|
+
d: "M372 250c8-5 22-3 28 2-1 11-8 17-15 17-7-1-12-8-13-19Z",
|
|
304
|
+
fill: "#193e45"
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
308
|
+
"path",
|
|
309
|
+
{
|
|
310
|
+
d: "M385 268v15m0-1c-7 10-19 7-23 1m23-1c5 10 16 8 20 3",
|
|
311
|
+
stroke: "#193e45",
|
|
312
|
+
strokeWidth: "4",
|
|
313
|
+
strokeLinecap: "round"
|
|
314
|
+
}
|
|
315
|
+
),
|
|
316
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M382 291c-1 20 17 25 20 6v-9", fill: "#e67b6d" }),
|
|
317
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m286 313 64 26 52-16-35 65-29-37-52-15Z", fill: "#ed795e" }),
|
|
318
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
319
|
+
"path",
|
|
320
|
+
{
|
|
321
|
+
d: "m307 323 43 20 31-10m-38 22 22 18",
|
|
322
|
+
stroke: "#ffe5d2",
|
|
323
|
+
strokeWidth: "4"
|
|
324
|
+
}
|
|
325
|
+
)
|
|
326
|
+
] }),
|
|
327
|
+
/* @__PURE__ */ jsxRuntime.jsxs("g", { className: "paw-art-cat", children: [
|
|
328
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
329
|
+
"path",
|
|
330
|
+
{
|
|
331
|
+
d: "M531 480c44 11 64-15 54-46-8-25-29-23-34-7",
|
|
332
|
+
stroke: "#204d50",
|
|
333
|
+
strokeWidth: "19",
|
|
334
|
+
strokeLinecap: "round"
|
|
335
|
+
}
|
|
336
|
+
),
|
|
337
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
338
|
+
"path",
|
|
339
|
+
{
|
|
340
|
+
d: "M462 478c-7-61 1-106 38-107 35-1 52 47 43 108l-4 31h-71l-6-32Z",
|
|
341
|
+
fill: "#204d50"
|
|
342
|
+
}
|
|
343
|
+
),
|
|
344
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
345
|
+
"path",
|
|
346
|
+
{
|
|
347
|
+
d: "m466 394-13-65 37 22 35-25 9 67c-14 29-51 29-68 1Z",
|
|
348
|
+
fill: "#204d50"
|
|
349
|
+
}
|
|
350
|
+
),
|
|
351
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m463 346 10 19 8-8m39-14-15 14 16 6", fill: "#eeab94" }),
|
|
352
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
353
|
+
"path",
|
|
354
|
+
{
|
|
355
|
+
d: "M490 413c-10 15-13 56-7 97h33c4-38-1-68-15-97",
|
|
356
|
+
fill: "#f4f3dc"
|
|
357
|
+
}
|
|
358
|
+
),
|
|
359
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
360
|
+
"path",
|
|
361
|
+
{
|
|
362
|
+
d: "m478 381 6-2m26-1 6 2m-20 9 4 2-3 4m-28-6-17-5m17 13-18 1m71-12 17-6m-16 14 19-1",
|
|
363
|
+
stroke: "#f4f3dc",
|
|
364
|
+
strokeWidth: "3",
|
|
365
|
+
strokeLinecap: "round"
|
|
366
|
+
}
|
|
367
|
+
),
|
|
368
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
369
|
+
"path",
|
|
370
|
+
{
|
|
371
|
+
d: "M461 501h21m35 0h25",
|
|
372
|
+
stroke: "#204d50",
|
|
373
|
+
strokeWidth: "18",
|
|
374
|
+
strokeLinecap: "round"
|
|
375
|
+
}
|
|
376
|
+
)
|
|
377
|
+
] }),
|
|
378
|
+
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "338", cy: "559", rx: "119", ry: "6", fill: "#396f52", opacity: ".18" }),
|
|
379
|
+
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "504", cy: "520", rx: "63", ry: "5", fill: "#396f52", opacity: ".18" }),
|
|
380
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "166", cy: "526", r: "23", fill: "#f6ce5d" }),
|
|
381
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M157 505c20 11 24 25 15 42", stroke: "#65814a", strokeWidth: "3" }),
|
|
382
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
383
|
+
"path",
|
|
384
|
+
{
|
|
385
|
+
d: "m92 555 8-10 7 10m470-14 8-10 7 10",
|
|
386
|
+
stroke: "#6e905e",
|
|
387
|
+
strokeWidth: "3",
|
|
388
|
+
strokeLinecap: "round"
|
|
389
|
+
}
|
|
390
|
+
)
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
function PawInvitationArt() {
|
|
396
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 400 360", fill: "none", "aria-hidden": "true", focusable: "false", children: [
|
|
397
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
398
|
+
"path",
|
|
399
|
+
{
|
|
400
|
+
d: "m64 60 253-19 18 273-253 19Z",
|
|
401
|
+
fill: "var(--paw-art-sky)",
|
|
402
|
+
transform: "rotate(-8 200 180)"
|
|
403
|
+
}
|
|
404
|
+
),
|
|
405
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
406
|
+
"path",
|
|
407
|
+
{
|
|
408
|
+
d: "m77 31 262 26-27 280-262-26Z",
|
|
409
|
+
fill: "var(--paw-paper)",
|
|
410
|
+
stroke: "var(--paw-line)"
|
|
411
|
+
}
|
|
412
|
+
),
|
|
413
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m97 55 220 23-18 190-220-22Z", fill: "var(--paw-green)" }),
|
|
414
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
415
|
+
"g",
|
|
416
|
+
{
|
|
417
|
+
stroke: "var(--paw-ink)",
|
|
418
|
+
strokeWidth: "5",
|
|
419
|
+
strokeLinecap: "round",
|
|
420
|
+
strokeLinejoin: "round",
|
|
421
|
+
children: [
|
|
422
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
423
|
+
"path",
|
|
424
|
+
{
|
|
425
|
+
d: "M146 198c-21-28-16-84 17-101l27 18 25-7c41 2 60 45 40 78-15 26-44 31-62 34-20 2-37-7-47-22Z",
|
|
426
|
+
fill: "var(--paw-paper)"
|
|
427
|
+
}
|
|
428
|
+
),
|
|
429
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
430
|
+
"path",
|
|
431
|
+
{
|
|
432
|
+
d: "M164 99c-27-1-44 35-34 59 11 24 31-13 34-59Zm71 18c22 0 35 25 31 41",
|
|
433
|
+
fill: "var(--paw-ink)"
|
|
434
|
+
}
|
|
435
|
+
),
|
|
436
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "m185 154 1 2m41 2 1 2m-32 18 18 2-10 10Z" }),
|
|
437
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M204 190c-8 12-19 8-23 2m23-2c6 15 16 10 21 7M139 244l7-31m99 40-11-30" })
|
|
438
|
+
]
|
|
439
|
+
}
|
|
440
|
+
),
|
|
441
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
442
|
+
"path",
|
|
443
|
+
{
|
|
444
|
+
d: "m158 288 98 10",
|
|
445
|
+
stroke: "var(--paw-line)",
|
|
446
|
+
strokeWidth: "4",
|
|
447
|
+
strokeLinecap: "round"
|
|
448
|
+
}
|
|
449
|
+
),
|
|
450
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
451
|
+
"path",
|
|
452
|
+
{
|
|
453
|
+
d: "m302 29 8 18 20 2-15 14 3 20-17-10-17 9 4-20-14-14 20-1Z",
|
|
454
|
+
fill: "#f5c95b"
|
|
455
|
+
}
|
|
456
|
+
),
|
|
457
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M62 212c-20-28-50 5-3 38 52-21 29-58 3-38Z", fill: "#ed795e" })
|
|
458
|
+
] });
|
|
459
|
+
}
|
|
159
460
|
|
|
160
461
|
// src/sponsorships.ts
|
|
161
462
|
function safeSponsorUrl(value) {
|
|
@@ -226,209 +527,94 @@ function SponsorAcknowledgment({
|
|
|
226
527
|
}
|
|
227
528
|
);
|
|
228
529
|
}
|
|
229
|
-
function PawMark({ size =
|
|
530
|
+
function PawMark({ size = 40 }) {
|
|
230
531
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
231
532
|
"svg",
|
|
232
533
|
{
|
|
534
|
+
className: "paw-mark",
|
|
233
535
|
width: size,
|
|
234
536
|
height: size,
|
|
235
|
-
viewBox: "0 0
|
|
236
|
-
fill: "currentColor",
|
|
237
|
-
"aria-hidden": "true",
|
|
238
|
-
children: [
|
|
239
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
240
|
-
"ellipse",
|
|
241
|
-
{
|
|
242
|
-
cx: "10",
|
|
243
|
-
cy: "19",
|
|
244
|
-
rx: "5.1",
|
|
245
|
-
ry: "6.5",
|
|
246
|
-
transform: "rotate(-25 10 19)"
|
|
247
|
-
}
|
|
248
|
-
),
|
|
249
|
-
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "20", cy: "10", rx: "5", ry: "6.5", transform: "rotate(-8 20 10)" }),
|
|
250
|
-
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "32", cy: "12", rx: "5", ry: "6.5", transform: "rotate(14 32 12)" }),
|
|
251
|
-
/* @__PURE__ */ jsxRuntime.jsx("ellipse", { cx: "40", cy: "23", rx: "4.7", ry: "6.2", transform: "rotate(30 40 23)" }),
|
|
252
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 35c0-5 7-16 13-16s14 11 14 16c0 6-6 9-11 6-2-1-4-1-6 0-5 3-10 0-10-6Z" })
|
|
253
|
-
]
|
|
254
|
-
}
|
|
255
|
-
);
|
|
256
|
-
}
|
|
257
|
-
function PawNeighborhoodIllustration() {
|
|
258
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
259
|
-
"svg",
|
|
260
|
-
{
|
|
261
|
-
className: "paw-neighborhood-art",
|
|
262
|
-
viewBox: "0 0 520 460",
|
|
263
|
-
fill: "none",
|
|
537
|
+
viewBox: "0 0 573.94 529",
|
|
264
538
|
"aria-hidden": "true",
|
|
539
|
+
focusable: "false",
|
|
265
540
|
children: [
|
|
266
541
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
267
542
|
"path",
|
|
268
543
|
{
|
|
269
|
-
|
|
270
|
-
|
|
544
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
545
|
+
d: "M438.14,116.61c-13.43,29.67-37.83,43.23-70.22,41.59-26.22-1.33-47.57-18.07-53.85-44.04-8.61-35.6,4.38-73.47,32.54-97.01,23.86-19.95,59.01-24.71,80.86-2.33,25.28,25.88,24.83,70.53,10.67,101.8Z"
|
|
271
546
|
}
|
|
272
547
|
),
|
|
273
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "366", cy: "112", r: "44", fill: "var(--paw-sun)" }),
|
|
274
548
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
275
549
|
"path",
|
|
276
550
|
{
|
|
277
|
-
|
|
278
|
-
|
|
551
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
552
|
+
d: "M261.38,102.84c-3.42,34.87-26.95,55.34-62.34,55.6-47.55.35-70.66-41.61-72.41-84-.76-18.36,2.81-36.21,13.1-51.28C150.96,6.71,169.05-1.66,189.1.47c15.88,1.68,30.04,9.02,41.83,20.13,22.37,21.08,33.45,51.63,30.44,82.24Z"
|
|
279
553
|
}
|
|
280
554
|
),
|
|
281
555
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
282
556
|
"path",
|
|
283
557
|
{
|
|
284
|
-
|
|
285
|
-
|
|
558
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
559
|
+
d: "M74.37,233.2c-19.12,5.92-38.02,1.03-52.01-12.56C5.9,204.65-2.02,181.66.44,158.79s20.8-41.47,44.56-43.32c26.77-2.08,52.81,11.67,64.67,35.72,6.55,13.29,8.8,27.71,4.77,41.93-5.48,19.31-20.59,34.04-40.07,40.07Z"
|
|
286
560
|
}
|
|
287
561
|
),
|
|
288
562
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
289
563
|
"path",
|
|
290
564
|
{
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
strokeWidth: "2",
|
|
294
|
-
strokeLinecap: "round",
|
|
295
|
-
opacity: ".45"
|
|
565
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
566
|
+
d: "M554.12,217.92c-16.28,18.05-40.96,22.44-62.24,12.42-28.24-13.29-41.83-43.6-30.18-73.55,11.84-30.44,45.43-47.9,77.46-39.5,16.05,4.2,27.59,16.88,32.19,32.77,6.91,23.87-.39,49.18-17.23,67.85Z"
|
|
296
567
|
}
|
|
297
568
|
),
|
|
298
569
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
299
570
|
"path",
|
|
300
571
|
{
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
strokeWidth: "3",
|
|
304
|
-
strokeLinecap: "round",
|
|
305
|
-
opacity: ".45"
|
|
572
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
573
|
+
d: "M254.75,276.06c-11.16,1.17-18.16-5.23-31.29,5.65-2.03,1.68-3.74,3.55-6.45,4.65.19-7.18,3.13-13.83,8.89-18.06,9.64-7.09,24.35-3.41,28.86,7.76Z"
|
|
306
574
|
}
|
|
307
575
|
),
|
|
308
576
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
309
577
|
"path",
|
|
310
578
|
{
|
|
311
|
-
|
|
312
|
-
|
|
579
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
580
|
+
d: "M393.76,388.44c14.25.78,43.73,21.57,44.48,36.86-13.73-13.65-28.07-25.42-44.48-36.86Z"
|
|
313
581
|
}
|
|
314
582
|
),
|
|
315
583
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
316
584
|
"path",
|
|
317
585
|
{
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
strokeWidth: "17",
|
|
321
|
-
strokeLinecap: "round"
|
|
322
|
-
}
|
|
323
|
-
),
|
|
324
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
325
|
-
"path",
|
|
326
|
-
{
|
|
327
|
-
d: "M229 283c26-17 39-43 31-67-8-25-35-34-57-18-23 17-13 49 1 68",
|
|
328
|
-
fill: "var(--paw-terracotta)"
|
|
586
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
587
|
+
d: "M389.2,362.82c-13.07-10.75-14.56-12.34-32.27-9.64,2.18-7.74,11.87-11.56,19.39-9.51,7.9,2.16,14.35,10.44,12.88,19.15Z"
|
|
329
588
|
}
|
|
330
589
|
),
|
|
331
590
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
332
591
|
"path",
|
|
333
592
|
{
|
|
334
|
-
|
|
335
|
-
|
|
593
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
594
|
+
d: "M395.67,379.62c12.45-2.44,45.72,6.18,48.71,20.68-15.95-9.19-31.31-15.01-48.71-20.68Z"
|
|
336
595
|
}
|
|
337
596
|
),
|
|
338
597
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
339
598
|
"path",
|
|
340
599
|
{
|
|
341
|
-
|
|
342
|
-
|
|
600
|
+
fill: "var(--paw-logo-ink, #12314e)",
|
|
601
|
+
d: "M225.21,368.12c8.14-14.26,21.23-23.67,36.61-26.8l24.13-4.91c24.77-5.03,49.74-30.01,43.64-57.5-1.23-5.52-5.96-8.44-11.59-8.97-10.59-1.01-21.06-1.48-31.46-3.17-10.47-1.7-17.76-7.16-22.72-16.52-13.11-24.7-34.21-38.21-62.98-35.89-32.35,2.61-60.19,20.02-78.69,46.19-8.86,12.53-17.29,24.45-24.06,38.06-9.19,18.49,6.19,33.68,20.29,44.38,11.81,8.96,15.39,17.42,23.42,14.26,17.13-6.74,23.74-36.34,24.85-52.55l1.91-27.97c.45-6.63,1.48-12.94,5.66-18.84,10.07,43.41,17.92,81.63-15.36,116.38-18.45,19.26-30.63,43.84-21.53,70.61,1.81,5.31,4.18,9.89,5.44,15.71-49.05-41.25-82.59-100.28-68.34-165.81,2.75-12.63,7.16-23.65,13.2-34.96,14.89-27.92,36.14-51.76,63.26-68.22,29.85-18.12,65.65-21.17,97.88-7.93,14.6,6,26.59,15.11,38.32,26.09,7.66-6.63,14.7-12.8,23.27-18.11,27.44-17,60.05-20.76,90.86-10.43,18.28,6.12,34.08,16.52,48,29.84,32.73,31.32,55.61,73.73,53.14,120.37-1.9,35.78-15.78,69.68-39.3,97.5,2.83-33.15-1.57-57.13-20.69-83.05-1.39-19.67-2.57-38.89-16.51-55.64-10.36,9-17.24,20.04-25.23,30.79-17.93-6.9-37.08-3.27-49.82,11.18-15.8,17.9-32.66-7.14-33.3,15.72-4.67,5.19-8.68,9.51-9.33,16.8-1.08,12.18,3.59,23.69,13.76,30.79l12.21,8.52c12.5,8.72,16.99,23.63,13.91,38.67-2.35,11.43-8.1,21.24-15.29,30.53-8.3,10.65-17.82,19.82-28.28,28.44-10.27,8.46-18.67,17.43-28.71,27.3,6.77-55.37-37.54-71.57-53.11-115.32-5.31-14.91-5.64-31.2,2.56-45.56ZM310.95,414.5c.66-6.02-.23-11.99-4.42-16.09-3.63-3.56-9.46-5.66-15.26-4.62-7.74,1.39-13.23,6.73-18.29,13.26-7.08-12.24-20.28-17.67-30.59-9.89-4.5,3.4-6.97,9.12-6.98,15.36-.05,19.1,21.83,36.81,35.58,48.75,14.15-12.18,36.74-27.53,39.96-46.76Z"
|
|
343
602
|
}
|
|
344
603
|
),
|
|
345
604
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
346
605
|
"path",
|
|
347
606
|
{
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
strokeWidth: "19",
|
|
351
|
-
strokeLinecap: "round"
|
|
352
|
-
}
|
|
353
|
-
),
|
|
354
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
355
|
-
"path",
|
|
356
|
-
{
|
|
357
|
-
d: "M215 273l38-7",
|
|
358
|
-
stroke: "var(--paw-art-line)",
|
|
359
|
-
strokeWidth: "9",
|
|
360
|
-
strokeLinecap: "round"
|
|
361
|
-
}
|
|
362
|
-
),
|
|
363
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "248", cy: "223", r: "3.5", fill: "var(--paw-art-line)" }),
|
|
364
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M283 229h9c1 8-3 13-9 13", fill: "var(--paw-art-line)" }),
|
|
365
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
366
|
-
"path",
|
|
367
|
-
{
|
|
368
|
-
d: "M292 348c-9-46 1-79 33-79 33 0 47 37 48 77l-1 17h-80v-15Z",
|
|
369
|
-
fill: "var(--paw-art-cat)"
|
|
370
|
-
}
|
|
371
|
-
),
|
|
372
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M303 277l-6-43 26 20 23-22 2 48", fill: "var(--paw-art-cat)" }),
|
|
373
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
-
"path",
|
|
375
|
-
{
|
|
376
|
-
d: "M365 351c27-4 45-15 41-39-2-11-15-16-24-10",
|
|
377
|
-
stroke: "var(--paw-art-cat)",
|
|
378
|
-
strokeWidth: "12",
|
|
379
|
-
strokeLinecap: "round"
|
|
380
|
-
}
|
|
381
|
-
),
|
|
382
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
383
|
-
"path",
|
|
384
|
-
{
|
|
385
|
-
d: "M316 277h3m17-2h3m-13 10 3 2-3 3m-21-5-15-3m16 9-17 2m54-10 16-5m-14 13 15 1",
|
|
386
|
-
stroke: "var(--paw-art-line)",
|
|
387
|
-
strokeWidth: "2.5",
|
|
388
|
-
strokeLinecap: "round"
|
|
389
|
-
}
|
|
390
|
-
),
|
|
391
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
392
|
-
"path",
|
|
393
|
-
{
|
|
394
|
-
d: "M145 378h245",
|
|
395
|
-
stroke: "var(--paw-art-line)",
|
|
396
|
-
strokeWidth: "2",
|
|
397
|
-
strokeLinecap: "round",
|
|
398
|
-
opacity: ".3"
|
|
399
|
-
}
|
|
400
|
-
),
|
|
401
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "99", cy: "365", r: "16", fill: "var(--paw-sun)" }),
|
|
402
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
403
|
-
"path",
|
|
404
|
-
{
|
|
405
|
-
d: "M93 351c16 8 18 18 12 28",
|
|
406
|
-
stroke: "var(--paw-art-line)",
|
|
407
|
-
strokeWidth: "2"
|
|
408
|
-
}
|
|
409
|
-
),
|
|
410
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
411
|
-
"path",
|
|
412
|
-
{
|
|
413
|
-
d: "M426 352v-43m0 22c-14-1-20-10-20-20 15 2 21 11 20 20m0-9c0-15 6-25 20-28 2 13-6 24-20 28",
|
|
414
|
-
stroke: "var(--paw-art-line)",
|
|
415
|
-
strokeWidth: "3",
|
|
416
|
-
strokeLinecap: "round"
|
|
417
|
-
}
|
|
418
|
-
),
|
|
419
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
420
|
-
"path",
|
|
421
|
-
{
|
|
422
|
-
d: "m406 153 8-6 8 6m-234-33 8-6 8 6",
|
|
423
|
-
stroke: "var(--paw-art-line)",
|
|
424
|
-
strokeWidth: "2.5",
|
|
425
|
-
strokeLinecap: "round"
|
|
607
|
+
fill: "var(--paw-logo-heart, #ef7152)",
|
|
608
|
+
d: "M310.95,414.5c-3.22,19.23-25.81,34.58-39.96,46.76-13.75-11.93-35.63-29.65-35.58-48.75.02-6.24,2.48-11.96,6.98-15.36,10.31-7.78,23.51-2.35,30.59,9.89,5.06-6.53,10.54-11.86,18.29-13.26,5.8-1.04,11.63,1.06,15.26,4.62,4.19,4.1,5.08,10.07,4.42,16.09Z"
|
|
426
609
|
}
|
|
427
610
|
)
|
|
428
611
|
]
|
|
429
612
|
}
|
|
430
613
|
);
|
|
431
614
|
}
|
|
615
|
+
function PawNeighborhoodIllustration() {
|
|
616
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PawBayIllustration, {});
|
|
617
|
+
}
|
|
432
618
|
function Photo({
|
|
433
619
|
resource,
|
|
434
620
|
mediaUrl,
|
|
@@ -560,6 +746,7 @@ function PetEventCard(props) {
|
|
|
560
746
|
}
|
|
561
747
|
function PawOfTheWeekCard(props) {
|
|
562
748
|
const href = safePetLink(props.href);
|
|
749
|
+
const Heading = props.pageHeading ? "h1" : "h2";
|
|
563
750
|
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: "paw-spotlight", children: [
|
|
564
751
|
/* @__PURE__ */ jsxRuntime.jsx(Photo, { ...props, large: true }),
|
|
565
752
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-spotlight-copy", children: [
|
|
@@ -567,7 +754,7 @@ function PawOfTheWeekCard(props) {
|
|
|
567
754
|
props.community,
|
|
568
755
|
"\u2019s Paw of the Week"
|
|
569
756
|
] }),
|
|
570
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
757
|
+
/* @__PURE__ */ jsxRuntime.jsxs(Heading, { children: [
|
|
571
758
|
"Meet ",
|
|
572
759
|
props.resource.content.name,
|
|
573
760
|
"."
|
|
@@ -627,7 +814,7 @@ function PetsSection({
|
|
|
627
814
|
const celebrations = resources.filter((r) => r.kind === "celebration");
|
|
628
815
|
const notices = resources.filter((r) => ["lost", "found"].includes(r.kind));
|
|
629
816
|
const adoptions = resources.filter((r) => r.kind === "adoption");
|
|
630
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw", children: [
|
|
817
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw paw-home", children: [
|
|
631
818
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: "paw-masthead", children: [
|
|
632
819
|
/* @__PURE__ */ jsxRuntime.jsxs("a", { href: basePath || "/", className: "paw-brand", children: [
|
|
633
820
|
/* @__PURE__ */ jsxRuntime.jsx(PawMark, {}),
|
|
@@ -637,6 +824,21 @@ function PetsSection({
|
|
|
637
824
|
accountUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { href: safePetLink(accountUrl), children: "My pets" }),
|
|
638
825
|
contributeUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Share your pet" })
|
|
639
826
|
] }),
|
|
827
|
+
/* @__PURE__ */ jsxRuntime.jsxs("details", { className: "paw-mobile-nav", children: [
|
|
828
|
+
/* @__PURE__ */ jsxRuntime.jsxs("summary", { children: [
|
|
829
|
+
"Explore Bay Area Paw ",
|
|
830
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\uFF0B" })
|
|
831
|
+
] }),
|
|
832
|
+
/* @__PURE__ */ jsxRuntime.jsxs("nav", { "aria-label": "Mobile pet community", children: [
|
|
833
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#neighbors", children: "Our pets" }),
|
|
834
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#lost-found", children: "Lost & found" }),
|
|
835
|
+
walksUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { href: safePetLink(walksUrl), children: "Paw Walks" }),
|
|
836
|
+
placesUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { href: safePetLink(placesUrl), children: "Paw Places" }),
|
|
837
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#adoption", children: "Adoption" }),
|
|
838
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#celebrations", children: "Celebrations" }),
|
|
839
|
+
eventsUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { href: safePetLink(eventsUrl), children: "Events" })
|
|
840
|
+
] })
|
|
841
|
+
] }),
|
|
640
842
|
/* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "paw-nav", "aria-label": "Pet community", children: [
|
|
641
843
|
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#neighbors", children: "Our pets" }),
|
|
642
844
|
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#lost-found", children: "Lost & found" }),
|
|
@@ -648,7 +850,8 @@ function PetsSection({
|
|
|
648
850
|
] }),
|
|
649
851
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-community", children: [
|
|
650
852
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
|
|
651
|
-
"
|
|
853
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "paw-location-dot", "aria-hidden": "true" }),
|
|
854
|
+
" Your pet community in ",
|
|
652
855
|
location,
|
|
653
856
|
"."
|
|
654
857
|
] }),
|
|
@@ -672,31 +875,76 @@ function PetsSection({
|
|
|
672
875
|
unavailable ? /* @__PURE__ */ jsxRuntime.jsxs("div", { role: "status", className: "paw-empty", children: [
|
|
673
876
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { children: "Your community is on its way." }),
|
|
674
877
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "We can\u2019t load the pet community right now. Please try again shortly." })
|
|
675
|
-
] }) : spotlight ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
878
|
+
] }) : spotlight ? /* @__PURE__ */ jsxRuntime.jsx("section", { id: "paw-week", "aria-label": "Paw of the Week", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
676
879
|
PawOfTheWeekCard,
|
|
677
880
|
{
|
|
881
|
+
pageHeading: true,
|
|
678
882
|
resource: spotlight,
|
|
679
883
|
community: local(spotlight.area_id),
|
|
680
884
|
href: link(spotlight.id),
|
|
681
885
|
mediaUrl
|
|
682
886
|
}
|
|
683
|
-
) : /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "paw-welcome", children: [
|
|
684
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
685
|
-
/* @__PURE__ */ jsxRuntime.
|
|
686
|
-
|
|
687
|
-
"Every pet.",
|
|
887
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "paw-welcome", "aria-labelledby": "paw-welcome-title", children: [
|
|
888
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-welcome-copy", children: [
|
|
889
|
+
/* @__PURE__ */ jsxRuntime.jsxs("h1", { id: "paw-welcome-title", children: [
|
|
890
|
+
"Good company.",
|
|
688
891
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
689
|
-
|
|
892
|
+
"Right here."
|
|
690
893
|
] }),
|
|
691
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "
|
|
692
|
-
|
|
693
|
-
/* @__PURE__ */ jsxRuntime.
|
|
894
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "For the pets we love. And the neighbors we haven\u2019t met yet." }),
|
|
895
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "paw-welcome-detail", children: "Share their story, find your next favorite walk, and make a little more room for community." }),
|
|
896
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-hero-actions", children: [
|
|
897
|
+
contributeUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Share your pet" }),
|
|
898
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { className: "paw-text-link", href: "#paw-week", children: "Meet Paw of the Week" })
|
|
899
|
+
] })
|
|
694
900
|
] }),
|
|
695
|
-
/* @__PURE__ */ jsxRuntime.
|
|
696
|
-
|
|
697
|
-
|
|
901
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "paw-illustration", children: /* @__PURE__ */ jsxRuntime.jsx(PawNeighborhoodIllustration, {}) })
|
|
902
|
+
] }),
|
|
903
|
+
!unavailable && /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "paw-shortcuts", "aria-label": "Useful pet resources", children: [
|
|
904
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
905
|
+
"a",
|
|
906
|
+
{
|
|
907
|
+
href: safePetLink(browseBasePath + "/lost_found" + communityQuery),
|
|
908
|
+
children: [
|
|
909
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Lost a pet?" }),
|
|
910
|
+
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Let\u2019s help them home" }),
|
|
911
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
),
|
|
915
|
+
walksUrl && /* @__PURE__ */ jsxRuntime.jsxs("a", { href: safePetLink(walksUrl), children: [
|
|
916
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "A little fresh air" }),
|
|
917
|
+
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Find a Paw Walk" }),
|
|
918
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
919
|
+
] }),
|
|
920
|
+
placesUrl && /* @__PURE__ */ jsxRuntime.jsxs("a", { href: safePetLink(placesUrl), children: [
|
|
921
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Out with your companion" }),
|
|
922
|
+
/* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Explore Paw Places" }),
|
|
923
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": "true", children: "\u2197" })
|
|
698
924
|
] })
|
|
699
925
|
] }),
|
|
926
|
+
!unavailable && !spotlight && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
927
|
+
"section",
|
|
928
|
+
{
|
|
929
|
+
className: "paw-week-invitation",
|
|
930
|
+
id: "paw-week",
|
|
931
|
+
"aria-labelledby": "paw-week-title",
|
|
932
|
+
children: [
|
|
933
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "paw-invitation-art", children: /* @__PURE__ */ jsxRuntime.jsx(PawInvitationArt, {}) }),
|
|
934
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
935
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "paw-context", children: "Paw of the Week" }),
|
|
936
|
+
/* @__PURE__ */ jsxRuntime.jsxs("h2", { id: "paw-week-title", children: [
|
|
937
|
+
"Somebody\u2019s favorite.",
|
|
938
|
+
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
939
|
+
"Soon, everybody\u2019s."
|
|
940
|
+
] }),
|
|
941
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "The couch companion. The trail buddy. The tiny character with a very big personality. We\u2019d love to meet yours." }),
|
|
942
|
+
contributeUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "paw-button", href: safePetLink(contributeUrl), children: "Introduce your pet" }),
|
|
943
|
+
/* @__PURE__ */ jsxRuntime.jsx("small", { children: "Always free. Selected with care by local editors." })
|
|
944
|
+
] })
|
|
945
|
+
]
|
|
946
|
+
}
|
|
947
|
+
),
|
|
700
948
|
!unavailable && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
701
949
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { id: "neighbors", className: "paw-section", children: [
|
|
702
950
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-section-heading", children: [
|
|
@@ -712,7 +960,21 @@ function PetsSection({
|
|
|
712
960
|
mediaUrl
|
|
713
961
|
},
|
|
714
962
|
r.id
|
|
715
|
-
)) }) : /* @__PURE__ */ jsxRuntime.
|
|
963
|
+
)) }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-board-invitation", children: [
|
|
964
|
+
/* @__PURE__ */ jsxRuntime.jsx(PawMark, { size: 56 }),
|
|
965
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
966
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { children: "There\u2019s a place for your pet here." }),
|
|
967
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "The photo board is ready for its first neighbors. A favorite photograph, a few words, and a new familiar face." })
|
|
968
|
+
] }),
|
|
969
|
+
contributeUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
970
|
+
"a",
|
|
971
|
+
{
|
|
972
|
+
className: "paw-text-link",
|
|
973
|
+
href: safePetLink(contributeUrl),
|
|
974
|
+
children: "Share a photograph"
|
|
975
|
+
}
|
|
976
|
+
)
|
|
977
|
+
] }),
|
|
716
978
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
717
979
|
"a",
|
|
718
980
|
{
|
|
@@ -747,54 +1009,58 @@ function PetsSection({
|
|
|
747
1009
|
}
|
|
748
1010
|
)
|
|
749
1011
|
] }),
|
|
750
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
751
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
752
|
-
/* @__PURE__ */ jsxRuntime.
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
/* @__PURE__ */ jsxRuntime.jsxs("section", { id: "adoption", className: "paw-section", children: [
|
|
776
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-section-heading", children: [
|
|
777
|
-
/* @__PURE__ */ jsxRuntime.jsx("h2", { children: "A new chapter starts with hello." }),
|
|
778
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "Discover animals through local shelters and rescue organizations." })
|
|
1012
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-discover-pair", children: [
|
|
1013
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { id: "celebrations", className: "paw-section", children: [
|
|
1014
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-section-heading", children: [
|
|
1015
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { children: "A life full of little milestones" }),
|
|
1016
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "Birthdays, adoption days, new beginnings and fond memories." })
|
|
1017
|
+
] }),
|
|
1018
|
+
celebrations.length ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "paw-gallery", children: celebrations.map((r) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1019
|
+
PetCelebrationCard,
|
|
1020
|
+
{
|
|
1021
|
+
resource: r,
|
|
1022
|
+
community: local(r.area_id),
|
|
1023
|
+
href: link(r.id),
|
|
1024
|
+
mediaUrl
|
|
1025
|
+
},
|
|
1026
|
+
r.id
|
|
1027
|
+
)) }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "paw-empty", children: "Celebrate someone who makes your days brighter. Every story is reviewed with care." }),
|
|
1028
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1029
|
+
"a",
|
|
1030
|
+
{
|
|
1031
|
+
href: safePetLink(
|
|
1032
|
+
browseBasePath + "/celebration" + communityQuery
|
|
1033
|
+
),
|
|
1034
|
+
children: "More pet celebrations"
|
|
1035
|
+
}
|
|
1036
|
+
)
|
|
779
1037
|
] }),
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
1038
|
+
/* @__PURE__ */ jsxRuntime.jsxs("section", { id: "adoption", className: "paw-section", children: [
|
|
1039
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "paw-section-heading", children: [
|
|
1040
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { children: "A new chapter starts with hello." }),
|
|
1041
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "Discover animals through local shelters and rescue organizations." })
|
|
1042
|
+
] }),
|
|
1043
|
+
adoptions.length ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "paw-gallery", children: adoptions.map((r) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1044
|
+
AdoptionListingCard,
|
|
1045
|
+
{
|
|
1046
|
+
resource: r,
|
|
1047
|
+
community: local(r.area_id),
|
|
1048
|
+
href: link(r.id),
|
|
1049
|
+
mediaUrl
|
|
1050
|
+
},
|
|
1051
|
+
r.id
|
|
1052
|
+
)) }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "paw-empty", children: "Our editors are gathering official shelter and rescue listings. Check directly with your local organization for current availability." }),
|
|
1053
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "paw-safety", children: PET_SAFETY.adoption }),
|
|
1054
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1055
|
+
"a",
|
|
1056
|
+
{
|
|
1057
|
+
href: safePetLink(
|
|
1058
|
+
browseBasePath + "/adoption" + communityQuery
|
|
1059
|
+
),
|
|
1060
|
+
children: "Explore adoption listings"
|
|
1061
|
+
}
|
|
1062
|
+
)
|
|
1063
|
+
] })
|
|
798
1064
|
] }),
|
|
799
1065
|
nextUrl && /* @__PURE__ */ jsxRuntime.jsx("a", { className: "paw-button", href: safePetLink(nextUrl), children: "More community pets" })
|
|
800
1066
|
] }),
|
|
@@ -809,12 +1075,22 @@ function PetsSection({
|
|
|
809
1075
|
))
|
|
810
1076
|
] }),
|
|
811
1077
|
/* @__PURE__ */ jsxRuntime.jsxs("footer", { className: "paw-footer", children: [
|
|
812
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1078
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1079
|
+
/* @__PURE__ */ jsxRuntime.jsxs("a", { className: "paw-brand", href: basePath || "/", children: [
|
|
1080
|
+
/* @__PURE__ */ jsxRuntime.jsx(PawMark, { size: 40 }),
|
|
1081
|
+
name
|
|
1082
|
+
] }),
|
|
1083
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { children: tagline })
|
|
1084
|
+
] }),
|
|
813
1085
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
|
|
814
|
-
"A community project from
|
|
1086
|
+
"A community project from",
|
|
1087
|
+
" ",
|
|
1088
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "https://bayareanewsnetwork.com", children: "Bay Area News Network" }),
|
|
1089
|
+
".",
|
|
815
1090
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
816
|
-
|
|
817
|
-
] })
|
|
1091
|
+
"Made for the places we call home."
|
|
1092
|
+
] }),
|
|
1093
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: "#paw-community", className: "paw-text-link", children: "Find your community" })
|
|
818
1094
|
] })
|
|
819
1095
|
] });
|
|
820
1096
|
}
|
|
@@ -867,7 +1143,7 @@ async function PublicationPetsSection({
|
|
|
867
1143
|
week: monday.toISOString().split("T")[0]
|
|
868
1144
|
});
|
|
869
1145
|
if (chosen) weekly.set("area_id", chosen.id);
|
|
870
|
-
const [feeds, spotlights] = await Promise.all([
|
|
1146
|
+
const [feeds, spotlights, acknowledgments] = await Promise.all([
|
|
871
1147
|
Promise.all(
|
|
872
1148
|
["neighbors", "lost_found", "celebration", "adoption"].map((kind) => {
|
|
873
1149
|
const q = new URLSearchParams(filter);
|
|
@@ -879,7 +1155,8 @@ async function PublicationPetsSection({
|
|
|
879
1155
|
);
|
|
880
1156
|
})
|
|
881
1157
|
),
|
|
882
|
-
petRequest(scope, root + "/pets?" + weekly)
|
|
1158
|
+
petRequest(scope, root + "/pets?" + weekly),
|
|
1159
|
+
petAcknowledgments(scope, chosen?.slug)
|
|
883
1160
|
]);
|
|
884
1161
|
const clean = (r) => ({
|
|
885
1162
|
...r,
|
|
@@ -907,7 +1184,7 @@ async function PublicationPetsSection({
|
|
|
907
1184
|
accountUrl: native ? "/pets/account" : void 0,
|
|
908
1185
|
communities: collection.areas,
|
|
909
1186
|
community: chosen,
|
|
910
|
-
acknowledgments
|
|
1187
|
+
acknowledgments,
|
|
911
1188
|
resources: feeds.flatMap((feed) => feed.items).map(clean),
|
|
912
1189
|
spotlight: spotlights.items[0] && clean(spotlights.items[0]),
|
|
913
1190
|
mediaUrl,
|