@netlify/spark-ui 1.20.1 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/skills/landing-page.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Build a marketing landing page using Netlify Spark UI. Follow these guidelines strictly.
|
|
4
4
|
|
|
5
|
+
## Template Reference
|
|
6
|
+
|
|
7
|
+
Before building, read the template pages under `docs/src/content/docs/templates/`. They contain complete, working examples of full landing pages and individual sections with recommended layouts and usage patterns:
|
|
8
|
+
|
|
9
|
+
- `docs/src/content/docs/templates/page.mdx` — Full landing page example showing a recommended section order and composition
|
|
10
|
+
- `docs/src/content/docs/templates/cards.mdx` — Cards section layout and usage patterns
|
|
11
|
+
- `docs/src/content/docs/templates/switchback.mdx` — Switchback section layout and usage patterns
|
|
12
|
+
- `docs/src/content/docs/templates/tabbed-content.mdx` — Tabbed content section layout and usage patterns
|
|
13
|
+
|
|
14
|
+
Treat these templates as the authoritative reference for structure and layout decisions. Where template examples differ from or extend the guidelines below, prefer the template.
|
|
15
|
+
|
|
5
16
|
## Page Structure
|
|
6
17
|
|
|
7
18
|
Wrap every section in `<PageSection>` (props: `spaceTop`, `spaceBottom`, `theme`). Use this order (include only what fits the request):
|