create-nersh 0.2.0 → 0.4.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 +14 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/templates/default-site.json +291 -69
- package/templates/next/app/globals.css +9 -15
- package/templates/next/app/layout.tsx +8 -0
- package/templates/next/app/page.tsx +1 -1
- package/templates/next/next.config.ts +19 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The default scaffold is the catalogue marketing page: header, hero, features, pr
|
|
|
34
34
|
| `--skin <id>` | the site's own `skinId`, else `zinc` | Overwrites `site.json`'s `skinId` and picks the `@nertia/theme-<id>` item |
|
|
35
35
|
| `--site <path>` | the bundled catalogue default | Scaffolds from your own `site.json` or a `.nertia.json` export |
|
|
36
36
|
| `--registry <url template>` | `https://ner.sh/r/{name}.json` | Where `@nertia` items are fetched from. Point it at a local server to test |
|
|
37
|
-
| `--render-package <spec>` | `^0.
|
|
37
|
+
| `--render-package <spec>` | `^0.4.0` | Any npm spec, including a tarball path, for the `@nersh/render` dependency |
|
|
38
38
|
| `--no-install` | off | Skips `npm install` and the shadcn add. Prints the command to run yourself |
|
|
39
39
|
|
|
40
40
|
Valid skins: `zinc`, `slate`, `stone`, `gray`, `neutral`, `mauve`, `olive`, `mist`, `taupe`, `blue`, `green`, `orange`, `red`, `rose`, `violet`, `amber`, `yellow`, `lime`, `emerald`, `teal`, `cyan`, `sky`, `indigo`, `purple`, `fuchsia`, `pink`.
|
|
@@ -82,6 +82,16 @@ Not yet portable (these sections stay hosted-only until the cutover): footer, na
|
|
|
82
82
|
|
|
83
83
|
Those sections are skipped, not fatal. They stay out of `src/registry.ts` and keep rendering on nertia.ai until they are ported.
|
|
84
84
|
|
|
85
|
+
### Code Embed
|
|
86
|
+
|
|
87
|
+
A site's Code Embed blocks run in the scaffolded project, each in a sealed frame: a sandboxed iframe with no access to the page or its cookies, whose own policy blocks requests (WebRTC aside, as "What it still can" in the [Code Embed guide](https://nertia.ai/docs/guides/code-embed) says). They run because `app/page.tsx` passes `codeEmbed="run"` to `SiteRenderer`. Remove that prop to turn them off; each block then shows its reserved box and fallback picture.
|
|
88
|
+
|
|
89
|
+
The project also sends a `Content-Security-Policy: frame-src` header, set in `next.config.ts`, and writes the same rule as a `<meta http-equiv="Content-Security-Policy">` tag in `app/layout.tsx`, because static hosts and `output: "export"` ignore the header. The rule lets embeds from the listed hosts load, and a sealed frame, which can send itself to another address, can then go only to those hosts. Without this rule, a frame's code can send the frame to any site. That site's page then shows in the block's box, has the network, and can stay there. Whatever a frame loads, it still cannot read your page, its cookies or its storage, and cannot navigate the top window, open popups or submit forms. If you embed from other hosts, add them to both lists.
|
|
90
|
+
|
|
91
|
+
A sealed frame inherits the page's policy, so if you add a page-level `script-src` without `'unsafe-inline'`, or one that moves to nonces, Code Embed frames stop: their code never runs.
|
|
92
|
+
|
|
93
|
+
This is the site author's own code. nertia's off switches do not reach an exported project: what runs here is up to you.
|
|
94
|
+
|
|
85
95
|
### Dark mode
|
|
86
96
|
|
|
87
97
|
`@nertia/theme-<skin>` writes its dark values under a `.dark` class, the shadcn convention. Hosted nertia.ai pages switch on `prefers-color-scheme` instead, so a scaffolded project renders light only until something adds `class="dark"` to `<html>` (by hand, or with a library like `next-themes`).
|
|
@@ -94,15 +104,15 @@ Those sections are skipped, not fatal. They stay out of `src/registry.ts` and ke
|
|
|
94
104
|
my-site/
|
|
95
105
|
├── app/
|
|
96
106
|
│ ├── globals.css # Tailwind v4 entry, tw-animate-css, @source for @nersh/render
|
|
97
|
-
│ ├── layout.tsx
|
|
98
|
-
│ └── page.tsx # <SiteRenderer site={site} registry={registry} />
|
|
107
|
+
│ ├── layout.tsx # The same frame-src rule as a meta tag, for static hosts
|
|
108
|
+
│ └── page.tsx # <SiteRenderer site={site} registry={registry} codeEmbed="run" />
|
|
99
109
|
├── src/
|
|
100
110
|
│ ├── registry.ts # Generated: section id to component
|
|
101
111
|
│ └── sections/ # Installed from @nertia. You own these files
|
|
102
112
|
├── components.json # shadcn config with the @nertia registry
|
|
103
113
|
├── site.json # Layout, skin, and copy for your site
|
|
104
114
|
├── package.json # Your name, @nersh/render, the shadcn CLI
|
|
105
|
-
├── next.config.ts
|
|
115
|
+
├── next.config.ts # The frame-src header for embeds and Code Embed
|
|
106
116
|
├── postcss.config.mjs # @tailwindcss/postcss, the Tailwind v4 pipeline
|
|
107
117
|
└── tsconfig.json # @/* maps to ./src/*, which is where registry files land
|
|
108
118
|
```
|
package/dist/index.mjs
CHANGED
|
@@ -120,7 +120,7 @@ var VALID_SKINS = [
|
|
|
120
120
|
"pink"
|
|
121
121
|
];
|
|
122
122
|
var DEFAULT_REGISTRY = "https://ner.sh/r/{name}.json";
|
|
123
|
-
var DEFAULT_RENDER_PACKAGE = "^0.
|
|
123
|
+
var DEFAULT_RENDER_PACKAGE = "^0.4.0";
|
|
124
124
|
var USAGE = "Usage: create-nersh <project-name> [--skin <id>] [--site <path>] [--registry <url template>] [--render-package <spec>] [--no-install]";
|
|
125
125
|
function die(msg) {
|
|
126
126
|
console.error(msg);
|
package/package.json
CHANGED
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
{
|
|
15
15
|
"id": "layout-container",
|
|
16
16
|
"instanceId": "header-row-d1",
|
|
17
|
-
"layout": "
|
|
17
|
+
"layout": "cluster",
|
|
18
|
+
"align": "center",
|
|
19
|
+
"justify": "between",
|
|
18
20
|
"children": [
|
|
19
21
|
{
|
|
20
22
|
"id": "layout-column",
|
|
21
23
|
"instanceId": "header-brand-col-d1",
|
|
22
|
-
"span": 4,
|
|
23
24
|
"children": [
|
|
24
25
|
{
|
|
25
26
|
"id": "block-brand",
|
|
@@ -30,7 +31,6 @@
|
|
|
30
31
|
{
|
|
31
32
|
"id": "layout-column",
|
|
32
33
|
"instanceId": "header-nav-col-d1",
|
|
33
|
-
"span": 8,
|
|
34
34
|
"children": [
|
|
35
35
|
{
|
|
36
36
|
"id": "block-nav",
|
|
@@ -140,13 +140,16 @@
|
|
|
140
140
|
"id": "layout-column",
|
|
141
141
|
"instanceId": "tier-1-col-d4",
|
|
142
142
|
"span": 4,
|
|
143
|
+
"spanAt": {
|
|
144
|
+
"lg": 4
|
|
145
|
+
},
|
|
143
146
|
"children": [
|
|
144
147
|
{
|
|
145
148
|
"id": "block-card",
|
|
146
149
|
"instanceId": "tier-1-card-d4",
|
|
147
150
|
"children": [
|
|
148
151
|
{
|
|
149
|
-
"id": "block-
|
|
152
|
+
"id": "block-text",
|
|
150
153
|
"instanceId": "tier-1-name-d4"
|
|
151
154
|
},
|
|
152
155
|
{
|
|
@@ -173,6 +176,9 @@
|
|
|
173
176
|
"id": "layout-column",
|
|
174
177
|
"instanceId": "tier-2-col-d4",
|
|
175
178
|
"span": 4,
|
|
179
|
+
"spanAt": {
|
|
180
|
+
"lg": 4
|
|
181
|
+
},
|
|
176
182
|
"children": [
|
|
177
183
|
{
|
|
178
184
|
"id": "block-card",
|
|
@@ -183,7 +189,7 @@
|
|
|
183
189
|
"instanceId": "tier-2-badge-d4"
|
|
184
190
|
},
|
|
185
191
|
{
|
|
186
|
-
"id": "block-
|
|
192
|
+
"id": "block-text",
|
|
187
193
|
"instanceId": "tier-2-name-d4"
|
|
188
194
|
},
|
|
189
195
|
{
|
|
@@ -210,13 +216,16 @@
|
|
|
210
216
|
"id": "layout-column",
|
|
211
217
|
"instanceId": "tier-3-col-d4",
|
|
212
218
|
"span": 4,
|
|
219
|
+
"spanAt": {
|
|
220
|
+
"lg": 4
|
|
221
|
+
},
|
|
213
222
|
"children": [
|
|
214
223
|
{
|
|
215
224
|
"id": "block-card",
|
|
216
225
|
"instanceId": "tier-3-card-d4",
|
|
217
226
|
"children": [
|
|
218
227
|
{
|
|
219
|
-
"id": "block-
|
|
228
|
+
"id": "block-text",
|
|
220
229
|
"instanceId": "tier-3-name-d4"
|
|
221
230
|
},
|
|
222
231
|
{
|
|
@@ -242,7 +251,7 @@
|
|
|
242
251
|
]
|
|
243
252
|
}
|
|
244
253
|
],
|
|
245
|
-
"component": "pricing-three-tier@
|
|
254
|
+
"component": "pricing-three-tier@2"
|
|
246
255
|
},
|
|
247
256
|
{
|
|
248
257
|
"id": "layout-section",
|
|
@@ -399,6 +408,7 @@
|
|
|
399
408
|
{
|
|
400
409
|
"id": "layout-section",
|
|
401
410
|
"instanceId": "footer-band-d8",
|
|
411
|
+
"fullBleed": true,
|
|
402
412
|
"children": [
|
|
403
413
|
{
|
|
404
414
|
"id": "layout-container",
|
|
@@ -439,21 +449,14 @@
|
|
|
439
449
|
{
|
|
440
450
|
"id": "block-text",
|
|
441
451
|
"instanceId": "footer-hours-d8"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"id": "block-link-group",
|
|
455
|
+
"instanceId": "footer-social-links-d8"
|
|
442
456
|
}
|
|
443
457
|
]
|
|
444
458
|
}
|
|
445
459
|
]
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"id": "layout-container",
|
|
449
|
-
"instanceId": "footer-bottom-d8",
|
|
450
|
-
"layout": "stack",
|
|
451
|
-
"children": [
|
|
452
|
-
{
|
|
453
|
-
"id": "block-text",
|
|
454
|
-
"instanceId": "footer-copyright-d8"
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
460
|
}
|
|
458
461
|
],
|
|
459
462
|
"component": "footer-columns@1"
|
|
@@ -462,164 +465,350 @@
|
|
|
462
465
|
},
|
|
463
466
|
"copy": {
|
|
464
467
|
"header-band-d1.coverImage": "",
|
|
468
|
+
"header-band-d1.coverStyle": "",
|
|
469
|
+
"header-band-d1.coverScrim": "",
|
|
465
470
|
"header-band-d1.anchor": "",
|
|
466
471
|
"header-band-d1.navLabel": "",
|
|
467
472
|
"header-band-d1.navHref": "",
|
|
468
473
|
"header-band-d1.navSkip": "true",
|
|
469
474
|
"header-band-d1.landmark": "header",
|
|
470
475
|
"header-band-d1.tone": "default",
|
|
476
|
+
"header-band-d1.gutter": "",
|
|
477
|
+
"header-band-d1.shape": "",
|
|
471
478
|
"header-band-d1.padding": "compact",
|
|
472
479
|
"header-band-d1.sticky": "true",
|
|
480
|
+
"header-band-d1.reveal": "",
|
|
481
|
+
"header-band-d1.dismissible": "",
|
|
482
|
+
"header-band-d1.width": "",
|
|
483
|
+
"header-band-d1.gradient": "",
|
|
484
|
+
"header-row-d1.align": "",
|
|
485
|
+
"header-row-d1.phone": "row",
|
|
486
|
+
"header-row-d1.dividers": "",
|
|
487
|
+
"header-brand-col-d1.pad": "",
|
|
488
|
+
"header-brand-col-d1.sticky": "",
|
|
473
489
|
"header-brand-d1.wordmark": "Your Company",
|
|
490
|
+
"header-brand-d1.wordmarkAccent": "",
|
|
474
491
|
"header-brand-d1.logoImage": "",
|
|
492
|
+
"header-brand-d1.lockup": "",
|
|
475
493
|
"header-brand-d1.tagline": "",
|
|
476
494
|
"header-brand-d1.href": "#",
|
|
477
|
-
"header-nav-d1.
|
|
478
|
-
"header-nav-d1.
|
|
495
|
+
"header-nav-col-d1.pad": "",
|
|
496
|
+
"header-nav-col-d1.sticky": "",
|
|
497
|
+
"header-nav-d1.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
|
|
498
|
+
"header-nav-d1.ctaLabel": "Get started",
|
|
479
499
|
"header-nav-d1.ctaHref": "#contact",
|
|
500
|
+
"header-nav-d1.ctaTone": "",
|
|
501
|
+
"header-nav-d1.ctaIcon": "",
|
|
502
|
+
"header-nav-d1.phoneMenu": "",
|
|
480
503
|
"header-nav-d1.align": "end",
|
|
481
504
|
"hero-d2.coverImage": "",
|
|
505
|
+
"hero-d2.coverStyle": "",
|
|
506
|
+
"hero-d2.coverScrim": "",
|
|
482
507
|
"hero-d2.anchor": "",
|
|
483
508
|
"hero-d2.navLabel": "",
|
|
484
509
|
"hero-d2.navHref": "",
|
|
485
510
|
"hero-d2.navSkip": "",
|
|
486
511
|
"hero-d2.landmark": "",
|
|
487
512
|
"hero-d2.tone": "",
|
|
513
|
+
"hero-d2.gutter": "",
|
|
514
|
+
"hero-d2.shape": "",
|
|
488
515
|
"hero-d2.padding": "",
|
|
489
516
|
"hero-d2.sticky": "",
|
|
490
|
-
"hero-
|
|
517
|
+
"hero-d2.reveal": "",
|
|
518
|
+
"hero-d2.dismissible": "",
|
|
519
|
+
"hero-d2.width": "",
|
|
520
|
+
"hero-d2.gradient": "",
|
|
521
|
+
"hero-body-d2.align": "",
|
|
522
|
+
"hero-body-d2.phone": "",
|
|
523
|
+
"hero-body-d2.dividers": "",
|
|
524
|
+
"hero-heading-d2.text": "A headline that says what you do",
|
|
491
525
|
"hero-heading-d2.level": "h1",
|
|
492
|
-
"hero-
|
|
493
|
-
"hero-
|
|
526
|
+
"hero-heading-d2.size": "",
|
|
527
|
+
"hero-sub-d2.text": "One sentence on who this is for and why it matters.",
|
|
528
|
+
"hero-sub-d2.textStyle": "",
|
|
529
|
+
"hero-cta-d2.label": "Get started",
|
|
494
530
|
"hero-cta-d2.href": "#",
|
|
495
531
|
"hero-cta-d2.variant": "",
|
|
532
|
+
"hero-cta-d2.size": "",
|
|
533
|
+
"hero-cta-d2.tone": "",
|
|
534
|
+
"hero-cta-d2.width": "",
|
|
535
|
+
"hero-cta-d2.icon": "",
|
|
536
|
+
"hero-cta-d2.iconOnly": "",
|
|
496
537
|
"features-d3.coverImage": "",
|
|
538
|
+
"features-d3.coverStyle": "",
|
|
539
|
+
"features-d3.coverScrim": "",
|
|
497
540
|
"features-d3.anchor": "",
|
|
498
541
|
"features-d3.navLabel": "",
|
|
499
542
|
"features-d3.navHref": "",
|
|
500
543
|
"features-d3.navSkip": "",
|
|
501
544
|
"features-d3.landmark": "",
|
|
502
545
|
"features-d3.tone": "",
|
|
546
|
+
"features-d3.gutter": "",
|
|
547
|
+
"features-d3.shape": "",
|
|
503
548
|
"features-d3.padding": "",
|
|
504
549
|
"features-d3.sticky": "",
|
|
505
|
-
"features-
|
|
550
|
+
"features-d3.reveal": "",
|
|
551
|
+
"features-d3.dismissible": "",
|
|
552
|
+
"features-d3.width": "",
|
|
553
|
+
"features-d3.gradient": "",
|
|
554
|
+
"features-intro-d3.align": "center",
|
|
555
|
+
"features-intro-d3.phone": "",
|
|
556
|
+
"features-intro-d3.dividers": "",
|
|
557
|
+
"features-heading-d3.text": "Features",
|
|
506
558
|
"features-heading-d3.level": "",
|
|
507
|
-
"features-
|
|
508
|
-
"
|
|
509
|
-
"
|
|
559
|
+
"features-heading-d3.size": "",
|
|
560
|
+
"features-sub-d3.text": "One sentence that introduces this section.",
|
|
561
|
+
"features-sub-d3.textStyle": "",
|
|
562
|
+
"features-grid-d3.align": "",
|
|
563
|
+
"features-grid-d3.phone": "",
|
|
564
|
+
"features-grid-d3.dividers": "",
|
|
565
|
+
"feature-1-d3.title": "Feature one",
|
|
566
|
+
"feature-1-d3.body": "A sentence about this feature.",
|
|
567
|
+
"feature-1-d3.href": "",
|
|
510
568
|
"feature-1-d3.emphasis": "",
|
|
511
|
-
"feature-
|
|
512
|
-
"feature-
|
|
569
|
+
"feature-1-d3.density": "",
|
|
570
|
+
"feature-1-d3.align": "center",
|
|
571
|
+
"feature-1-d3.icon": "",
|
|
572
|
+
"feature-2-d3.title": "Feature two",
|
|
573
|
+
"feature-2-d3.body": "A sentence about this feature.",
|
|
574
|
+
"feature-2-d3.href": "",
|
|
513
575
|
"feature-2-d3.emphasis": "",
|
|
514
|
-
"feature-
|
|
515
|
-
"feature-
|
|
576
|
+
"feature-2-d3.density": "",
|
|
577
|
+
"feature-2-d3.align": "center",
|
|
578
|
+
"feature-2-d3.icon": "",
|
|
579
|
+
"feature-3-d3.title": "Feature three",
|
|
580
|
+
"feature-3-d3.body": "A sentence about this feature.",
|
|
581
|
+
"feature-3-d3.href": "",
|
|
516
582
|
"feature-3-d3.emphasis": "",
|
|
583
|
+
"feature-3-d3.density": "",
|
|
584
|
+
"feature-3-d3.align": "center",
|
|
585
|
+
"feature-3-d3.icon": "",
|
|
517
586
|
"pricing-band-d4.coverImage": "",
|
|
587
|
+
"pricing-band-d4.coverStyle": "",
|
|
588
|
+
"pricing-band-d4.coverScrim": "",
|
|
518
589
|
"pricing-band-d4.anchor": "",
|
|
519
590
|
"pricing-band-d4.navLabel": "",
|
|
520
591
|
"pricing-band-d4.navHref": "",
|
|
521
592
|
"pricing-band-d4.navSkip": "",
|
|
522
593
|
"pricing-band-d4.landmark": "",
|
|
523
594
|
"pricing-band-d4.tone": "",
|
|
595
|
+
"pricing-band-d4.gutter": "",
|
|
596
|
+
"pricing-band-d4.shape": "",
|
|
524
597
|
"pricing-band-d4.padding": "",
|
|
525
598
|
"pricing-band-d4.sticky": "",
|
|
526
|
-
"pricing-
|
|
599
|
+
"pricing-band-d4.reveal": "",
|
|
600
|
+
"pricing-band-d4.dismissible": "",
|
|
601
|
+
"pricing-band-d4.width": "",
|
|
602
|
+
"pricing-band-d4.gradient": "",
|
|
603
|
+
"pricing-intro-d4.align": "center",
|
|
604
|
+
"pricing-intro-d4.phone": "",
|
|
605
|
+
"pricing-intro-d4.dividers": "",
|
|
606
|
+
"pricing-heading-d4.text": "Pricing",
|
|
527
607
|
"pricing-heading-d4.level": "h2",
|
|
528
|
-
"pricing-
|
|
608
|
+
"pricing-heading-d4.size": "",
|
|
609
|
+
"pricing-sub-d4.text": "One sentence that introduces this section.",
|
|
610
|
+
"pricing-sub-d4.textStyle": "",
|
|
611
|
+
"pricing-row-d4.align": "",
|
|
612
|
+
"pricing-row-d4.phone": "",
|
|
613
|
+
"pricing-row-d4.dividers": "",
|
|
614
|
+
"tier-1-col-d4.pad": "",
|
|
615
|
+
"tier-1-col-d4.sticky": "",
|
|
529
616
|
"tier-1-card-d4.title": "",
|
|
530
617
|
"tier-1-card-d4.body": "",
|
|
618
|
+
"tier-1-card-d4.href": "",
|
|
531
619
|
"tier-1-card-d4.emphasis": "",
|
|
620
|
+
"tier-1-card-d4.density": "",
|
|
621
|
+
"tier-1-card-d4.align": "center",
|
|
622
|
+
"tier-1-card-d4.icon": "",
|
|
532
623
|
"tier-1-name-d4.text": "Starter",
|
|
533
|
-
"tier-1-name-d4.
|
|
624
|
+
"tier-1-name-d4.textStyle": "eyebrow",
|
|
534
625
|
"tier-1-price-d4.text": "$0/mo",
|
|
535
|
-
"tier-1-
|
|
536
|
-
"tier-1-
|
|
626
|
+
"tier-1-price-d4.textStyle": "stat",
|
|
627
|
+
"tier-1-desc-d4.text": "A sentence about who this plan is for.",
|
|
628
|
+
"tier-1-desc-d4.textStyle": "note",
|
|
629
|
+
"tier-1-list-d4.items": "A feature line\nA feature line\nA feature line",
|
|
537
630
|
"tier-1-list-d4.marker": "check",
|
|
538
|
-
"tier-1-
|
|
631
|
+
"tier-1-list-d4.size": "sm",
|
|
632
|
+
"tier-1-list-d4.markerImage": "",
|
|
633
|
+
"tier-1-cta-d4.label": "Choose Starter",
|
|
539
634
|
"tier-1-cta-d4.href": "#",
|
|
540
635
|
"tier-1-cta-d4.variant": "outline",
|
|
636
|
+
"tier-1-cta-d4.size": "",
|
|
637
|
+
"tier-1-cta-d4.tone": "",
|
|
638
|
+
"tier-1-cta-d4.width": "full",
|
|
639
|
+
"tier-1-cta-d4.icon": "",
|
|
640
|
+
"tier-1-cta-d4.iconOnly": "",
|
|
641
|
+
"tier-2-col-d4.pad": "",
|
|
642
|
+
"tier-2-col-d4.sticky": "",
|
|
541
643
|
"tier-2-card-d4.title": "",
|
|
542
644
|
"tier-2-card-d4.body": "",
|
|
645
|
+
"tier-2-card-d4.href": "",
|
|
543
646
|
"tier-2-card-d4.emphasis": "true",
|
|
647
|
+
"tier-2-card-d4.density": "",
|
|
648
|
+
"tier-2-card-d4.align": "center",
|
|
649
|
+
"tier-2-card-d4.icon": "",
|
|
544
650
|
"tier-2-badge-d4.text": "Most popular",
|
|
545
651
|
"tier-2-badge-d4.href": "",
|
|
546
|
-
"tier-2-
|
|
547
|
-
"tier-2-
|
|
652
|
+
"tier-2-badge-d4.style": "",
|
|
653
|
+
"tier-2-badge-d4.tone": "",
|
|
654
|
+
"tier-2-badge-d4.placement": "edge",
|
|
655
|
+
"tier-2-name-d4.text": "Standard",
|
|
656
|
+
"tier-2-name-d4.textStyle": "eyebrow",
|
|
548
657
|
"tier-2-price-d4.text": "$29/mo",
|
|
549
|
-
"tier-2-
|
|
550
|
-
"tier-2-
|
|
658
|
+
"tier-2-price-d4.textStyle": "stat",
|
|
659
|
+
"tier-2-desc-d4.text": "A sentence about who this plan is for.",
|
|
660
|
+
"tier-2-desc-d4.textStyle": "note",
|
|
661
|
+
"tier-2-list-d4.items": "A feature line\nA feature line\nA feature line",
|
|
551
662
|
"tier-2-list-d4.marker": "check",
|
|
552
|
-
"tier-2-
|
|
663
|
+
"tier-2-list-d4.size": "sm",
|
|
664
|
+
"tier-2-list-d4.markerImage": "",
|
|
665
|
+
"tier-2-cta-d4.label": "Choose Standard",
|
|
553
666
|
"tier-2-cta-d4.href": "#",
|
|
554
667
|
"tier-2-cta-d4.variant": "solid",
|
|
668
|
+
"tier-2-cta-d4.size": "",
|
|
669
|
+
"tier-2-cta-d4.tone": "",
|
|
670
|
+
"tier-2-cta-d4.width": "full",
|
|
671
|
+
"tier-2-cta-d4.icon": "",
|
|
672
|
+
"tier-2-cta-d4.iconOnly": "",
|
|
673
|
+
"tier-3-col-d4.pad": "",
|
|
674
|
+
"tier-3-col-d4.sticky": "",
|
|
555
675
|
"tier-3-card-d4.title": "",
|
|
556
676
|
"tier-3-card-d4.body": "",
|
|
677
|
+
"tier-3-card-d4.href": "",
|
|
557
678
|
"tier-3-card-d4.emphasis": "",
|
|
558
|
-
"tier-3-
|
|
559
|
-
"tier-3-
|
|
679
|
+
"tier-3-card-d4.density": "",
|
|
680
|
+
"tier-3-card-d4.align": "center",
|
|
681
|
+
"tier-3-card-d4.icon": "",
|
|
682
|
+
"tier-3-name-d4.text": "Plus",
|
|
683
|
+
"tier-3-name-d4.textStyle": "eyebrow",
|
|
560
684
|
"tier-3-price-d4.text": "$79/mo",
|
|
561
|
-
"tier-3-
|
|
562
|
-
"tier-3-
|
|
685
|
+
"tier-3-price-d4.textStyle": "stat",
|
|
686
|
+
"tier-3-desc-d4.text": "A sentence about who this plan is for.",
|
|
687
|
+
"tier-3-desc-d4.textStyle": "note",
|
|
688
|
+
"tier-3-list-d4.items": "A feature line\nA feature line\nA feature line",
|
|
563
689
|
"tier-3-list-d4.marker": "check",
|
|
564
|
-
"tier-3-
|
|
690
|
+
"tier-3-list-d4.size": "sm",
|
|
691
|
+
"tier-3-list-d4.markerImage": "",
|
|
692
|
+
"tier-3-cta-d4.label": "Choose Plus",
|
|
565
693
|
"tier-3-cta-d4.href": "#",
|
|
566
694
|
"tier-3-cta-d4.variant": "outline",
|
|
695
|
+
"tier-3-cta-d4.size": "",
|
|
696
|
+
"tier-3-cta-d4.tone": "",
|
|
697
|
+
"tier-3-cta-d4.width": "full",
|
|
698
|
+
"tier-3-cta-d4.icon": "",
|
|
699
|
+
"tier-3-cta-d4.iconOnly": "",
|
|
567
700
|
"testimonials-band-d5.coverImage": "",
|
|
701
|
+
"testimonials-band-d5.coverStyle": "",
|
|
702
|
+
"testimonials-band-d5.coverScrim": "",
|
|
568
703
|
"testimonials-band-d5.anchor": "",
|
|
569
704
|
"testimonials-band-d5.navLabel": "",
|
|
570
705
|
"testimonials-band-d5.navHref": "",
|
|
571
706
|
"testimonials-band-d5.navSkip": "",
|
|
572
707
|
"testimonials-band-d5.landmark": "",
|
|
573
708
|
"testimonials-band-d5.tone": "",
|
|
709
|
+
"testimonials-band-d5.gutter": "",
|
|
710
|
+
"testimonials-band-d5.shape": "",
|
|
574
711
|
"testimonials-band-d5.padding": "",
|
|
575
712
|
"testimonials-band-d5.sticky": "",
|
|
576
|
-
"testimonials-
|
|
713
|
+
"testimonials-band-d5.reveal": "",
|
|
714
|
+
"testimonials-band-d5.dismissible": "",
|
|
715
|
+
"testimonials-band-d5.width": "",
|
|
716
|
+
"testimonials-band-d5.gradient": "",
|
|
717
|
+
"testimonials-intro-d5.align": "center",
|
|
718
|
+
"testimonials-intro-d5.phone": "",
|
|
719
|
+
"testimonials-intro-d5.dividers": "",
|
|
720
|
+
"testimonials-heading-d5.text": "What customers say",
|
|
577
721
|
"testimonials-heading-d5.level": "h2",
|
|
578
|
-
"testimonials-
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"
|
|
722
|
+
"testimonials-heading-d5.size": "",
|
|
723
|
+
"testimonials-sub-d5.text": "One sentence that introduces this section.",
|
|
724
|
+
"testimonials-sub-d5.textStyle": "",
|
|
725
|
+
"testimonials-grid-d5.align": "",
|
|
726
|
+
"testimonials-grid-d5.phone": "",
|
|
727
|
+
"testimonials-grid-d5.dividers": "",
|
|
728
|
+
"quote-1-d5.quote": "A short quote from a customer, in their own words.",
|
|
729
|
+
"quote-1-d5.author": "Customer name",
|
|
730
|
+
"quote-1-d5.role": "Role, company",
|
|
582
731
|
"quote-1-d5.image": "",
|
|
583
732
|
"quote-1-d5.rating": "5",
|
|
584
|
-
"quote-2-d5.quote": "
|
|
585
|
-
"quote-2-d5.author": "
|
|
586
|
-
"quote-2-d5.role": "
|
|
733
|
+
"quote-2-d5.quote": "A short quote from a customer, in their own words.",
|
|
734
|
+
"quote-2-d5.author": "Customer name",
|
|
735
|
+
"quote-2-d5.role": "Role, company",
|
|
587
736
|
"quote-2-d5.image": "",
|
|
588
737
|
"quote-2-d5.rating": "5",
|
|
589
|
-
"quote-3-d5.quote": "
|
|
590
|
-
"quote-3-d5.author": "
|
|
591
|
-
"quote-3-d5.role": "
|
|
738
|
+
"quote-3-d5.quote": "A short quote from a customer, in their own words.",
|
|
739
|
+
"quote-3-d5.author": "Customer name",
|
|
740
|
+
"quote-3-d5.role": "Role, company",
|
|
592
741
|
"quote-3-d5.image": "",
|
|
593
742
|
"quote-3-d5.rating": "5",
|
|
594
743
|
"faq-band-d6.coverImage": "",
|
|
744
|
+
"faq-band-d6.coverStyle": "",
|
|
745
|
+
"faq-band-d6.coverScrim": "",
|
|
595
746
|
"faq-band-d6.anchor": "",
|
|
596
747
|
"faq-band-d6.navLabel": "",
|
|
597
748
|
"faq-band-d6.navHref": "",
|
|
598
749
|
"faq-band-d6.navSkip": "",
|
|
599
750
|
"faq-band-d6.landmark": "",
|
|
600
751
|
"faq-band-d6.tone": "",
|
|
752
|
+
"faq-band-d6.gutter": "",
|
|
753
|
+
"faq-band-d6.shape": "",
|
|
601
754
|
"faq-band-d6.padding": "",
|
|
602
755
|
"faq-band-d6.sticky": "",
|
|
603
|
-
"faq-
|
|
756
|
+
"faq-band-d6.reveal": "",
|
|
757
|
+
"faq-band-d6.dismissible": "",
|
|
758
|
+
"faq-band-d6.width": "",
|
|
759
|
+
"faq-band-d6.gradient": "",
|
|
760
|
+
"faq-intro-d6.align": "center",
|
|
761
|
+
"faq-intro-d6.phone": "",
|
|
762
|
+
"faq-intro-d6.dividers": "",
|
|
763
|
+
"faq-heading-d6.text": "Frequently asked questions",
|
|
604
764
|
"faq-heading-d6.level": "h2",
|
|
605
|
-
"faq-
|
|
606
|
-
"faq-
|
|
765
|
+
"faq-heading-d6.size": "",
|
|
766
|
+
"faq-sub-d6.text": "One sentence that introduces this section.",
|
|
767
|
+
"faq-sub-d6.textStyle": "",
|
|
768
|
+
"faq-list-d6.align": "",
|
|
769
|
+
"faq-list-d6.phone": "",
|
|
770
|
+
"faq-list-d6.dividers": "",
|
|
771
|
+
"faq-accordion-d6.items": "[{\"question\":\"A common question?\",\"answer\":\"A short, direct answer.\"},{\"question\":\"A common question?\",\"answer\":\"A short, direct answer.\"},{\"question\":\"A common question?\",\"answer\":\"A short, direct answer.\"},{\"question\":\"A common question?\",\"answer\":\"A short, direct answer.\"},{\"question\":\"A common question?\",\"answer\":\"A short, direct answer.\"}]",
|
|
607
772
|
"faq-accordion-d6.multiple": "",
|
|
773
|
+
"faq-accordion-d6.numbered": "",
|
|
774
|
+
"faq-accordion-d6.open": "",
|
|
775
|
+
"faq-accordion-d6.openRow": "",
|
|
776
|
+
"faq-accordion-d6.size": "",
|
|
608
777
|
"lead-band-d7.coverImage": "",
|
|
778
|
+
"lead-band-d7.coverStyle": "",
|
|
779
|
+
"lead-band-d7.coverScrim": "",
|
|
609
780
|
"lead-band-d7.anchor": "contact",
|
|
610
781
|
"lead-band-d7.navLabel": "",
|
|
611
782
|
"lead-band-d7.navHref": "",
|
|
612
783
|
"lead-band-d7.navSkip": "",
|
|
613
784
|
"lead-band-d7.landmark": "",
|
|
614
785
|
"lead-band-d7.tone": "",
|
|
786
|
+
"lead-band-d7.gutter": "",
|
|
787
|
+
"lead-band-d7.shape": "",
|
|
615
788
|
"lead-band-d7.padding": "",
|
|
616
789
|
"lead-band-d7.sticky": "",
|
|
617
|
-
"lead-
|
|
790
|
+
"lead-band-d7.reveal": "",
|
|
791
|
+
"lead-band-d7.dismissible": "",
|
|
792
|
+
"lead-band-d7.width": "",
|
|
793
|
+
"lead-band-d7.gradient": "",
|
|
794
|
+
"lead-intro-d7.align": "center",
|
|
795
|
+
"lead-intro-d7.phone": "",
|
|
796
|
+
"lead-intro-d7.dividers": "",
|
|
797
|
+
"lead-intro-col-d7.pad": "",
|
|
798
|
+
"lead-intro-col-d7.sticky": "",
|
|
799
|
+
"lead-heading-d7.text": "Get in touch",
|
|
618
800
|
"lead-heading-d7.level": "h2",
|
|
619
|
-
"lead-
|
|
620
|
-
"lead-
|
|
801
|
+
"lead-heading-d7.size": "",
|
|
802
|
+
"lead-sub-d7.text": "One sentence on what happens after someone writes in.",
|
|
803
|
+
"lead-sub-d7.textStyle": "",
|
|
804
|
+
"lead-row-d7.align": "",
|
|
805
|
+
"lead-row-d7.phone": "",
|
|
806
|
+
"lead-row-d7.dividers": "",
|
|
807
|
+
"lead-form-col-d7.pad": "",
|
|
808
|
+
"lead-form-col-d7.sticky": "",
|
|
809
|
+
"lead-form-d7.submitLabel": "Send",
|
|
621
810
|
"lead-form-d7.email": "",
|
|
622
|
-
"lead-form-d7.successMessage": "Thanks. We will be in touch
|
|
811
|
+
"lead-form-d7.successMessage": "Thanks. We will be in touch soon.",
|
|
623
812
|
"lead-name-d7.label": "Name",
|
|
624
813
|
"lead-name-d7.name": "name",
|
|
625
814
|
"lead-name-d7.inputType": "text",
|
|
@@ -639,30 +828,63 @@
|
|
|
639
828
|
"lead-notes-d7.name": "notes",
|
|
640
829
|
"lead-notes-d7.placeholder": "",
|
|
641
830
|
"lead-notes-d7.required": "false",
|
|
831
|
+
"lead-book-col-d7.pad": "",
|
|
832
|
+
"lead-book-col-d7.sticky": "",
|
|
642
833
|
"lead-booking-d7.url": "",
|
|
643
834
|
"lead-booking-d7.title": "Book a time",
|
|
644
835
|
"lead-booking-d7.kind": "",
|
|
645
836
|
"footer-band-d8.coverImage": "",
|
|
837
|
+
"footer-band-d8.coverStyle": "",
|
|
838
|
+
"footer-band-d8.coverScrim": "",
|
|
646
839
|
"footer-band-d8.anchor": "",
|
|
647
840
|
"footer-band-d8.navLabel": "",
|
|
648
841
|
"footer-band-d8.navHref": "",
|
|
649
842
|
"footer-band-d8.navSkip": "true",
|
|
650
843
|
"footer-band-d8.landmark": "footer",
|
|
651
844
|
"footer-band-d8.tone": "muted",
|
|
845
|
+
"footer-band-d8.gutter": "",
|
|
846
|
+
"footer-band-d8.shape": "",
|
|
652
847
|
"footer-band-d8.padding": "",
|
|
653
848
|
"footer-band-d8.sticky": "",
|
|
849
|
+
"footer-band-d8.reveal": "",
|
|
850
|
+
"footer-band-d8.dismissible": "",
|
|
851
|
+
"footer-band-d8.width": "",
|
|
852
|
+
"footer-band-d8.gradient": "",
|
|
853
|
+
"footer-grid-d8.align": "",
|
|
854
|
+
"footer-grid-d8.phone": "",
|
|
855
|
+
"footer-grid-d8.dividers": "",
|
|
856
|
+
"footer-brand-col-d8.pad": "",
|
|
857
|
+
"footer-brand-col-d8.sticky": "",
|
|
654
858
|
"footer-brand-d8.wordmark": "Your Company",
|
|
859
|
+
"footer-brand-d8.wordmarkAccent": "",
|
|
655
860
|
"footer-brand-d8.logoImage": "",
|
|
656
|
-
"footer-brand-d8.
|
|
861
|
+
"footer-brand-d8.lockup": "",
|
|
862
|
+
"footer-brand-d8.tagline": "A one-line description of what you do.",
|
|
657
863
|
"footer-brand-d8.href": "#",
|
|
864
|
+
"footer-links-col-d8.pad": "",
|
|
865
|
+
"footer-links-col-d8.sticky": "",
|
|
658
866
|
"footer-links-d8.title": "Company",
|
|
659
|
-
"footer-links-d8.links": "[{\"label\":\"
|
|
867
|
+
"footer-links-d8.links": "[{\"label\":\"Home\",\"href\":\"#\"},{\"label\":\"About\",\"href\":\"#about\"},{\"label\":\"Services\",\"href\":\"#services\"},{\"label\":\"Contact\",\"href\":\"#contact\"}]",
|
|
660
868
|
"footer-links-d8.direction": "",
|
|
869
|
+
"footer-links-d8.icons": "",
|
|
870
|
+
"footer-links-d8.textSize": "",
|
|
871
|
+
"footer-links-d8.underline": "",
|
|
872
|
+
"footer-contact-col-d8.pad": "",
|
|
873
|
+
"footer-contact-col-d8.sticky": "",
|
|
661
874
|
"footer-contact-d8.title": "Contact",
|
|
662
875
|
"footer-contact-d8.links": "[{\"label\":\"(555) 555-0100\",\"href\":\"tel:+15555550100\"},{\"label\":\"hello@yourcompany.com\",\"href\":\"mailto:hello@yourcompany.com\"}]",
|
|
663
876
|
"footer-contact-d8.direction": "",
|
|
664
|
-
"footer-
|
|
665
|
-
"footer-
|
|
877
|
+
"footer-contact-d8.icons": "",
|
|
878
|
+
"footer-contact-d8.textSize": "",
|
|
879
|
+
"footer-contact-d8.underline": "",
|
|
880
|
+
"footer-hours-d8.text": "City, ST",
|
|
881
|
+
"footer-hours-d8.textStyle": "note",
|
|
882
|
+
"footer-social-links-d8.title": "",
|
|
883
|
+
"footer-social-links-d8.links": "",
|
|
884
|
+
"footer-social-links-d8.direction": "row",
|
|
885
|
+
"footer-social-links-d8.icons": "social",
|
|
886
|
+
"footer-social-links-d8.textSize": "",
|
|
887
|
+
"footer-social-links-d8.underline": ""
|
|
666
888
|
},
|
|
667
889
|
"ds": {}
|
|
668
890
|
}
|
|
@@ -5,23 +5,17 @@
|
|
|
5
5
|
/* 12-column grid spans are composed at runtime from `SectionInstance.span`, so no source
|
|
6
6
|
file spells them out for the scanner. Brace-expanded safelist, Tailwind v4.1 @source inline.
|
|
7
7
|
Same line src/app/globals.css carries in the nertia app. */
|
|
8
|
-
@source inline("{@sm/site:,@md/site:,@lg/site:,}col-span-{1..12}");
|
|
8
|
+
@source inline("{@cq-sm/site:,@cq-md/site:,@cq-lg/site:,}col-span-{1..12}");
|
|
9
9
|
|
|
10
10
|
@custom-variant dark (&:is(.dark *));
|
|
11
11
|
|
|
12
12
|
@theme inline {
|
|
13
|
-
/*
|
|
14
|
-
spans above emit
|
|
15
|
-
|
|
16
|
-
--container-
|
|
17
|
-
--container-
|
|
18
|
-
--container-
|
|
19
|
-
--container-
|
|
20
|
-
--container-
|
|
21
|
-
|
|
22
|
-
--container-sm: 40rem;
|
|
23
|
-
--container-md: 48rem;
|
|
24
|
-
--container-lg: 64rem;
|
|
25
|
-
--container-xl: 80rem;
|
|
26
|
-
--container-2xl: 96rem;
|
|
13
|
+
/* Container-query breakpoints on their own names, read by the @cq-sm/site and @cq-md/site
|
|
14
|
+
variants the spans above emit. The bare --container-* scale stays Tailwind's, so max-w-lg
|
|
15
|
+
is 32rem. Values match src/app/globals.css. */
|
|
16
|
+
--container-cq-sm: 40rem;
|
|
17
|
+
--container-cq-md: 48rem;
|
|
18
|
+
--container-cq-lg: 64rem;
|
|
19
|
+
--container-cq-xl: 80rem;
|
|
20
|
+
--container-cq-2xl: 96rem;
|
|
27
21
|
}
|
|
@@ -9,6 +9,14 @@ export const metadata: Metadata = {
|
|
|
9
9
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
10
10
|
return (
|
|
11
11
|
<html lang="en">
|
|
12
|
+
<head>
|
|
13
|
+
{/* The same rule next.config.ts sends as a header, for static hosts and `output: "export"`, which drop
|
|
14
|
+
headers. Keep the two lists equal. */}
|
|
15
|
+
<meta
|
|
16
|
+
httpEquiv="Content-Security-Policy"
|
|
17
|
+
content="frame-src https://www.youtube.com https://www.youtube-nocookie.com https://player.vimeo.com https://www.loom.com https://fast.wistia.net https://open.spotify.com https://cal.com https://*.cal.com https://calendly.com https://www.google.com https://maps.google.com https://player.twitch.tv https://www.twitch.tv https://player.kick.com https://w.soundcloud.com"
|
|
18
|
+
/>
|
|
19
|
+
</head>
|
|
12
20
|
<body>{children}</body>
|
|
13
21
|
</html>
|
|
14
22
|
);
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import type { NextConfig } from "next";
|
|
2
2
|
|
|
3
|
-
const nextConfig: NextConfig = {
|
|
3
|
+
const nextConfig: NextConfig = {
|
|
4
|
+
async headers() {
|
|
5
|
+
return [
|
|
6
|
+
{
|
|
7
|
+
source: "/:path*",
|
|
8
|
+
headers: [
|
|
9
|
+
// Lets embeds from these hosts load and stops a sealed Code Embed frame from sending itself to any other site.
|
|
10
|
+
// Add your own hosts here if you embed from others, and in the meta tag in app/layout.tsx, which carries
|
|
11
|
+
// the same list for hosts that ignore headers.
|
|
12
|
+
{
|
|
13
|
+
key: "Content-Security-Policy",
|
|
14
|
+
value:
|
|
15
|
+
"frame-src https://www.youtube.com https://www.youtube-nocookie.com https://player.vimeo.com https://www.loom.com https://fast.wistia.net https://open.spotify.com https://cal.com https://*.cal.com https://calendly.com https://www.google.com https://maps.google.com https://player.twitch.tv https://www.twitch.tv https://player.kick.com https://w.soundcloud.com",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
},
|
|
21
|
+
};
|
|
4
22
|
|
|
5
23
|
export default nextConfig;
|