@sonordev/site-kit 2.5.1 → 2.5.2
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/dist/EngageWidget-VCMSEZIF.mjs +4 -0
- package/dist/{EngageWidget-GI5YY4GM.mjs.map → EngageWidget-VCMSEZIF.mjs.map} +1 -1
- package/dist/EngageWidget-XUYC27CV.js +13 -0
- package/dist/{EngageWidget-IJGEP44J.js.map → EngageWidget-XUYC27CV.js.map} +1 -1
- package/dist/blog/index.d.mts +4 -32
- package/dist/blog/index.d.ts +4 -32
- package/dist/blog/index.js +13 -189
- package/dist/blog/index.js.map +1 -1
- package/dist/blog/index.mjs +4 -183
- package/dist/blog/index.mjs.map +1 -1
- package/dist/blog/server-ui.d.mts +32 -2
- package/dist/blog/server-ui.d.ts +32 -2
- package/dist/blog/server-ui.js +12 -3
- package/dist/blog/server-ui.mjs +2 -1
- package/dist/{chunk-K4AUQZG5.js → chunk-7EPMDUE6.js} +2 -2
- package/dist/{chunk-K4AUQZG5.js.map → chunk-7EPMDUE6.js.map} +1 -1
- package/dist/{chunk-T5UU7I4V.mjs → chunk-EHNJDXBY.mjs} +266 -59
- package/dist/chunk-EHNJDXBY.mjs.map +1 -0
- package/dist/{chunk-GVDPTXN3.js → chunk-G63AH3C6.js} +3 -3
- package/dist/{chunk-GVDPTXN3.js.map → chunk-G63AH3C6.js.map} +1 -1
- package/dist/{chunk-SROW253N.js → chunk-GQU4LXOP.js} +2 -2
- package/dist/chunk-GQU4LXOP.js.map +1 -0
- package/dist/{chunk-QJIEREW4.mjs → chunk-LBII2GAF.mjs} +2 -2
- package/dist/chunk-LBII2GAF.mjs.map +1 -0
- package/dist/{chunk-F54HGPDM.js → chunk-REJSE5AU.js} +266 -58
- package/dist/chunk-REJSE5AU.js.map +1 -0
- package/dist/{chunk-DV2BURIN.mjs → chunk-S7OMNQTY.mjs} +3 -3
- package/dist/{chunk-DV2BURIN.mjs.map → chunk-S7OMNQTY.mjs.map} +1 -1
- package/dist/{chunk-EHKM5Y7Z.mjs → chunk-YX23HISG.mjs} +2 -2
- package/dist/{chunk-EHKM5Y7Z.mjs.map → chunk-YX23HISG.mjs.map} +1 -1
- package/dist/engage/index.js +4 -4
- package/dist/engage/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/dist/layout/client.js +2 -2
- package/dist/layout/client.mjs +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/layout/index.mjs +1 -1
- package/dist/signal/index.d.mts +6 -2
- package/dist/signal/index.d.ts +6 -2
- package/dist/signal/index.js +4 -4
- package/dist/signal/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/EngageWidget-GI5YY4GM.mjs +0 -4
- package/dist/EngageWidget-IJGEP44J.js +0 -13
- package/dist/chunk-F54HGPDM.js.map +0 -1
- package/dist/chunk-QJIEREW4.mjs.map +0 -1
- package/dist/chunk-SROW253N.js.map +0 -1
- package/dist/chunk-T5UU7I4V.mjs.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkDZKX3GHL_js = require('./chunk-DZKX3GHL.js');
|
|
3
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
5
|
var marked = require('marked');
|
|
5
6
|
var React = require('react');
|
|
@@ -8,7 +9,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
9
|
|
|
9
10
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
10
11
|
|
|
11
|
-
// src/blog/ServiceCallout.tsx
|
|
12
12
|
var defaults = {
|
|
13
13
|
featured: {
|
|
14
14
|
wrapper: {
|
|
@@ -208,88 +208,116 @@ function ServiceCallouts({
|
|
|
208
208
|
)) });
|
|
209
209
|
}
|
|
210
210
|
var clusterNavCss = `
|
|
211
|
-
.sk-cluster-nav {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
.sk-cluster-breadcrumb-sep { color: #d1d5db; }
|
|
219
|
-
.sk-cluster-breadcrumb-current { color: #374151; font-weight: 500; }
|
|
211
|
+
.sk-cluster-nav {
|
|
212
|
+
--_cn-primary: var(--sk-primary, currentColor);
|
|
213
|
+
--_cn-bg: var(--sk-bg-elevated, color-mix(in srgb, currentColor 6%, transparent));
|
|
214
|
+
--_cn-border: var(--sk-surface-border, color-mix(in srgb, currentColor 12%, transparent));
|
|
215
|
+
--_cn-text: var(--sk-text-primary, inherit);
|
|
216
|
+
--_cn-text2: var(--sk-text-secondary, color-mix(in srgb, currentColor 70%, transparent));
|
|
217
|
+
--_cn-text3: var(--sk-text-tertiary, color-mix(in srgb, currentColor 45%, transparent));
|
|
220
218
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
background:
|
|
225
|
-
border: 1px solid
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
.sk-cluster-pillar-banner-icon { font-size: 1.25rem; flex-shrink: 0; }
|
|
229
|
-
.sk-cluster-pillar-banner-text { font-size: 0.875rem; color: #374151; }
|
|
230
|
-
.sk-cluster-pillar-banner-text a {
|
|
231
|
-
color: #2563eb; font-weight: 600; text-decoration: none;
|
|
232
|
-
}
|
|
233
|
-
.sk-cluster-pillar-banner-text a:hover { text-decoration: underline; }
|
|
219
|
+
margin: 2rem 0;
|
|
220
|
+
padding: 1.5rem;
|
|
221
|
+
border-radius: 0.75rem;
|
|
222
|
+
background: var(--_cn-bg);
|
|
223
|
+
border: 1px solid var(--_cn-border);
|
|
224
|
+
color: var(--_cn-text);
|
|
225
|
+
}
|
|
234
226
|
|
|
235
|
-
.sk-cluster-
|
|
236
|
-
margin-
|
|
237
|
-
|
|
238
|
-
border: 1px solid
|
|
227
|
+
.sk-cluster-pillar-link {
|
|
228
|
+
margin-bottom: 1.25rem;
|
|
229
|
+
padding-bottom: 1.25rem;
|
|
230
|
+
border-bottom: 1px solid var(--_cn-border);
|
|
239
231
|
}
|
|
232
|
+
.sk-cluster-pillar-link-label {
|
|
233
|
+
font-size: 0.6875rem;
|
|
234
|
+
font-weight: 600;
|
|
235
|
+
text-transform: uppercase;
|
|
236
|
+
letter-spacing: 0.06em;
|
|
237
|
+
color: var(--_cn-text3);
|
|
238
|
+
margin: 0 0 0.375rem 0;
|
|
239
|
+
}
|
|
240
|
+
.sk-cluster-pillar-link a {
|
|
241
|
+
font-size: 0.9375rem;
|
|
242
|
+
font-weight: 600;
|
|
243
|
+
color: var(--_cn-primary);
|
|
244
|
+
text-decoration: none;
|
|
245
|
+
transition: opacity 0.15s;
|
|
246
|
+
}
|
|
247
|
+
.sk-cluster-pillar-link a:hover { opacity: 0.8; }
|
|
248
|
+
|
|
240
249
|
.sk-cluster-siblings-title {
|
|
241
|
-
font-size: 0.
|
|
250
|
+
font-size: 0.6875rem;
|
|
251
|
+
font-weight: 600;
|
|
252
|
+
text-transform: uppercase;
|
|
253
|
+
letter-spacing: 0.06em;
|
|
254
|
+
color: var(--_cn-text3);
|
|
242
255
|
margin: 0 0 0.75rem 0;
|
|
243
256
|
}
|
|
244
257
|
.sk-cluster-siblings-list {
|
|
245
|
-
list-style: none;
|
|
246
|
-
|
|
258
|
+
list-style: none;
|
|
259
|
+
margin: 0;
|
|
260
|
+
padding: 0;
|
|
261
|
+
display: flex;
|
|
262
|
+
flex-direction: column;
|
|
263
|
+
gap: 0.5rem;
|
|
247
264
|
}
|
|
248
265
|
.sk-cluster-siblings-item {
|
|
249
|
-
display: flex;
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: 0.5rem;
|
|
250
269
|
}
|
|
251
270
|
.sk-cluster-siblings-item a {
|
|
252
|
-
font-size: 0.875rem;
|
|
271
|
+
font-size: 0.875rem;
|
|
272
|
+
color: var(--_cn-text2);
|
|
253
273
|
text-decoration: none;
|
|
274
|
+
transition: color 0.15s;
|
|
275
|
+
overflow: hidden;
|
|
276
|
+
text-overflow: ellipsis;
|
|
277
|
+
white-space: nowrap;
|
|
254
278
|
}
|
|
255
|
-
.sk-cluster-siblings-item a:hover { color:
|
|
256
|
-
.sk-cluster-
|
|
257
|
-
display: inline-flex;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
border:
|
|
279
|
+
.sk-cluster-siblings-item a:hover { color: var(--_cn-primary); }
|
|
280
|
+
.sk-cluster-type-badge {
|
|
281
|
+
display: inline-flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
flex-shrink: 0;
|
|
284
|
+
padding: 0.125rem 0.4rem;
|
|
285
|
+
border-radius: 9999px;
|
|
286
|
+
font-size: 0.625rem;
|
|
287
|
+
font-weight: 500;
|
|
262
288
|
text-transform: capitalize;
|
|
289
|
+
background: color-mix(in srgb, var(--_cn-primary) 10%, transparent);
|
|
290
|
+
color: var(--_cn-primary);
|
|
291
|
+
border: 1px solid color-mix(in srgb, var(--_cn-primary) 20%, transparent);
|
|
263
292
|
}
|
|
264
293
|
`;
|
|
265
294
|
function ClusterNavigation({
|
|
266
295
|
navigation,
|
|
267
296
|
basePath = "/blog",
|
|
297
|
+
category,
|
|
268
298
|
unstyled = false,
|
|
269
299
|
className
|
|
270
300
|
}) {
|
|
271
301
|
if (!navigation) return null;
|
|
302
|
+
const siblings = (navigation.siblings || []).filter(
|
|
303
|
+
(s) => s.article_type !== "pillar"
|
|
304
|
+
);
|
|
305
|
+
const hasPillarLink = !navigation.is_pillar && navigation.pillar;
|
|
306
|
+
const hasSiblings = siblings.length > 0;
|
|
307
|
+
if (!hasPillarLink && !hasSiblings) return null;
|
|
308
|
+
const articleUrl = (slug) => category ? `${basePath}/${category}/${slug}/` : `${basePath}/${slug}/`;
|
|
272
309
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
273
310
|
!unstyled && /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: clusterNavCss } }),
|
|
274
311
|
/* @__PURE__ */ jsxRuntime.jsxs("nav", { className: `${unstyled ? "" : "sk-cluster-nav"} ${className || ""}`, children: [
|
|
275
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-
|
|
276
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
277
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
278
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: `${basePath}/cluster/${navigation.cluster_slug}`, children: navigation.cluster_name })
|
|
312
|
+
hasPillarLink && navigation.pillar && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-pillar-link", children: [
|
|
313
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: unstyled ? "" : "sk-cluster-pillar-link-label", children: "Full Guide" }),
|
|
314
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: articleUrl(navigation.pillar.slug), children: navigation.pillar.title })
|
|
279
315
|
] }),
|
|
280
|
-
|
|
281
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
282
|
-
/* @__PURE__ */ jsxRuntime.jsxs("
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: `${basePath}/${navigation.pillar.slug}`, children: navigation.pillar.title })
|
|
286
|
-
] })
|
|
287
|
-
] }),
|
|
288
|
-
navigation.siblings.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-siblings", children: [
|
|
289
|
-
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: unstyled ? "" : "sk-cluster-siblings-title", children: navigation.is_pillar ? "Deep Dives" : "More in This Series" }),
|
|
290
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: unstyled ? "" : "sk-cluster-siblings-list", children: navigation.siblings.map((sibling) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: unstyled ? "" : "sk-cluster-siblings-item", children: [
|
|
291
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: unstyled ? "" : "sk-cluster-siblings-type", children: sibling.article_type }),
|
|
292
|
-
/* @__PURE__ */ jsxRuntime.jsx("a", { href: `${basePath}/${sibling.slug}`, children: sibling.title })
|
|
316
|
+
hasSiblings && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
317
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: unstyled ? "" : "sk-cluster-siblings-title", children: navigation.is_pillar ? "Deep Dives" : "More in This Series" }),
|
|
318
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: unstyled ? "" : "sk-cluster-siblings-list", children: siblings.map((sibling) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: unstyled ? "" : "sk-cluster-siblings-item", children: [
|
|
319
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: unstyled ? "" : "sk-cluster-type-badge", children: sibling.article_type }),
|
|
320
|
+
/* @__PURE__ */ jsxRuntime.jsx("a", { href: articleUrl(sibling.slug), children: sibling.title })
|
|
293
321
|
] }, sibling.slug)) })
|
|
294
322
|
] })
|
|
295
323
|
] })
|
|
@@ -1415,14 +1443,194 @@ function buildPaginationUrl(basePath, page, category) {
|
|
|
1415
1443
|
if (category) params.set("category", category);
|
|
1416
1444
|
return `${basePath}?${params}`;
|
|
1417
1445
|
}
|
|
1446
|
+
var clusterLandingCss = `
|
|
1447
|
+
.sk-cluster-landing { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem; }
|
|
1448
|
+
|
|
1449
|
+
.sk-cluster-hero { margin-bottom: 3rem; text-align: center; }
|
|
1450
|
+
.sk-cluster-hero-label {
|
|
1451
|
+
display: inline-flex; align-items: center; gap: 0.375rem;
|
|
1452
|
+
font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
|
|
1453
|
+
letter-spacing: 0.05em; color: #6366f1; margin-bottom: 0.75rem;
|
|
1454
|
+
}
|
|
1455
|
+
.sk-cluster-hero-title {
|
|
1456
|
+
font-size: 2.25rem; font-weight: 800; color: #111827;
|
|
1457
|
+
line-height: 1.2; margin: 0 0 0.75rem 0;
|
|
1458
|
+
}
|
|
1459
|
+
.sk-cluster-hero-desc {
|
|
1460
|
+
font-size: 1.125rem; color: #6b7280; max-width: 40rem;
|
|
1461
|
+
margin: 0 auto; line-height: 1.6;
|
|
1462
|
+
}
|
|
1463
|
+
.sk-cluster-hero-meta {
|
|
1464
|
+
display: flex; justify-content: center; gap: 1.5rem;
|
|
1465
|
+
margin-top: 1rem; font-size: 0.875rem; color: #9ca3af;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
.sk-cluster-pillar-card {
|
|
1469
|
+
display: block; text-decoration: none; color: inherit;
|
|
1470
|
+
padding: 2rem; border-radius: 0.75rem;
|
|
1471
|
+
background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(99,102,241,0.01));
|
|
1472
|
+
border: 2px solid rgba(99,102,241,0.2);
|
|
1473
|
+
margin-bottom: 3rem; transition: border-color 0.2s, box-shadow 0.2s;
|
|
1474
|
+
}
|
|
1475
|
+
.sk-cluster-pillar-card:hover {
|
|
1476
|
+
border-color: rgba(99,102,241,0.4);
|
|
1477
|
+
box-shadow: 0 4px 24px rgba(99,102,241,0.08);
|
|
1478
|
+
}
|
|
1479
|
+
.sk-cluster-pillar-label {
|
|
1480
|
+
display: inline-flex; align-items: center; gap: 0.375rem;
|
|
1481
|
+
font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
|
|
1482
|
+
letter-spacing: 0.05em; color: #6366f1; margin-bottom: 0.75rem;
|
|
1483
|
+
padding: 0.25rem 0.5rem; border-radius: 9999px;
|
|
1484
|
+
background: rgba(99,102,241,0.08);
|
|
1485
|
+
}
|
|
1486
|
+
.sk-cluster-pillar-title {
|
|
1487
|
+
font-size: 1.5rem; font-weight: 700; color: #111827;
|
|
1488
|
+
margin: 0 0 0.5rem 0; line-height: 1.3;
|
|
1489
|
+
}
|
|
1490
|
+
.sk-cluster-pillar-excerpt {
|
|
1491
|
+
font-size: 1rem; color: #6b7280; line-height: 1.6;
|
|
1492
|
+
margin: 0 0 1rem 0;
|
|
1493
|
+
}
|
|
1494
|
+
.sk-cluster-pillar-meta {
|
|
1495
|
+
display: flex; gap: 1rem; font-size: 0.8125rem; color: #9ca3af;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
.sk-cluster-supports-section { margin-bottom: 2rem; }
|
|
1499
|
+
.sk-cluster-supports-title {
|
|
1500
|
+
font-size: 1.25rem; font-weight: 700; color: #111827;
|
|
1501
|
+
margin: 0 0 1.25rem 0;
|
|
1502
|
+
}
|
|
1503
|
+
.sk-cluster-supports-grid {
|
|
1504
|
+
display: grid; gap: 1.25rem;
|
|
1505
|
+
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
|
|
1506
|
+
}
|
|
1507
|
+
.sk-cluster-support-card {
|
|
1508
|
+
display: block; text-decoration: none; color: inherit;
|
|
1509
|
+
padding: 1.25rem; border-radius: 0.5rem;
|
|
1510
|
+
border: 1px solid #e5e7eb; background: #fff;
|
|
1511
|
+
transition: border-color 0.2s, box-shadow 0.2s;
|
|
1512
|
+
}
|
|
1513
|
+
.sk-cluster-support-card:hover {
|
|
1514
|
+
border-color: #c7d2fe;
|
|
1515
|
+
box-shadow: 0 2px 12px rgba(0,0,0,0.04);
|
|
1516
|
+
}
|
|
1517
|
+
.sk-cluster-support-card-header {
|
|
1518
|
+
display: flex; align-items: center; gap: 0.5rem;
|
|
1519
|
+
margin-bottom: 0.5rem;
|
|
1520
|
+
}
|
|
1521
|
+
.sk-cluster-support-type {
|
|
1522
|
+
display: inline-flex; align-items: center;
|
|
1523
|
+
padding: 0.125rem 0.375rem; border-radius: 9999px;
|
|
1524
|
+
font-size: 0.6875rem; font-weight: 500;
|
|
1525
|
+
background: rgba(99,102,241,0.06); color: #6366f1;
|
|
1526
|
+
border: 1px solid rgba(99,102,241,0.12);
|
|
1527
|
+
text-transform: capitalize;
|
|
1528
|
+
}
|
|
1529
|
+
.sk-cluster-support-intent {
|
|
1530
|
+
font-size: 0.6875rem; color: #9ca3af;
|
|
1531
|
+
text-transform: capitalize;
|
|
1532
|
+
}
|
|
1533
|
+
.sk-cluster-support-title {
|
|
1534
|
+
font-size: 1rem; font-weight: 600; color: #111827;
|
|
1535
|
+
margin: 0 0 0.375rem 0; line-height: 1.4;
|
|
1536
|
+
}
|
|
1537
|
+
.sk-cluster-support-excerpt {
|
|
1538
|
+
font-size: 0.875rem; color: #6b7280; line-height: 1.5;
|
|
1539
|
+
margin: 0; display: -webkit-box; -webkit-line-clamp: 2;
|
|
1540
|
+
-webkit-box-orient: vertical; overflow: hidden;
|
|
1541
|
+
}
|
|
1542
|
+
.sk-cluster-support-meta {
|
|
1543
|
+
display: flex; gap: 0.75rem; margin-top: 0.75rem;
|
|
1544
|
+
font-size: 0.75rem; color: #9ca3af;
|
|
1545
|
+
}
|
|
1546
|
+
`;
|
|
1547
|
+
async function ClusterLandingPage({
|
|
1548
|
+
slug,
|
|
1549
|
+
basePath = "/blog",
|
|
1550
|
+
unstyled = false,
|
|
1551
|
+
className,
|
|
1552
|
+
children
|
|
1553
|
+
}) {
|
|
1554
|
+
const cluster = await chunkDZKX3GHL_js.getTopicCluster(slug);
|
|
1555
|
+
if (!cluster) {
|
|
1556
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "4rem 1rem", textAlign: "center", color: "#6b7280" }, children: /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Topic cluster not found." }) });
|
|
1557
|
+
}
|
|
1558
|
+
if (children) {
|
|
1559
|
+
return children({ cluster });
|
|
1560
|
+
}
|
|
1561
|
+
const pillar = cluster.pillar;
|
|
1562
|
+
const supports = cluster.supports || [];
|
|
1563
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1564
|
+
!unstyled && /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: clusterLandingCss } }),
|
|
1565
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${unstyled ? "" : "sk-cluster-landing"} ${className || ""}`, children: [
|
|
1566
|
+
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: unstyled ? "" : "sk-cluster-hero", children: [
|
|
1567
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: unstyled ? "" : "sk-cluster-hero-label", children: "Topic Cluster" }),
|
|
1568
|
+
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: unstyled ? "" : "sk-cluster-hero-title", children: cluster.cluster_name }),
|
|
1569
|
+
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: unstyled ? "" : "sk-cluster-hero-desc", children: [
|
|
1570
|
+
cluster.core_topic,
|
|
1571
|
+
cluster.geo_target ? ` in ${cluster.geo_target}` : ""
|
|
1572
|
+
] }),
|
|
1573
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-hero-meta", children: [
|
|
1574
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
1575
|
+
cluster.article_count,
|
|
1576
|
+
" articles"
|
|
1577
|
+
] }),
|
|
1578
|
+
cluster.geo_target && /* @__PURE__ */ jsxRuntime.jsx("span", { children: cluster.geo_target })
|
|
1579
|
+
] })
|
|
1580
|
+
] }),
|
|
1581
|
+
pillar && /* @__PURE__ */ jsxRuntime.jsxs("a", { href: `${basePath}/${pillar.slug}`, className: unstyled ? "" : "sk-cluster-pillar-card", children: [
|
|
1582
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: unstyled ? "" : "sk-cluster-pillar-label", children: "Pillar Guide" }),
|
|
1583
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: unstyled ? "" : "sk-cluster-pillar-title", children: pillar.title }),
|
|
1584
|
+
pillar.excerpt && /* @__PURE__ */ jsxRuntime.jsx("p", { className: unstyled ? "" : "sk-cluster-pillar-excerpt", children: pillar.excerpt }),
|
|
1585
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-pillar-meta", children: [
|
|
1586
|
+
pillar.reading_time_minutes && /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
1587
|
+
pillar.reading_time_minutes,
|
|
1588
|
+
" min read"
|
|
1589
|
+
] }),
|
|
1590
|
+
pillar.word_count && /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
1591
|
+
pillar.word_count.toLocaleString(),
|
|
1592
|
+
" words"
|
|
1593
|
+
] })
|
|
1594
|
+
] })
|
|
1595
|
+
] }),
|
|
1596
|
+
supports.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("section", { className: unstyled ? "" : "sk-cluster-supports-section", children: [
|
|
1597
|
+
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: unstyled ? "" : "sk-cluster-supports-title", children: "Deep Dives" }),
|
|
1598
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: unstyled ? "" : "sk-cluster-supports-grid", children: supports.map((post) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1599
|
+
"a",
|
|
1600
|
+
{
|
|
1601
|
+
href: `${basePath}/${post.slug}`,
|
|
1602
|
+
className: unstyled ? "" : "sk-cluster-support-card",
|
|
1603
|
+
children: [
|
|
1604
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-support-card-header", children: [
|
|
1605
|
+
post.article_type && /* @__PURE__ */ jsxRuntime.jsx("span", { className: unstyled ? "" : "sk-cluster-support-type", children: post.article_type }),
|
|
1606
|
+
post.search_intent && /* @__PURE__ */ jsxRuntime.jsx("span", { className: unstyled ? "" : "sk-cluster-support-intent", children: post.search_intent })
|
|
1607
|
+
] }),
|
|
1608
|
+
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: unstyled ? "" : "sk-cluster-support-title", children: post.title }),
|
|
1609
|
+
post.excerpt && /* @__PURE__ */ jsxRuntime.jsx("p", { className: unstyled ? "" : "sk-cluster-support-excerpt", children: post.excerpt }),
|
|
1610
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: unstyled ? "" : "sk-cluster-support-meta", children: [
|
|
1611
|
+
post.reading_time_minutes && /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
1612
|
+
post.reading_time_minutes,
|
|
1613
|
+
" min read"
|
|
1614
|
+
] }),
|
|
1615
|
+
post.relationship_to_pillar && /* @__PURE__ */ jsxRuntime.jsx("span", { children: post.relationship_to_pillar })
|
|
1616
|
+
] })
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1619
|
+
post.id || post.slug
|
|
1620
|
+
)) })
|
|
1621
|
+
] })
|
|
1622
|
+
] })
|
|
1623
|
+
] });
|
|
1624
|
+
}
|
|
1418
1625
|
|
|
1419
1626
|
exports.BlogList = BlogList;
|
|
1420
1627
|
exports.BlogPost = BlogPost;
|
|
1628
|
+
exports.ClusterLandingPage = ClusterLandingPage;
|
|
1421
1629
|
exports.ClusterNavigation = ClusterNavigation;
|
|
1422
1630
|
exports.ServiceCallout = ServiceCallout;
|
|
1423
1631
|
exports.ServiceCallouts = ServiceCallouts;
|
|
1424
1632
|
exports.addExternalLinkTargets = addExternalLinkTargets;
|
|
1425
1633
|
exports.normalizeSiteHost = normalizeSiteHost;
|
|
1426
1634
|
exports.resolveBlogSiteUrl = resolveBlogSiteUrl;
|
|
1427
|
-
//# sourceMappingURL=chunk-
|
|
1428
|
-
//# sourceMappingURL=chunk-
|
|
1635
|
+
//# sourceMappingURL=chunk-REJSE5AU.js.map
|
|
1636
|
+
//# sourceMappingURL=chunk-REJSE5AU.js.map
|