@marktiderman/genesis-sites 0.7.6 → 0.8.0
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 +74 -8
- package/SKILL.md +10 -0
- package/dist/assets/form-island.da6c662a73.js +51 -0
- package/dist/assets/{islands.33a445f34e.js → islands.83aaf5e0df.js} +1 -1
- package/dist/assets/sites-forms.bac9a6aafd.css +10 -0
- package/dist/assets/sites-forms.css +1 -1
- package/dist/assets/sites.323090ba26.css +2 -0
- package/dist/assets/sites.css +1 -1
- package/dist/assets.generated-YGLB7VKL.js +3 -0
- package/dist/{assets.generated-LLUGUUWZ.js.map → assets.generated-YGLB7VKL.js.map} +1 -1
- package/dist/blocks.js +2 -1
- package/dist/blocks.js.map +1 -1
- package/dist/{chunk-IU6AI75R.js → chunk-6CXTOPYI.js} +343 -158
- package/dist/chunk-6CXTOPYI.js.map +1 -0
- package/dist/{chunk-7E3YGYVH.js → chunk-FMQTSXJN.js} +26 -12
- package/dist/chunk-FMQTSXJN.js.map +1 -0
- package/dist/{chunk-SMJMXQ3T.js → chunk-I767PDBR.js} +260 -62
- package/dist/chunk-I767PDBR.js.map +1 -0
- package/dist/chunk-MXV2HOJO.js +19 -0
- package/dist/chunk-MXV2HOJO.js.map +1 -0
- package/dist/{chunk-KY4ALBVH.js → chunk-QE7KS2JS.js} +65 -7
- package/dist/chunk-QE7KS2JS.js.map +1 -0
- package/dist/{chunk-VJ4HOFBA.js → chunk-YAMQ2JKO.js} +20 -9
- package/dist/chunk-YAMQ2JKO.js.map +1 -0
- package/dist/editor.d.ts +22 -14
- package/dist/editor.js +701 -157
- package/dist/editor.js.map +1 -1
- package/dist/handler-J5BCH2VW.js +10 -0
- package/dist/{handler-UMGSZY33.js.map → handler-J5BCH2VW.js.map} +1 -1
- package/dist/import.d.ts +3 -3
- package/dist/index.d.ts +51 -10
- package/dist/index.js +3 -3
- package/dist/redirects-BNSD9MKa.d.ts +43 -0
- package/dist/{registry-BIijndsq.d.ts → registry-BPn-tDlL.d.ts} +75 -0
- package/dist/sections.d.ts +86 -4
- package/dist/sections.js +2 -2
- package/dist/{store-BImtGmoF.d.ts → store-B_GMH42V.d.ts} +2 -2
- package/dist/supabase.d.ts +4 -4
- package/dist/supabase.js +3 -3
- package/dist/{templates-kA-jrnWA.d.ts → templates-CFSSG1iU.d.ts} +2 -2
- package/dist/templates.d.ts +3 -3
- package/dist/{theme-Cg-inpk5.d.ts → theme-Dw42GDI_.d.ts} +1 -1
- package/dist/web.d.ts +21 -11
- package/dist/web.js +5 -5
- package/migrations/0003_genesis_sites_post_dates.sql +117 -0
- package/migrations/tests/0003_genesis_sites_post_dates.test.sql +76 -0
- package/package.json +8 -4
- package/dist/assets/form-island.defb8daccc.js +0 -51
- package/dist/assets/sites-forms.aff23b5617.css +0 -10
- package/dist/assets/sites.5b3f64c627.css +0 -2
- package/dist/assets.generated-LLUGUUWZ.js +0 -3
- package/dist/chunk-7E3YGYVH.js.map +0 -1
- package/dist/chunk-IU6AI75R.js.map +0 -1
- package/dist/chunk-KY4ALBVH.js.map +0 -1
- package/dist/chunk-RLYO6VVP.js +0 -19
- package/dist/chunk-RLYO6VVP.js.map +0 -1
- package/dist/chunk-SMJMXQ3T.js.map +0 -1
- package/dist/chunk-VJ4HOFBA.js.map +0 -1
- package/dist/handler-UMGSZY33.js +0 -10
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { mailtoHref } from './chunk-VZUDRPFG.js';
|
|
2
|
-
import { Link, Surface,
|
|
2
|
+
import { Line, Link, Surface, Image, Copy, defineSection, RichText, Href, FileRef, registerBuiltInSection, safeJsonForHtml, postPath, opensInNewTab } from './chunk-6CXTOPYI.js';
|
|
3
3
|
import { isSafeImageSrc, isSafeHref, isExternalHref } from './chunk-MU2Z2C4F.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { BandLead, Band, Display } from '@marktiderman/genesis-ui/band';
|
|
6
|
-
import { buttonVariants } from '@marktiderman/genesis-ui/button';
|
|
7
6
|
import { cn } from '@marktiderman/genesis-ui/utils';
|
|
7
|
+
import { buttonVariants } from '@marktiderman/genesis-ui/button';
|
|
8
8
|
import { responsiveImage } from '@marktiderman/genesis-media';
|
|
9
|
-
import { Zap, Users, Trophy, Target, Star, Sparkles, Smile, Shield, Phone, MessageCircle, MapPin, Mail, Leaf, Heart, Dumbbell, Clock, Check, Calendar, Award, Activity, ChevronDown, FileText, ArrowLeft, Menu, Download } from 'lucide-react';
|
|
9
|
+
import { Zap, Users, Trophy, Target, Star, Sparkles, Smile, Shield, Phone, MessageCircle, MapPin, Mail, Leaf, Heart, Dumbbell, Clock, Check, Calendar, Award, Activity, ChevronDown, Minus, FileText, ArrowLeft, Menu, Download } from 'lucide-react';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
|
+
import { RichText as RichText$1, richTextClassName } from '@marktiderman/genesis-ui/rich-text';
|
|
11
12
|
import { parseForm, choiceOptions } from '@marktiderman/genesis-forms';
|
|
12
13
|
import { Form } from '@marktiderman/genesis-forms-web';
|
|
13
14
|
import { Input } from '@marktiderman/genesis-ui/input';
|
|
14
15
|
import { Textarea } from '@marktiderman/genesis-ui/textarea';
|
|
15
|
-
import { RichText as RichText$1, richTextClassName } from '@marktiderman/genesis-ui/rich-text';
|
|
16
16
|
|
|
17
17
|
var Anchor = z.string().regex(/^[a-z][a-z0-9-]{0,39}$/, "An anchor is lowercase letters, digits and hyphens.").optional().meta({ title: "Anchor (for #links)" });
|
|
18
18
|
var ICONS = {
|
|
@@ -226,10 +226,23 @@ function SectionBand({
|
|
|
226
226
|
}
|
|
227
227
|
);
|
|
228
228
|
}
|
|
229
|
+
var HeadingAccent = Line(60).optional().meta({ title: "Highlight (a phrase in the heading)", description: "Words from the heading, set in the accent colour." });
|
|
230
|
+
function withAccent(heading, accent, onAccentBand = false) {
|
|
231
|
+
const phrase = accent?.trim();
|
|
232
|
+
if (!phrase) return heading;
|
|
233
|
+
const at = heading.toLowerCase().indexOf(phrase.toLowerCase());
|
|
234
|
+
if (at < 0) return heading;
|
|
235
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
236
|
+
heading.slice(0, at),
|
|
237
|
+
/* @__PURE__ */ jsx("span", { "data-gs-text": "accent", className: onAccentBand ? "underline decoration-2 underline-offset-[0.2em]" : "text-primary", children: heading.slice(at, at + phrase.length) }),
|
|
238
|
+
heading.slice(at + phrase.length)
|
|
239
|
+
] });
|
|
240
|
+
}
|
|
229
241
|
function SectionIntro({
|
|
230
242
|
ctx,
|
|
231
243
|
eyebrow,
|
|
232
244
|
heading,
|
|
245
|
+
accent,
|
|
233
246
|
body,
|
|
234
247
|
align = "center",
|
|
235
248
|
tone = "muted",
|
|
@@ -238,7 +251,7 @@ function SectionIntro({
|
|
|
238
251
|
if (!heading && !body) return null;
|
|
239
252
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex max-w-3xl flex-col gap-4", align === "center" ? "mx-auto items-center text-center" : "items-start text-left"), children: [
|
|
240
253
|
eyebrow ? /* @__PURE__ */ jsx("p", { "data-gs-text": "eyebrow", className: "text-sm font-semibold uppercase tracking-wider", children: eyebrow }) : null,
|
|
241
|
-
heading ? /* @__PURE__ */ jsx(SectionTitle, { ctx, id: titleId(ctx), size, children: heading }) : null,
|
|
254
|
+
heading ? /* @__PURE__ */ jsx(SectionTitle, { ctx, id: titleId(ctx), size, children: withAccent(heading, accent, tone === "inherit") }) : null,
|
|
242
255
|
body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone, children: body }) : null
|
|
243
256
|
] });
|
|
244
257
|
}
|
|
@@ -248,13 +261,22 @@ function HiddenTitle({ ctx, children }) {
|
|
|
248
261
|
}
|
|
249
262
|
var onAccent = (surface) => surface === "accent" || surface === "inverse";
|
|
250
263
|
var schema = z.object({
|
|
264
|
+
eyebrow: Line(60).optional(),
|
|
251
265
|
heading: Line(90),
|
|
266
|
+
headingAccent: HeadingAccent,
|
|
252
267
|
body: Copy(320).optional(),
|
|
253
268
|
primaryCta: Link,
|
|
254
269
|
secondaryCta: Link.optional(),
|
|
270
|
+
/** The picture behind the text (the "Text over an image" variant). */
|
|
271
|
+
image: Image.optional(),
|
|
255
272
|
surface: Surface.default("accent"),
|
|
256
273
|
anchor: Anchor
|
|
257
274
|
});
|
|
275
|
+
var Eyebrow = ({ text }) => text ? /* @__PURE__ */ jsx("p", { "data-gs-text": "eyebrow", className: "text-sm font-semibold uppercase tracking-wider", children: text }) : null;
|
|
276
|
+
function Title({ props, ctx, onAccentBand, size = "lg" }) {
|
|
277
|
+
return /* @__PURE__ */ jsx(SectionTitle, { ctx, id: titleId(ctx), size, children: withAccent(props.heading, props.headingAccent, onAccentBand) });
|
|
278
|
+
}
|
|
279
|
+
var CARD = { accent: "bg-primary text-primary-foreground", inverse: "bg-foreground text-background", muted: "bg-muted text-foreground", base: "bg-background text-foreground" };
|
|
258
280
|
var ctaSection = defineSection({
|
|
259
281
|
type: "cta",
|
|
260
282
|
version: 1,
|
|
@@ -265,53 +287,121 @@ var ctaSection = defineSection({
|
|
|
265
287
|
variants: [
|
|
266
288
|
{ id: "banner", label: "Full-width banner" },
|
|
267
289
|
{ id: "card", label: "Card" },
|
|
268
|
-
{ id: "split", label: "Text left, buttons right" }
|
|
290
|
+
{ id: "split", label: "Text left, buttons right" },
|
|
291
|
+
{ id: "image-bg", label: "Text over an image" },
|
|
292
|
+
{ id: "sticky", label: "Bar fixed to the bottom on phones" }
|
|
269
293
|
],
|
|
270
294
|
defaultVariant: "banner",
|
|
271
295
|
presets: [
|
|
272
296
|
{ name: "Banner", variant: "banner", props: { heading: "Ready to start?", primaryCta: { label: "Get started", href: "#contact" }, surface: "accent" } },
|
|
273
|
-
{ name: "Card", variant: "card", props: { heading: "Questions? We're here.", primaryCta: { label: "Contact us", href: "/contact" }, surface: "muted" } }
|
|
297
|
+
{ name: "Card", variant: "card", props: { heading: "Questions? We're here.", primaryCta: { label: "Contact us", href: "/contact" }, surface: "muted" } },
|
|
298
|
+
{ name: "Phone bar", variant: "sticky", props: { heading: "Ready to start?", primaryCta: { label: "Get started", href: "#contact" }, surface: "accent" } }
|
|
274
299
|
],
|
|
275
300
|
render: ({ props, variant, node, ctx }) => {
|
|
276
301
|
if (variant === "card") {
|
|
277
302
|
const inverted2 = onAccent(props.surface);
|
|
278
|
-
const card = props.surface === "
|
|
303
|
+
const card = props.surface === "base" ? "border border-border" : CARD[props.surface];
|
|
279
304
|
return /* @__PURE__ */ jsx(SectionBand, { node, ctx, anchor: props.anchor, width: "md", children: /* @__PURE__ */ jsxs("div", { className: `flex flex-col items-center gap-6 rounded-2xl px-6 py-12 text-center sm:px-12 ${card}`, children: [
|
|
280
|
-
/* @__PURE__ */ jsx(
|
|
305
|
+
/* @__PURE__ */ jsx(Eyebrow, { text: props.eyebrow }),
|
|
306
|
+
/* @__PURE__ */ jsx(Title, { props, ctx, onAccentBand: inverted2 }),
|
|
281
307
|
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone: inverted2 ? "inherit" : "muted", children: props.body }) : null,
|
|
282
308
|
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: inverted2, className: "sm:justify-center" })
|
|
283
309
|
] }) });
|
|
284
310
|
}
|
|
311
|
+
if (variant === "image-bg" && props.image) {
|
|
312
|
+
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: "inverse", className: "isolate overflow-hidden", children: [
|
|
313
|
+
/* @__PURE__ */ jsx(SiteImage, { image: { ...props.image, decorative: true }, ctx, large: true, sizes: "100vw", className: "absolute inset-0 -z-10 h-full w-full object-cover" }),
|
|
314
|
+
/* @__PURE__ */ jsx("div", { "aria-hidden": "true", "data-gs-scrim": "", className: "absolute inset-0 -z-10 bg-foreground/80" }),
|
|
315
|
+
/* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-3xl flex-col items-center gap-6 text-center", children: [
|
|
316
|
+
/* @__PURE__ */ jsx(Eyebrow, { text: props.eyebrow }),
|
|
317
|
+
/* @__PURE__ */ jsx(Title, { props, ctx, onAccentBand: true }),
|
|
318
|
+
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone: "inherit", children: props.body }) : null,
|
|
319
|
+
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: true, className: "sm:justify-center" })
|
|
320
|
+
] })
|
|
321
|
+
] });
|
|
322
|
+
}
|
|
285
323
|
const inverted = onAccent(props.surface);
|
|
324
|
+
if (variant === "sticky") {
|
|
325
|
+
return /* @__PURE__ */ jsx(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, className: "max-md:py-0!", children: /* @__PURE__ */ jsxs(
|
|
326
|
+
"div",
|
|
327
|
+
{
|
|
328
|
+
"data-gs-part": "sticky-bar",
|
|
329
|
+
className: cn(
|
|
330
|
+
"fixed inset-x-0 bottom-0 z-40 flex items-center justify-between gap-4 border-t border-current/20 px-4 pt-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] shadow-lg",
|
|
331
|
+
CARD[props.surface],
|
|
332
|
+
"md:static md:z-auto md:flex-row md:gap-8 md:border-0 md:bg-transparent md:p-0 md:text-inherit md:shadow-none"
|
|
333
|
+
),
|
|
334
|
+
children: [
|
|
335
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col gap-3", children: [
|
|
336
|
+
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx(Eyebrow, { text: props.eyebrow }) }),
|
|
337
|
+
/* @__PURE__ */ jsx(Title, { props, ctx, onAccentBand: inverted, size: "sm" }),
|
|
338
|
+
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone: inverted ? "inherit" : "muted", className: "hidden md:block", children: props.body }) : null
|
|
339
|
+
] }),
|
|
340
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 gap-3", children: [
|
|
341
|
+
/* @__PURE__ */ jsx(ButtonLink, { link: props.primaryCta, ctx, tone: inverted ? "inverse" : "primary" }),
|
|
342
|
+
props.secondaryCta ? /* @__PURE__ */ jsx(ButtonLink, { link: props.secondaryCta, ctx, tone: "outline", className: "hidden md:inline-flex" }) : null
|
|
343
|
+
] })
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
) });
|
|
347
|
+
}
|
|
286
348
|
if (variant === "split") {
|
|
287
349
|
return /* @__PURE__ */ jsx(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 md:flex-row md:items-center md:justify-between", children: [
|
|
288
350
|
/* @__PURE__ */ jsxs("div", { className: "flex max-w-2xl flex-col gap-3", children: [
|
|
289
|
-
/* @__PURE__ */ jsx(
|
|
351
|
+
/* @__PURE__ */ jsx(Eyebrow, { text: props.eyebrow }),
|
|
352
|
+
/* @__PURE__ */ jsx(Title, { props, ctx, onAccentBand: inverted }),
|
|
290
353
|
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone: inverted ? "inherit" : "muted", children: props.body }) : null
|
|
291
354
|
] }),
|
|
292
355
|
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: inverted, className: "shrink-0" })
|
|
293
356
|
] }) });
|
|
294
357
|
}
|
|
295
358
|
return /* @__PURE__ */ jsx(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex max-w-3xl flex-col items-center gap-6 text-center", children: [
|
|
296
|
-
/* @__PURE__ */ jsx(
|
|
359
|
+
/* @__PURE__ */ jsx(Eyebrow, { text: props.eyebrow }),
|
|
360
|
+
/* @__PURE__ */ jsx(Title, { props, ctx, onAccentBand: inverted }),
|
|
297
361
|
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone: inverted ? "inherit" : "muted", children: props.body }) : null,
|
|
298
362
|
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: inverted, className: "sm:justify-center" })
|
|
299
363
|
] }) });
|
|
300
364
|
}
|
|
301
365
|
});
|
|
366
|
+
var Answer = RichText.refine((doc) => richTextPlainLength(doc) > 0, { message: "Write an answer." }).meta({ title: "Answer", "x-genesis-kind": "rich-text" });
|
|
302
367
|
var schema2 = z.object({
|
|
368
|
+
eyebrow: Line(60).optional(),
|
|
303
369
|
heading: Line(90),
|
|
304
370
|
body: Copy(320).optional(),
|
|
305
|
-
items: z.array(z.object({ question: Line(160), answer:
|
|
371
|
+
items: z.array(z.object({ question: Line(160), answer: Answer })).min(1).max(30),
|
|
306
372
|
surface: Surface.default("base"),
|
|
307
373
|
anchor: Anchor
|
|
308
374
|
});
|
|
309
|
-
function
|
|
310
|
-
|
|
375
|
+
function richTextPlainLength(node) {
|
|
376
|
+
if (!node || typeof node !== "object") return 0;
|
|
377
|
+
const n = node;
|
|
378
|
+
const own = n.type === "text" && typeof n.text === "string" ? n.text.trim().length : 0;
|
|
379
|
+
return own + (Array.isArray(n.content) ? n.content.reduce((sum, c) => sum + richTextPlainLength(c), 0) : 0);
|
|
380
|
+
}
|
|
381
|
+
function answerToRichText(text) {
|
|
382
|
+
const paragraphs = text.split(/\n{2,}/).map((p) => p.trim()).filter(Boolean).map((p) => ({
|
|
383
|
+
type: "paragraph",
|
|
384
|
+
content: p.split("\n").flatMap((line, i) => [...i > 0 ? [{ type: "hardBreak" }] : [], ...line ? [{ type: "text", text: line }] : []])
|
|
385
|
+
}));
|
|
386
|
+
return { type: "doc", content: paragraphs.length ? paragraphs : [{ type: "paragraph" }] };
|
|
387
|
+
}
|
|
388
|
+
function v1ToV2(props) {
|
|
389
|
+
const items = Array.isArray(props.items) ? props.items : [];
|
|
390
|
+
return {
|
|
391
|
+
...props,
|
|
392
|
+
items: items.map((item) => {
|
|
393
|
+
const it = item;
|
|
394
|
+
return typeof it.answer === "string" ? { ...it, answer: answerToRichText(it.answer) } : it;
|
|
395
|
+
})
|
|
396
|
+
};
|
|
397
|
+
}
|
|
398
|
+
function AnswerView({ doc, muted }) {
|
|
399
|
+
return /* @__PURE__ */ jsx(RichText$1, { value: doc, headingLevels: [4], className: cn(richTextClassName, "[&_p+p]:mt-3", muted && "text-muted-foreground") });
|
|
311
400
|
}
|
|
312
401
|
var faqSection = defineSection({
|
|
313
402
|
type: "faq",
|
|
314
|
-
version:
|
|
403
|
+
version: 2,
|
|
404
|
+
migrations: { 2: v1ToV2 },
|
|
315
405
|
label: "FAQ",
|
|
316
406
|
description: "Questions and answers. Works without script: each answer opens in place.",
|
|
317
407
|
category: "content",
|
|
@@ -325,18 +415,18 @@ var faqSection = defineSection({
|
|
|
325
415
|
{
|
|
326
416
|
name: "FAQ",
|
|
327
417
|
variant: "accordion",
|
|
328
|
-
props: { heading: "Questions", items: [{ question: "A question people ask?", answer: "A short, direct answer." }, { question: "Another question?", answer: "Another answer." }] }
|
|
418
|
+
props: { heading: "Questions", items: [{ question: "A question people ask?", answer: answerToRichText("A short, direct answer.") }, { question: "Another question?", answer: answerToRichText("Another answer.") }] }
|
|
329
419
|
}
|
|
330
420
|
],
|
|
331
421
|
render: ({ props, variant, node, ctx }) => {
|
|
332
422
|
const inverted = onAccent(props.surface);
|
|
333
|
-
const intro = /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" });
|
|
423
|
+
const intro = /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" });
|
|
334
424
|
if (variant === "list") {
|
|
335
425
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
336
426
|
intro,
|
|
337
427
|
/* @__PURE__ */ jsx("div", { className: "mt-12 grid gap-x-12 gap-y-10 md:grid-cols-2", children: props.items.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
338
428
|
/* @__PURE__ */ jsx(ItemTitle, { ctx, children: item.question }),
|
|
339
|
-
/* @__PURE__ */ jsx(
|
|
429
|
+
/* @__PURE__ */ jsx(AnswerView, { doc: item.answer, muted: !inverted })
|
|
340
430
|
] }, i)) })
|
|
341
431
|
] });
|
|
342
432
|
}
|
|
@@ -347,7 +437,7 @@ var faqSection = defineSection({
|
|
|
347
437
|
/* @__PURE__ */ jsx("span", { children: item.question }),
|
|
348
438
|
/* @__PURE__ */ jsx(ChevronDown, { "aria-hidden": "true", className: "size-5 shrink-0 transition-transform group-open:rotate-180 motion-reduce:transition-none" })
|
|
349
439
|
] }),
|
|
350
|
-
/* @__PURE__ */ jsx("div", { className: "pb-5", children: /* @__PURE__ */ jsx(
|
|
440
|
+
/* @__PURE__ */ jsx("div", { className: "pb-5", children: /* @__PURE__ */ jsx(AnswerView, { doc: item.answer, muted: !inverted }) })
|
|
351
441
|
] }, i)) })
|
|
352
442
|
] });
|
|
353
443
|
}
|
|
@@ -361,13 +451,18 @@ var Item = z.object({
|
|
|
361
451
|
/** A button for this item: a step's own next action. */
|
|
362
452
|
cta: Link.optional(),
|
|
363
453
|
/** A short aside under the copy ("When: Saturdays at 8 am"). */
|
|
364
|
-
note: Copy(300).optional()
|
|
454
|
+
note: Copy(300).optional(),
|
|
455
|
+
/** An id for links straight to this item (`/services#evenings`). */
|
|
456
|
+
anchor: Anchor
|
|
365
457
|
});
|
|
458
|
+
var CompareList = z.object({ heading: Line(60), items: z.array(Line(160)).min(1).max(20) });
|
|
366
459
|
var schema3 = z.object({
|
|
367
460
|
eyebrow: Line(60).optional(),
|
|
368
461
|
heading: Line(90),
|
|
369
462
|
body: Copy(320).optional(),
|
|
370
|
-
items: z.array(Item).
|
|
463
|
+
items: z.array(Item).max(12).default([]),
|
|
464
|
+
/** Two lists side by side: what's included, and what isn't. */
|
|
465
|
+
compare: z.object({ included: CompareList, excluded: CompareList }).optional(),
|
|
371
466
|
columns: z.union([z.literal(2), z.literal(3), z.literal(4)]).default(3),
|
|
372
467
|
/** Number the items (01, 02, …) in place of their icons: an ordered list. The `steps` variant always is. */
|
|
373
468
|
numbered: z.boolean().default(false),
|
|
@@ -375,7 +470,7 @@ var schema3 = z.object({
|
|
|
375
470
|
cta: Link.optional(),
|
|
376
471
|
surface: Surface.default("base"),
|
|
377
472
|
anchor: Anchor
|
|
378
|
-
});
|
|
473
|
+
}).refine((p) => p.items.length > 0 || p.compare, { message: "Add an item, or a comparison.", path: ["items"] });
|
|
379
474
|
var COLUMNS = { 2: "sm:grid-cols-2", 3: "sm:grid-cols-2 lg:grid-cols-3", 4: "sm:grid-cols-2 lg:grid-cols-4" };
|
|
380
475
|
var featuresSection = defineSection({
|
|
381
476
|
type: "features",
|
|
@@ -420,6 +515,17 @@ var featuresSection = defineSection({
|
|
|
420
515
|
{ title: "Pick a plan", body: "Choose what fits your week.", cta: { label: "See the plans", href: "/plans" } }
|
|
421
516
|
]
|
|
422
517
|
}
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
name: "Included and not included",
|
|
521
|
+
variant: "grid",
|
|
522
|
+
props: {
|
|
523
|
+
heading: "What's in it",
|
|
524
|
+
compare: {
|
|
525
|
+
included: { heading: "Included", items: ["A first thing", "A second thing"] },
|
|
526
|
+
excluded: { heading: "Not included", items: ["Something people ask about"] }
|
|
527
|
+
}
|
|
528
|
+
}
|
|
423
529
|
}
|
|
424
530
|
],
|
|
425
531
|
render: ({ props, variant, node, ctx }) => {
|
|
@@ -433,6 +539,20 @@ var featuresSection = defineSection({
|
|
|
433
539
|
] });
|
|
434
540
|
const sectionCta = props.cta ? /* @__PURE__ */ jsx("div", { className: "mt-10 flex justify-center", children: /* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, tone: inverted ? "inverse" : "primary" }) }) : null;
|
|
435
541
|
const List = props.numbered ? "ol" : "ul";
|
|
542
|
+
const itemId = (item) => item.anchor ? { id: item.anchor } : {};
|
|
543
|
+
const anchored = (item) => item.anchor ? "scroll-mt-20" : void 0;
|
|
544
|
+
const compare = props.compare ? /* @__PURE__ */ jsx("div", { "data-gs-part": "compare", className: cn("grid gap-6 md:grid-cols-2", props.items.length ? "mt-12" : "mt-10"), children: ["included", "excluded"].map((side) => {
|
|
545
|
+
const list = props.compare[side];
|
|
546
|
+
const Glyph = side === "included" ? Check : Minus;
|
|
547
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 rounded-xl border border-border bg-background p-6 text-foreground sm:p-8", children: [
|
|
548
|
+
/* @__PURE__ */ jsx(ItemTitle, { ctx, className: "text-xl", children: list.heading }),
|
|
549
|
+
/* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-3", children: list.items.map((line, i) => /* @__PURE__ */ jsxs("li", { className: "flex gap-3", children: [
|
|
550
|
+
/* @__PURE__ */ jsx(Glyph, { "aria-hidden": "true", className: cn("mt-1 size-4 shrink-0", side === "included" ? "text-primary" : "text-muted-foreground") }),
|
|
551
|
+
/* @__PURE__ */ jsx("span", { children: line })
|
|
552
|
+
] }, i)) })
|
|
553
|
+
] }, side);
|
|
554
|
+
}) }) : null;
|
|
555
|
+
const items = (list) => props.items.length ? list : null;
|
|
436
556
|
const Icon = (name) => {
|
|
437
557
|
if (!name) return null;
|
|
438
558
|
const Glyph = ICONS[name];
|
|
@@ -441,7 +561,7 @@ var featuresSection = defineSection({
|
|
|
441
561
|
if (variant === "steps") {
|
|
442
562
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
443
563
|
intro,
|
|
444
|
-
/* @__PURE__ */ jsx("ol", { className: cn("mt-12 grid gap-6", props.items.length > 3 ? "md:grid-cols-2" : "", props.items.length === 3 && "lg:grid-cols-3"), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { className: "flex flex-col gap-4 rounded-xl border border-border bg-background p-6 text-foreground sm:p-8", children: [
|
|
564
|
+
items(/* @__PURE__ */ jsx("ol", { className: cn("mt-12 grid gap-6", props.items.length > 3 ? "md:grid-cols-2" : "", props.items.length === 3 && "lg:grid-cols-3"), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { ...itemId(item), className: cn("flex flex-col gap-4 rounded-xl border border-border bg-background p-6 text-foreground sm:p-8", anchored(item)), children: [
|
|
445
565
|
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "font-display text-4xl font-bold leading-none", children: String(i + 1).padStart(2, "0") }),
|
|
446
566
|
item.image ? /* @__PURE__ */ jsx(SiteImage, { image: item.image, ctx, sizes: "(min-width: 1280px) 400px, (min-width: 1024px) 33vw, 100vw", className: "aspect-video w-full rounded-lg object-cover" }) : null,
|
|
447
567
|
/* @__PURE__ */ jsx(ItemTitle, { ctx, className: "text-2xl", children: item.title }),
|
|
@@ -449,14 +569,15 @@ var featuresSection = defineSection({
|
|
|
449
569
|
item.note ? /* @__PURE__ */ jsx("p", { className: "border-l-2 border-primary pl-3 text-sm italic", children: item.note }) : null,
|
|
450
570
|
item.link ? /* @__PURE__ */ jsx(TextLink, { link: item.link, ctx, className: "font-medium underline" }) : null,
|
|
451
571
|
item.cta ? /* @__PURE__ */ jsx(ButtonLink, { link: item.cta, ctx, tone: "primary", className: "mt-auto self-start" }) : null
|
|
452
|
-
] }, i)) }),
|
|
572
|
+
] }, i)) })),
|
|
573
|
+
compare,
|
|
453
574
|
sectionCta
|
|
454
575
|
] });
|
|
455
576
|
}
|
|
456
577
|
if (variant === "alternating") {
|
|
457
578
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
458
579
|
intro,
|
|
459
|
-
/* @__PURE__ */ jsx(List, { className: "mt-12 flex flex-col gap-12 md:gap-16", children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { className: "grid items-center gap-8 md:grid-cols-2 md:gap-12", children: [
|
|
580
|
+
items(/* @__PURE__ */ jsx(List, { className: "mt-12 flex flex-col gap-12 md:gap-16", children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { ...itemId(item), className: cn("grid items-center gap-8 md:grid-cols-2 md:gap-12", anchored(item)), children: [
|
|
460
581
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-3", i % 2 === 1 && "md:order-2"), children: [
|
|
461
582
|
props.numbered ? numberBadge(i) : Icon(item.icon),
|
|
462
583
|
/* @__PURE__ */ jsx(ItemTitle, { ctx, className: "text-2xl", children: item.title }),
|
|
@@ -464,27 +585,29 @@ var featuresSection = defineSection({
|
|
|
464
585
|
extras(item)
|
|
465
586
|
] }),
|
|
466
587
|
item.image ? /* @__PURE__ */ jsx(SiteImage, { image: item.image, ctx, large: true, sizes: "(min-width: 1280px) 640px, (min-width: 768px) 50vw, 100vw", className: "aspect-[4/3] w-full rounded-xl object-cover" }) : /* @__PURE__ */ jsx("div", { "aria-hidden": "true", className: "hidden aspect-[4/3] w-full rounded-xl bg-muted md:block" })
|
|
467
|
-
] }, i)) }),
|
|
588
|
+
] }, i)) })),
|
|
589
|
+
compare,
|
|
468
590
|
sectionCta
|
|
469
591
|
] });
|
|
470
592
|
}
|
|
471
593
|
if (variant === "list") {
|
|
472
594
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
473
595
|
intro,
|
|
474
|
-
/* @__PURE__ */ jsx(List, { className: cn("mt-12 grid gap-x-10 gap-y-8", props.columns >= 2 && "sm:grid-cols-2", props.columns >= 3 && "lg:grid-cols-3"), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { className: "flex gap-4", children: [
|
|
596
|
+
items(/* @__PURE__ */ jsx(List, { className: cn("mt-12 grid gap-x-10 gap-y-8", props.columns >= 2 && "sm:grid-cols-2", props.columns >= 3 && "lg:grid-cols-3"), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { ...itemId(item), className: cn("flex gap-4", anchored(item)), children: [
|
|
475
597
|
props.numbered ? numberBadge(i) : Icon(item.icon ?? "check"),
|
|
476
598
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
477
599
|
/* @__PURE__ */ jsx(ItemTitle, { ctx, children: item.title }),
|
|
478
600
|
/* @__PURE__ */ jsx("p", { className: inverted ? void 0 : "text-muted-foreground", children: item.body }),
|
|
479
601
|
extras(item, "mt-1")
|
|
480
602
|
] })
|
|
481
|
-
] }, i)) }),
|
|
603
|
+
] }, i)) })),
|
|
604
|
+
compare,
|
|
482
605
|
sectionCta
|
|
483
606
|
] });
|
|
484
607
|
}
|
|
485
608
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
486
609
|
intro,
|
|
487
|
-
/* @__PURE__ */ jsx(List, { className: cn("mt-12 grid gap-6", COLUMNS[props.columns]), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { className: "flex flex-col gap-3 rounded-xl border border-border bg-background p-6 text-foreground", children: [
|
|
610
|
+
items(/* @__PURE__ */ jsx(List, { className: cn("mt-12 grid gap-6", COLUMNS[props.columns]), children: props.items.map((item, i) => /* @__PURE__ */ jsxs("li", { ...itemId(item), className: cn("flex flex-col gap-3 rounded-xl border border-border bg-background p-6 text-foreground", anchored(item)), children: [
|
|
488
611
|
item.image ? /* @__PURE__ */ jsx(SiteImage, { image: item.image, ctx, sizes: "(min-width: 1280px) 400px, (min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw", className: "aspect-video w-full rounded-lg object-cover" }) : null,
|
|
489
612
|
props.numbered ? numberBadge(i) : item.image ? null : Icon(item.icon),
|
|
490
613
|
/* @__PURE__ */ jsx(ItemTitle, { ctx, children: item.title }),
|
|
@@ -492,7 +615,8 @@ var featuresSection = defineSection({
|
|
|
492
615
|
item.note ? /* @__PURE__ */ jsx("p", { className: "border-l-2 border-primary pl-3 text-sm italic", children: item.note }) : null,
|
|
493
616
|
item.link ? /* @__PURE__ */ jsx(TextLink, { link: item.link, ctx, className: "mt-auto font-medium underline" }) : null,
|
|
494
617
|
item.cta ? /* @__PURE__ */ jsx(ButtonLink, { link: item.cta, ctx, tone: "outline", className: cn("self-start", !item.link && "mt-auto") }) : null
|
|
495
|
-
] }, i)) }),
|
|
618
|
+
] }, i)) })),
|
|
619
|
+
compare,
|
|
496
620
|
sectionCta
|
|
497
621
|
] });
|
|
498
622
|
}
|
|
@@ -501,7 +625,10 @@ var schema4 = z.object({
|
|
|
501
625
|
tagline: Copy(200).optional(),
|
|
502
626
|
columns: z.array(z.object({ heading: Line(40), links: z.array(Link).min(1).max(8) })).max(4).default([]),
|
|
503
627
|
links: z.array(Link).max(12).default([]),
|
|
628
|
+
/** `{year}` becomes the current year ("© {year} Your business"). */
|
|
504
629
|
copyright: Line(120).optional(),
|
|
630
|
+
/** A button under the line about you. */
|
|
631
|
+
cta: Link.optional(),
|
|
505
632
|
surface: Surface.default("inverse")
|
|
506
633
|
});
|
|
507
634
|
var footerSection = defineSection({
|
|
@@ -527,11 +654,13 @@ var footerSection = defineSection({
|
|
|
527
654
|
const attrs = bandAttrs(node, ctx, void 0, false);
|
|
528
655
|
const quiet = props.surface === "base" || props.surface === "muted" ? "text-muted-foreground" : void 0;
|
|
529
656
|
const name = /* @__PURE__ */ jsx("p", { className: "font-display text-lg font-bold", children: ctx.site.name });
|
|
530
|
-
const copyright = props.copyright ? /* @__PURE__ */ jsx("p", { className: cn("text-sm", quiet), children: props.copyright }) : null;
|
|
657
|
+
const copyright = props.copyright ? /* @__PURE__ */ jsx("p", { className: cn("text-sm", quiet), children: props.copyright.replace(/\{year\}/g, String((/* @__PURE__ */ new Date()).getFullYear())) }) : null;
|
|
658
|
+
const button = props.cta ? /* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, tone: onAccent(props.surface) ? "inverse" : "primary", className: "self-start" }) : null;
|
|
531
659
|
const row = (links) => links.length ? /* @__PURE__ */ jsx("nav", { "aria-label": "Footer", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-wrap gap-x-6 gap-y-2", children: links.map((link, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(TextLink, { link, ctx, className: "text-sm underline" }) }, i)) }) }) : null;
|
|
532
660
|
if (variant === "minimal") {
|
|
533
661
|
return /* @__PURE__ */ jsx(Band, { ...attrs, as: "footer", surface: props.surface, spacing: "sm", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
534
662
|
copyright ?? name,
|
|
663
|
+
button,
|
|
535
664
|
row(props.links)
|
|
536
665
|
] }) });
|
|
537
666
|
}
|
|
@@ -540,7 +669,8 @@ var footerSection = defineSection({
|
|
|
540
669
|
/* @__PURE__ */ jsxs("div", { className: "grid gap-10 md:grid-cols-[2fr_repeat(3,1fr)]", children: [
|
|
541
670
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
542
671
|
name,
|
|
543
|
-
props.tagline ? /* @__PURE__ */ jsx("p", { className: cn("max-w-sm", quiet), children: props.tagline }) : null
|
|
672
|
+
props.tagline ? /* @__PURE__ */ jsx("p", { className: cn("max-w-sm", quiet), children: props.tagline }) : null,
|
|
673
|
+
button
|
|
544
674
|
] }),
|
|
545
675
|
props.columns.map((col, i) => /* @__PURE__ */ jsxs("nav", { "aria-label": col.heading, className: "flex flex-col gap-3", children: [
|
|
546
676
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-semibold uppercase tracking-wider", children: col.heading }),
|
|
@@ -557,7 +687,8 @@ var footerSection = defineSection({
|
|
|
557
687
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 md:flex-row md:items-start md:justify-between", children: [
|
|
558
688
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
559
689
|
name,
|
|
560
|
-
props.tagline ? /* @__PURE__ */ jsx("p", { className: cn("max-w-md", quiet), children: props.tagline }) : null
|
|
690
|
+
props.tagline ? /* @__PURE__ */ jsx("p", { className: cn("max-w-md", quiet), children: props.tagline }) : null,
|
|
691
|
+
button
|
|
561
692
|
] }),
|
|
562
693
|
row(props.links)
|
|
563
694
|
] }),
|
|
@@ -886,6 +1017,7 @@ var formEmbedSection = defineSection({
|
|
|
886
1017
|
}
|
|
887
1018
|
});
|
|
888
1019
|
var schema6 = z.object({
|
|
1020
|
+
eyebrow: Line(60).optional(),
|
|
889
1021
|
heading: Line(90).optional(),
|
|
890
1022
|
body: Copy(320).optional(),
|
|
891
1023
|
images: z.array(Image.extend({ caption: Line(140).optional() })).min(1).max(24),
|
|
@@ -912,7 +1044,7 @@ var gallerySection = defineSection({
|
|
|
912
1044
|
}
|
|
913
1045
|
],
|
|
914
1046
|
render: ({ props, variant, node, ctx }) => {
|
|
915
|
-
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, body: props.body, tone: onAccent(props.surface) ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Gallery" });
|
|
1047
|
+
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, body: props.body, tone: onAccent(props.surface) ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Gallery" });
|
|
916
1048
|
const masonry = variant === "masonry";
|
|
917
1049
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
918
1050
|
intro,
|
|
@@ -934,10 +1066,13 @@ var gallerySection = defineSection({
|
|
|
934
1066
|
var schema7 = z.object({
|
|
935
1067
|
eyebrow: Line(60).optional(),
|
|
936
1068
|
heading: Line(90),
|
|
1069
|
+
headingAccent: HeadingAccent,
|
|
937
1070
|
body: Copy(320).optional(),
|
|
938
1071
|
primaryCta: Link.optional(),
|
|
939
1072
|
secondaryCta: Link.optional(),
|
|
940
1073
|
image: Image.optional(),
|
|
1074
|
+
/** Figures under the buttons ("12 weeks", "4 hosts"): two to five. */
|
|
1075
|
+
stats: z.array(z.object({ value: Line(20), label: Line(60) })).max(5).default([]).refine((s) => s.length !== 1, { message: "Add at least two figures, or none." }),
|
|
941
1076
|
anchor: Anchor
|
|
942
1077
|
});
|
|
943
1078
|
var heroSection = defineSection({
|
|
@@ -970,9 +1105,13 @@ var heroSection = defineSection({
|
|
|
970
1105
|
render: ({ props, variant, node, ctx }) => {
|
|
971
1106
|
const intro = (align, tone = "muted") => /* @__PURE__ */ jsxs("div", { className: align === "center" ? "mx-auto flex max-w-3xl flex-col items-center gap-6 text-center" : "flex flex-col items-start gap-6", children: [
|
|
972
1107
|
props.eyebrow ? /* @__PURE__ */ jsx("p", { "data-gs-text": "eyebrow", className: "text-sm font-semibold uppercase tracking-wider", children: props.eyebrow }) : null,
|
|
973
|
-
/* @__PURE__ */ jsx(SectionTitle, { ctx, id: titleId(ctx), size: "xl", children: props.heading }),
|
|
1108
|
+
/* @__PURE__ */ jsx(SectionTitle, { ctx, id: titleId(ctx), size: "xl", children: withAccent(props.heading, props.headingAccent, tone === "inherit") }),
|
|
974
1109
|
props.body ? /* @__PURE__ */ jsx(BandLead, { "data-gs-text": "lead", tone, children: props.body }) : null,
|
|
975
|
-
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: tone === "inherit", className: align === "center" ? "sm:justify-center" : void 0 })
|
|
1110
|
+
/* @__PURE__ */ jsx(Actions, { primary: props.primaryCta, secondary: props.secondaryCta, ctx, onAccent: tone === "inherit", className: align === "center" ? "sm:justify-center" : void 0 }),
|
|
1111
|
+
props.stats.length ? /* @__PURE__ */ jsx("dl", { "data-gs-part": "hero-stats", className: cn("mt-4 grid w-full grid-cols-2 gap-x-8 gap-y-4 border-t border-current/20 pt-6", props.stats.length >= 3 && "sm:grid-cols-3", props.stats.length === 4 && "lg:grid-cols-4", props.stats.length === 5 && "lg:grid-cols-5"), children: props.stats.map((stat, i) => /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-1", align === "center" ? "items-center" : "items-start"), children: [
|
|
1112
|
+
/* @__PURE__ */ jsx("dt", { className: cn("order-2 text-sm", tone === "muted" && "text-muted-foreground"), children: stat.label }),
|
|
1113
|
+
/* @__PURE__ */ jsx("dd", { className: "order-1 font-display text-3xl font-bold leading-none", children: stat.value })
|
|
1114
|
+
] }, i)) }) : null
|
|
976
1115
|
] });
|
|
977
1116
|
if (variant === "image-bg" && props.image) {
|
|
978
1117
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: "inverse", spacing: "lg", className: "isolate overflow-hidden", children: [
|
|
@@ -991,6 +1130,7 @@ var heroSection = defineSection({
|
|
|
991
1130
|
}
|
|
992
1131
|
});
|
|
993
1132
|
var schema8 = z.object({
|
|
1133
|
+
eyebrow: Line(60).optional(),
|
|
994
1134
|
heading: Line(90).optional(),
|
|
995
1135
|
items: z.array(
|
|
996
1136
|
z.object({
|
|
@@ -1041,14 +1181,14 @@ var logosSection = defineSection({
|
|
|
1041
1181
|
};
|
|
1042
1182
|
if (variant === "trust-bar") {
|
|
1043
1183
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, spacing: "sm", children: [
|
|
1044
|
-
props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, size: "sm", tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: props.claim ?? "Why people trust us" }),
|
|
1184
|
+
props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, size: "sm", tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: props.claim ?? "Why people trust us" }),
|
|
1045
1185
|
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center gap-4 md:flex-row md:justify-between", props.heading && "mt-6"), children: [
|
|
1046
1186
|
props.claim ? /* @__PURE__ */ jsx("p", { className: "text-center font-display text-lg font-semibold md:text-left", children: props.claim }) : null,
|
|
1047
1187
|
/* @__PURE__ */ jsx("ul", { className: "flex flex-wrap items-center justify-center gap-x-6 gap-y-3 md:justify-end", children: props.items.map((item, i) => /* @__PURE__ */ jsx("li", { className: "flex items-center", children: linked(item, badge(item, true)) }, i)) })
|
|
1048
1188
|
] })
|
|
1049
1189
|
] });
|
|
1050
1190
|
}
|
|
1051
|
-
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, size: "md", tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Logos" });
|
|
1191
|
+
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, size: "md", tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Logos" });
|
|
1052
1192
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, spacing: "sm", children: [
|
|
1053
1193
|
intro,
|
|
1054
1194
|
/* @__PURE__ */ jsx("ul", { className: cn("items-center", props.heading && "mt-8", variant === "grid" ? "grid grid-cols-2 gap-8 sm:grid-cols-3 lg:grid-cols-4" : "flex flex-wrap justify-center gap-x-10 gap-y-6"), children: props.items.map((item, i) => /* @__PURE__ */ jsx("li", { className: "flex justify-center", children: linked(item, badge(item, false)) }, i)) })
|
|
@@ -1060,7 +1200,17 @@ var schema9 = z.object({
|
|
|
1060
1200
|
logo: Image.optional(),
|
|
1061
1201
|
/** Show the site's name beside the logo (always shown when there is no logo). */
|
|
1062
1202
|
showName: z.boolean().default(true),
|
|
1063
|
-
|
|
1203
|
+
/** A line under the site's name ("Riverside · Since 2010"). */
|
|
1204
|
+
tagline: Line(80).optional(),
|
|
1205
|
+
cta: Link.optional(),
|
|
1206
|
+
/** The button's label where room is short (tablets and the logo-only header on phones): "Book", say, for "Book a free visit". */
|
|
1207
|
+
ctaShortLabel: Line(24).optional(),
|
|
1208
|
+
/** Ways to reach you, at the foot of the phone menu. */
|
|
1209
|
+
drawerContact: z.object({
|
|
1210
|
+
phone: Line(40).optional(),
|
|
1211
|
+
email: z.email().max(120).optional(),
|
|
1212
|
+
address: Copy(200).optional()
|
|
1213
|
+
}).optional()
|
|
1064
1214
|
});
|
|
1065
1215
|
function isCurrent(item, ctx) {
|
|
1066
1216
|
return item.href === ctx.pagePath;
|
|
@@ -1075,7 +1225,11 @@ function Brand({ props, ctx }) {
|
|
|
1075
1225
|
className: "inline-flex min-h-11 items-center gap-3 rounded-md font-display text-lg font-bold tracking-tight focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
1076
1226
|
children: [
|
|
1077
1227
|
logo ? /* @__PURE__ */ jsx(SiteImage, { image: { ...logo, alt: showName ? "" : logo.alt || ctx.site.name, decorative: showName }, ctx, eager: true, sizes: "240px", className: "h-8 w-auto" }) : null,
|
|
1078
|
-
showName ? /* @__PURE__ */ jsx("span", { children: ctx.site.name }) : null,
|
|
1228
|
+
showName && !props.tagline ? /* @__PURE__ */ jsx("span", { children: ctx.site.name }) : null,
|
|
1229
|
+
showName && props.tagline ? /* @__PURE__ */ jsxs("span", { className: "flex flex-col leading-tight", children: [
|
|
1230
|
+
/* @__PURE__ */ jsx("span", { children: ctx.site.name }),
|
|
1231
|
+
/* @__PURE__ */ jsx("span", { "data-gs-text": "tagline", className: "font-sans text-xs font-medium tracking-normal text-muted-foreground", children: props.tagline })
|
|
1232
|
+
] }) : null,
|
|
1079
1233
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: ", home" })
|
|
1080
1234
|
]
|
|
1081
1235
|
}
|
|
@@ -1095,6 +1249,34 @@ function Items({ ctx, className, itemClassName }) {
|
|
|
1095
1249
|
}
|
|
1096
1250
|
) }, `${item.label}-${item.href}`)) });
|
|
1097
1251
|
}
|
|
1252
|
+
function CtaButton({ props, ctx, className, shortFrom = "md" }) {
|
|
1253
|
+
if (!props.cta) return null;
|
|
1254
|
+
if (!props.ctaShortLabel) return /* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, className: cn(shortFrom === "md" && "hidden md:inline-flex", className) });
|
|
1255
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1256
|
+
/* @__PURE__ */ jsx(ButtonLink, { link: { ...props.cta, label: props.ctaShortLabel }, ctx, className: cn(shortFrom === "md" ? "hidden md:inline-flex lg:hidden" : "lg:hidden", className) }),
|
|
1257
|
+
/* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, className: cn("hidden lg:inline-flex", className) })
|
|
1258
|
+
] });
|
|
1259
|
+
}
|
|
1260
|
+
var telHref = (phone) => `tel:${phone.trim().startsWith("+") ? "+" : ""}${phone.replace(/\D/g, "")}`;
|
|
1261
|
+
function DrawerContact({ props }) {
|
|
1262
|
+
const c = props.drawerContact;
|
|
1263
|
+
if (!c || !c.phone && !c.email && !c.address) return null;
|
|
1264
|
+
const row = "inline-flex min-h-11 items-center gap-3 rounded-md text-sm focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring";
|
|
1265
|
+
return /* @__PURE__ */ jsxs("address", { "data-gs-part": "drawer-contact", className: "mt-4 flex flex-col border-t border-border pt-3 not-italic", children: [
|
|
1266
|
+
c.phone ? /* @__PURE__ */ jsxs("a", { href: telHref(c.phone), className: row, children: [
|
|
1267
|
+
/* @__PURE__ */ jsx(Phone, { "aria-hidden": "true", className: "size-4 shrink-0" }),
|
|
1268
|
+
c.phone
|
|
1269
|
+
] }) : null,
|
|
1270
|
+
c.email ? /* @__PURE__ */ jsxs("a", { href: `mailto:${c.email}`, className: row, children: [
|
|
1271
|
+
/* @__PURE__ */ jsx(Mail, { "aria-hidden": "true", className: "size-4 shrink-0" }),
|
|
1272
|
+
c.email
|
|
1273
|
+
] }) : null,
|
|
1274
|
+
c.address ? /* @__PURE__ */ jsxs("p", { className: "flex items-start gap-3 py-3 text-sm", children: [
|
|
1275
|
+
/* @__PURE__ */ jsx(MapPin, { "aria-hidden": "true", className: "mt-0.5 size-4 shrink-0" }),
|
|
1276
|
+
/* @__PURE__ */ jsx("span", { className: "whitespace-pre-line", children: c.address })
|
|
1277
|
+
] }) : null
|
|
1278
|
+
] });
|
|
1279
|
+
}
|
|
1098
1280
|
function NavSection({ props, variant, node, ctx }) {
|
|
1099
1281
|
const attrs = bandAttrs(node, ctx, void 0, false);
|
|
1100
1282
|
const hasMenu = variant !== "minimal" && ctx.site.nav.length > 0;
|
|
@@ -1103,7 +1285,7 @@ function NavSection({ props, variant, node, ctx }) {
|
|
|
1103
1285
|
/* @__PURE__ */ jsx(Brand, { props, ctx }),
|
|
1104
1286
|
hasMenu ? /* @__PURE__ */ jsxs("nav", { "aria-label": "Main", className: cn("flex items-center gap-2", centered && "md:w-full md:justify-center"), children: [
|
|
1105
1287
|
/* @__PURE__ */ jsx(Items, { ctx, className: "hidden items-center gap-1 md:flex" }),
|
|
1106
|
-
|
|
1288
|
+
/* @__PURE__ */ jsx(CtaButton, { props, ctx }),
|
|
1107
1289
|
/* @__PURE__ */ jsxs("details", { className: "group md:hidden", "data-gs-island": "menu", children: [
|
|
1108
1290
|
/* @__PURE__ */ jsxs("summary", { className: "flex min-h-11 min-w-11 cursor-pointer list-none items-center justify-center rounded-md border border-border focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring [&::-webkit-details-marker]:hidden", children: [
|
|
1109
1291
|
/* @__PURE__ */ jsx(Menu, { "aria-hidden": "true", className: "size-5" }),
|
|
@@ -1111,10 +1293,11 @@ function NavSection({ props, variant, node, ctx }) {
|
|
|
1111
1293
|
] }),
|
|
1112
1294
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-x-0 top-full z-50 border-b border-border bg-background px-4 pb-4 shadow-lg", children: [
|
|
1113
1295
|
/* @__PURE__ */ jsx(Items, { ctx, className: "flex flex-col py-2", itemClassName: "w-full" }),
|
|
1114
|
-
props.cta ? /* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, className: "w-full" }) : null
|
|
1296
|
+
props.cta ? /* @__PURE__ */ jsx(ButtonLink, { link: props.cta, ctx, className: "w-full" }) : null,
|
|
1297
|
+
/* @__PURE__ */ jsx(DrawerContact, { props })
|
|
1115
1298
|
] })
|
|
1116
1299
|
] })
|
|
1117
|
-
] }) : props.cta ? /* @__PURE__ */ jsx(
|
|
1300
|
+
] }) : props.cta ? /* @__PURE__ */ jsx(CtaButton, { props, ctx, shortFrom: "base" }) : null
|
|
1118
1301
|
] }) });
|
|
1119
1302
|
}
|
|
1120
1303
|
var navSection = defineSection({
|
|
@@ -1149,7 +1332,9 @@ var Tier = z.object({
|
|
|
1149
1332
|
cta: Link.optional(),
|
|
1150
1333
|
highlighted: z.boolean().optional(),
|
|
1151
1334
|
/** The highlighted plan's label (default "Most popular"). */
|
|
1152
|
-
badge: Line(30).optional()
|
|
1335
|
+
badge: Line(30).optional(),
|
|
1336
|
+
/** An id for links straight to this plan (`/plans#yearly`). */
|
|
1337
|
+
anchor: Anchor
|
|
1153
1338
|
});
|
|
1154
1339
|
var Group = z.object({
|
|
1155
1340
|
eyebrow: Line(60).optional(),
|
|
@@ -1224,7 +1409,7 @@ var pricingSection = defineSection({
|
|
|
1224
1409
|
const intro = /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" });
|
|
1225
1410
|
const noteOf = (text) => text ? /* @__PURE__ */ jsx("p", { className: cn("mt-8 text-center text-sm", !inverted && "text-muted-foreground"), children: text }) : null;
|
|
1226
1411
|
const grouped = props.groups.length > 0;
|
|
1227
|
-
const compactList = (tiers, inGroup, className) => /* @__PURE__ */ jsx("ul", { className: cn("mx-auto flex max-w-3xl flex-col divide-y divide-border rounded-xl border border-border bg-background text-foreground", className), children: tiers.map((tier, i) => /* @__PURE__ */ jsxs("li", { className: "flex flex-col gap-4 p-6 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
1412
|
+
const compactList = (tiers, inGroup, className) => /* @__PURE__ */ jsx("ul", { className: cn("mx-auto flex max-w-3xl flex-col divide-y divide-border rounded-xl border border-border bg-background text-foreground", className), children: tiers.map((tier, i) => /* @__PURE__ */ jsxs("li", { ...tier.anchor ? { id: tier.anchor } : {}, className: cn("flex flex-col gap-4 p-6 sm:flex-row sm:items-center sm:justify-between", tier.anchor && "scroll-mt-20"), children: [
|
|
1228
1413
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
1229
1414
|
/* @__PURE__ */ jsx(PlanTitle, { ctx, grouped: inGroup, children: tier.name }),
|
|
1230
1415
|
tier.description ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: tier.description }) : null
|
|
@@ -1243,8 +1428,10 @@ var pricingSection = defineSection({
|
|
|
1243
1428
|
const cardGrid = (tiers, inGroup, className) => /* @__PURE__ */ jsx("ul", { className: cn("grid gap-6", cols(tiers.length), className), children: tiers.map((tier, i) => /* @__PURE__ */ jsxs(
|
|
1244
1429
|
"li",
|
|
1245
1430
|
{
|
|
1431
|
+
...tier.anchor ? { id: tier.anchor } : {},
|
|
1246
1432
|
className: cn(
|
|
1247
1433
|
"flex flex-col gap-6 rounded-2xl border bg-background p-8 text-foreground",
|
|
1434
|
+
tier.anchor && "scroll-mt-20",
|
|
1248
1435
|
tier.highlighted ? "border-2 border-primary shadow-lg" : "border-border"
|
|
1249
1436
|
),
|
|
1250
1437
|
children: [
|
|
@@ -1293,7 +1480,9 @@ var pricingSection = defineSection({
|
|
|
1293
1480
|
}
|
|
1294
1481
|
});
|
|
1295
1482
|
var schema11 = z.object({
|
|
1483
|
+
eyebrow: Line(60).optional(),
|
|
1296
1484
|
heading: Line(90).optional(),
|
|
1485
|
+
headingAccent: HeadingAccent,
|
|
1297
1486
|
body: RichText,
|
|
1298
1487
|
surface: Surface.default("base"),
|
|
1299
1488
|
anchor: Anchor
|
|
@@ -1307,7 +1496,8 @@ var richTextSection = defineSection({
|
|
|
1307
1496
|
schema: schema11,
|
|
1308
1497
|
variants: [
|
|
1309
1498
|
{ id: "narrow", label: "Reading width" },
|
|
1310
|
-
{ id: "wide", label: "Wide" }
|
|
1499
|
+
{ id: "wide", label: "Wide" },
|
|
1500
|
+
{ id: "split", label: "Heading left, text right" }
|
|
1311
1501
|
],
|
|
1312
1502
|
defaultVariant: "narrow",
|
|
1313
1503
|
presets: [
|
|
@@ -1326,21 +1516,28 @@ var richTextSection = defineSection({
|
|
|
1326
1516
|
}
|
|
1327
1517
|
],
|
|
1328
1518
|
render: ({ props, variant, node, ctx }) => {
|
|
1329
|
-
const
|
|
1330
|
-
|
|
1519
|
+
const tone = onAccent(props.surface) ? "inherit" : "muted";
|
|
1520
|
+
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, accent: props.headingAccent, align: "left", tone }) : null;
|
|
1521
|
+
const split = variant === "split" && Boolean(intro);
|
|
1522
|
+
const body = /* @__PURE__ */ jsx(
|
|
1523
|
+
RichText$1,
|
|
1524
|
+
{
|
|
1525
|
+
value: props.body,
|
|
1526
|
+
headingLevels: props.heading ? [3, 4] : [2, 3, 4],
|
|
1527
|
+
className: cn(richTextClassName, "text-base sm:text-lg [&_h2]:font-display [&_h2]:text-2xl [&_h3]:font-display [&_h3]:text-xl", props.heading && !split && "mt-6")
|
|
1528
|
+
}
|
|
1529
|
+
);
|
|
1530
|
+
return /* @__PURE__ */ jsx(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, width: variant === "wide" || variant === "split" ? "lg" : "prose", labelled: Boolean(props.heading), children: split ? /* @__PURE__ */ jsxs("div", { "data-gs-part": "split", className: "grid gap-6 md:grid-cols-[2fr_3fr] md:gap-12", children: [
|
|
1331
1531
|
intro,
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
className: cn(richTextClassName, "text-base sm:text-lg [&_h2]:font-display [&_h2]:text-2xl [&_h3]:font-display [&_h3]:text-xl", props.heading && "mt-6")
|
|
1338
|
-
}
|
|
1339
|
-
)
|
|
1340
|
-
] });
|
|
1532
|
+
body
|
|
1533
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1534
|
+
intro,
|
|
1535
|
+
body
|
|
1536
|
+
] }) });
|
|
1341
1537
|
}
|
|
1342
1538
|
});
|
|
1343
1539
|
var schema12 = z.object({
|
|
1540
|
+
eyebrow: Line(60).optional(),
|
|
1344
1541
|
heading: Line(90).optional(),
|
|
1345
1542
|
body: Copy(320).optional(),
|
|
1346
1543
|
items: z.array(z.object({ value: Line(16), label: Line(60) })).min(1).max(6),
|
|
@@ -1369,7 +1566,7 @@ var statsSection = defineSection({
|
|
|
1369
1566
|
],
|
|
1370
1567
|
render: ({ props, variant, node, ctx }) => {
|
|
1371
1568
|
const inverted = onAccent(props.surface);
|
|
1372
|
-
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "In numbers" });
|
|
1569
|
+
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "In numbers" });
|
|
1373
1570
|
const cards = variant === "cards";
|
|
1374
1571
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, children: [
|
|
1375
1572
|
intro,
|
|
@@ -1387,6 +1584,7 @@ var Quote = z.object({
|
|
|
1387
1584
|
avatar: Image.optional()
|
|
1388
1585
|
});
|
|
1389
1586
|
var schema13 = z.object({
|
|
1587
|
+
eyebrow: Line(60).optional(),
|
|
1390
1588
|
heading: Line(90).optional(),
|
|
1391
1589
|
body: Copy(320).optional(),
|
|
1392
1590
|
items: z.array(Quote).min(1).max(12),
|
|
@@ -1419,7 +1617,7 @@ var testimonialsSection = defineSection({
|
|
|
1419
1617
|
item.role ? /* @__PURE__ */ jsx("span", { className: cn("text-sm", muted), children: item.role }) : null
|
|
1420
1618
|
] })
|
|
1421
1619
|
] });
|
|
1422
|
-
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Testimonials" });
|
|
1620
|
+
const intro = props.heading ? /* @__PURE__ */ jsx(SectionIntro, { ctx, eyebrow: props.eyebrow, heading: props.heading, body: props.body, tone: inverted ? "inherit" : "muted" }) : /* @__PURE__ */ jsx(HiddenTitle, { ctx, children: "Testimonials" });
|
|
1423
1621
|
if (variant === "single") {
|
|
1424
1622
|
const item = props.items[0];
|
|
1425
1623
|
return /* @__PURE__ */ jsxs(SectionBand, { node, ctx, anchor: props.anchor, surface: props.surface, width: "md", children: [
|
|
@@ -2308,6 +2506,6 @@ var builtInSections = Object.freeze([
|
|
|
2308
2506
|
]);
|
|
2309
2507
|
for (const def of builtInSections) registerBuiltInSection(def);
|
|
2310
2508
|
|
|
2311
|
-
export { Anchor, ButtonLink, CHIP_TONES, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, blogListSection, builtInSections, ctaSection, faqSection, featuresSection, fileDescription, fileHref, fileSection, footerSection, formDrawMode, formEmbedSection, formatPostDate, formatTime, gallerySection, heroSection, linkAttrs, logosSection, mapEmbedUrl, mapPageUrl, mapSection, navSection, postBodySection, pricingSection, resolveHref, richTextSection, scheduleSection, siteFormSlots, statsSection, teamSection, testimonialsSection, timelineSection, titleId };
|
|
2312
|
-
//# sourceMappingURL=chunk-
|
|
2313
|
-
//# sourceMappingURL=chunk-
|
|
2509
|
+
export { Anchor, ButtonLink, CHIP_TONES, HeadingAccent, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, answerToRichText, blogListSection, builtInSections, ctaSection, faqSection, featuresSection, fileDescription, fileHref, fileSection, footerSection, formDrawMode, formEmbedSection, formatPostDate, formatTime, gallerySection, heroSection, linkAttrs, logosSection, mapEmbedUrl, mapPageUrl, mapSection, navSection, postBodySection, pricingSection, resolveHref, richTextSection, scheduleSection, siteFormSlots, statsSection, teamSection, testimonialsSection, timelineSection, titleId, withAccent };
|
|
2510
|
+
//# sourceMappingURL=chunk-I767PDBR.js.map
|
|
2511
|
+
//# sourceMappingURL=chunk-I767PDBR.js.map
|