@eldrajs/theme-cli 0.2.7 → 0.2.9
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/CHANGELOG.md +2 -0
- package/package.json +3 -3
- package/template/.eldra/block-types.d.ts +28 -7
- package/template/.eldra/manifest.json +1152 -445
- package/template/.eldra/previews.json +35 -35
- package/template/README.md +32 -0
- package/template/app/assets/main.css +23 -0
- package/template/app/plugins/eldra-storefront.ts +3 -0
- package/template/app/storefront/demo.ts +75 -24
- package/template/app/storefront/gateway.ts +16 -2
- package/template/blocks/announcement-bar/preview.png +0 -0
- package/template/blocks/article/preview.json +4 -4
- package/template/blocks/article/preview.png +0 -0
- package/template/blocks/article-list/Block.vue +48 -19
- package/template/blocks/article-list/__tests__/Block.spec.ts +15 -0
- package/template/blocks/article-list/preview.json +43 -43
- package/template/blocks/article-list/preview.png +0 -0
- package/template/blocks/breadcrumbs/preview.png +0 -0
- package/template/blocks/cart/preview.png +0 -0
- package/template/blocks/collection-grid/Block.vue +260 -9
- package/template/blocks/collection-grid/__tests__/Block.spec.ts +202 -0
- package/template/blocks/collection-grid/block.json +3 -3
- package/template/blocks/collection-grid/preview.png +0 -0
- package/template/blocks/collection-header/Block.vue +65 -52
- package/template/blocks/collection-header/preview.json +4 -4
- package/template/blocks/collection-header/preview.png +0 -0
- package/template/blocks/contact/preview.png +0 -0
- package/template/blocks/cta/preview.json +4 -4
- package/template/blocks/cta/preview.png +0 -0
- package/template/blocks/faq/preview.png +0 -0
- package/template/blocks/feature-grid/Block.vue +73 -4
- package/template/blocks/feature-grid/__tests__/Block.spec.ts +43 -1
- package/template/blocks/feature-grid/block.json +2 -2
- package/template/blocks/feature-grid/preview.json +49 -24
- package/template/blocks/feature-grid/preview.png +0 -0
- package/template/blocks/footer/Block.vue +186 -71
- package/template/blocks/footer/__tests__/Block.spec.ts +127 -32
- package/template/blocks/footer/block.json +42 -4
- package/template/blocks/footer/mock.json +31 -34
- package/template/blocks/footer/preview.png +0 -0
- package/template/blocks/form/preview.png +0 -0
- package/template/blocks/gallery/preview.json +24 -24
- package/template/blocks/gallery/preview.png +0 -0
- package/template/blocks/hero/Block.vue +117 -19
- package/template/blocks/hero/__tests__/Block.spec.ts +46 -0
- package/template/blocks/hero/block.json +36 -1
- package/template/blocks/hero/preview.json +33 -25
- package/template/blocks/hero/preview.png +0 -0
- package/template/blocks/image/preview.json +4 -4
- package/template/blocks/image/preview.png +0 -0
- package/template/blocks/logo-cloud/preview.png +0 -0
- package/template/blocks/navigation/Block.vue +665 -184
- package/template/blocks/navigation/__tests__/Block.spec.ts +496 -75
- package/template/blocks/navigation/__tests__/fixtures/menu.json +182 -0
- package/template/blocks/navigation/block.json +110 -6
- package/template/blocks/navigation/mock.json +372 -140
- package/template/blocks/navigation/preview.json +311 -0
- package/template/blocks/navigation/preview.png +0 -0
- package/template/blocks/newsletter/Block.vue +248 -144
- package/template/blocks/newsletter/__tests__/Block.spec.ts +42 -0
- package/template/blocks/newsletter/block.json +61 -2
- package/template/blocks/newsletter/preview.json +35 -0
- package/template/blocks/newsletter/preview.png +0 -0
- package/template/blocks/order-status/preview.png +0 -0
- package/template/blocks/pricing-table/preview.png +0 -0
- package/template/blocks/product-carousel/Block.vue +272 -26
- package/template/blocks/product-carousel/__tests__/Block.spec.ts +90 -0
- package/template/blocks/product-carousel/block.json +61 -0
- package/template/blocks/product-carousel/preview.json +12 -0
- package/template/blocks/product-carousel/preview.png +0 -0
- package/template/blocks/product-detail/Block.vue +148 -96
- package/template/blocks/product-detail/__tests__/Block.spec.ts +98 -74
- package/template/blocks/product-detail/block.json +11 -4
- package/template/blocks/product-detail/mock.json +53 -22
- package/template/blocks/product-detail/parts/Gallery.vue +52 -103
- package/template/blocks/product-detail/preview.png +0 -0
- package/template/blocks/quote/preview.png +0 -0
- package/template/blocks/rich-text/preview.png +0 -0
- package/template/blocks/search/Block.vue +1 -0
- package/template/blocks/search/TypeSection.vue +1 -0
- package/template/blocks/search/__tests__/Block.spec.ts +23 -0
- package/template/blocks/search/preview.png +0 -0
- package/template/blocks/split-content/Block.vue +98 -20
- package/template/blocks/split-content/__tests__/Block.spec.ts +57 -18
- package/template/blocks/split-content/block.json +72 -6
- package/template/blocks/split-content/preview.json +34 -13
- package/template/blocks/split-content/preview.png +0 -0
- package/template/blocks/stats/preview.png +0 -0
- package/template/blocks/tabs/preview.json +16 -16
- package/template/blocks/tabs/preview.png +0 -0
- package/template/blocks/team/preview.png +0 -0
- package/template/blocks/testimonials/preview.png +0 -0
- package/template/blocks/timeline/preview.png +0 -0
- package/template/blocks/trust-strip/Block.vue +67 -1
- package/template/blocks/trust-strip/__tests__/Block.spec.ts +30 -1
- package/template/blocks/trust-strip/block.json +4 -4
- package/template/blocks/trust-strip/preview.json +21 -0
- package/template/blocks/trust-strip/preview.png +0 -0
- package/template/blocks/video-embed/preview.png +0 -0
- package/template/blocks/wishlist/preview.png +0 -0
- package/template/i18n/en-US.json +16 -9
- package/template/i18n/is-IS.json +16 -9
- package/template/package.json +1 -1
- package/template/pages/article.page.json +19 -18
- package/template/pages/cart.page.json +3 -13
- package/template/pages/category.page.json +15 -7
- package/template/pages/collection.page.json +15 -14
- package/template/pages/home.page.json +217 -182
- package/template/pages/product.page.json +46 -36
- package/template/pages/products.page.json +3 -13
- package/template/pages/search.page.json +3 -13
- package/template/pages/wishlist.page.json +3 -13
- package/template/public/images/CREDITS.md +28 -0
- package/template/public/images/bowl.webp +0 -0
- package/template/public/images/clay-hands.webp +0 -0
- package/template/public/images/coffee-table.webp +0 -0
- package/template/public/images/cup.webp +0 -0
- package/template/public/images/enamel-cups.webp +0 -0
- package/template/public/images/hero.webp +0 -0
- package/template/public/images/kitchen.webp +0 -0
- package/template/public/images/mug.webp +0 -0
- package/template/public/images/northwind-mark.svg +1 -0
- package/template/public/images/planters.webp +0 -0
- package/template/public/images/plates.webp +0 -0
- package/template/public/images/reading.webp +0 -0
- package/template/public/images/sweater.webp +0 -0
- package/template/public/images/terracotta.webp +0 -0
- package/template/public/images/throws.webp +0 -0
- package/template/public/images/vase.webp +0 -0
- package/template/public/images/wheel.webp +0 -0
- package/template/public/images/yarn-tools.webp +0 -0
- package/template/public/images/yarn.webp +0 -0
- package/template/stories/generated/collection-grid.stories.ts +6 -0
- package/template/stories/generated/feature-grid.stories.ts +6 -0
- package/template/stories/generated/footer.stories.ts +4 -4
- package/template/stories/generated/hero.stories.ts +6 -0
- package/template/stories/generated/navigation.stories.ts +14 -1
- package/template/stories/generated/newsletter.stories.ts +2 -1
- package/template/stories/generated/product-carousel.stories.ts +12 -0
- package/template/stories/generated/split-content.stories.ts +12 -0
- package/template/stories/generated/trust-strip.stories.ts +8 -1
- package/template/stories/pages/article.stories.ts +2 -1
- package/template/stories/pages/cart.stories.ts +2 -1
- package/template/stories/pages/category.stories.ts +2 -1
- package/template/stories/pages/collection.stories.ts +2 -1
- package/template/stories/pages/home.stories.ts +2 -1
- package/template/stories/pages/product.stories.ts +2 -1
- package/template/stories/pages/products.stories.ts +2 -1
- package/template/stories/pages/search.stories.ts +2 -1
- package/template/stories/pages/wishlist.stories.ts +2 -1
- package/template/stories/support/demoChrome.ts +32 -0
- package/template/stories/support/pageBlocks.ts +2 -4
- package/template/test/countPill.browser.spec.ts +21 -13
- package/template/test/localePrefix.spec.ts +11 -6
- package/template/test/pages/article.spec.ts +1 -1
- package/template/test/pages/category.spec.ts +34 -11
- package/template/test/pages/collection.spec.ts +182 -148
- package/template/test/pages/home.spec.ts +35 -40
- package/template/test/pages/hydration.spec.ts +4 -4
- package/template/test/pages/product.spec.ts +17 -14
- package/template/test/pages/seededPages.spec.ts +11 -6
- package/template/test/prerenderFailure.spec.ts +4 -3
- package/template/test/prerenderRefresh.browser.spec.ts +36 -15
- package/template/test/previewParity.browser.spec.ts +1152 -0
- package/template/test/starter.spec.ts +37 -16
- package/template/test/storefront/gatewayPrerender.spec.ts +26 -0
- package/template/test/support/previewParity.ts +302 -0
- package/template/test/support/previewParityContent.ts +726 -0
- package/template/tokens.json +13 -13
|
@@ -2,17 +2,6 @@
|
|
|
2
2
|
"template": "index",
|
|
3
3
|
"title": "Home",
|
|
4
4
|
"blocks": [
|
|
5
|
-
{
|
|
6
|
-
"apiId": "announcement-bar",
|
|
7
|
-
"id": "home-announcement",
|
|
8
|
-
"data": {
|
|
9
|
-
"variant": "primary",
|
|
10
|
-
"message": "Free shipping on orders over $80",
|
|
11
|
-
"linkLabel": "Details",
|
|
12
|
-
"linkHref": "/pages/shipping",
|
|
13
|
-
"dismissable": true
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
5
|
{
|
|
17
6
|
"apiId": "navigation",
|
|
18
7
|
"id": "home-navigation",
|
|
@@ -20,8 +9,9 @@
|
|
|
20
9
|
"variant": "default",
|
|
21
10
|
"brandText": "Northwind Goods",
|
|
22
11
|
"links": [],
|
|
12
|
+
"drawerLayout": "accordion",
|
|
23
13
|
"showSearch": true,
|
|
24
|
-
"searchStyle": "
|
|
14
|
+
"searchStyle": "field",
|
|
25
15
|
"sticky": true,
|
|
26
16
|
"transparentOverHero": false
|
|
27
17
|
}
|
|
@@ -30,127 +20,155 @@
|
|
|
30
20
|
"apiId": "hero",
|
|
31
21
|
"id": "home-hero",
|
|
32
22
|
"data": {
|
|
33
|
-
"variant": "
|
|
34
|
-
"eyebrow": "New season",
|
|
23
|
+
"variant": "card",
|
|
24
|
+
"eyebrow": "New this season",
|
|
35
25
|
"heading": "Made slowly, used daily",
|
|
36
|
-
"subheading": "
|
|
26
|
+
"subheading": "Stoneware, knitwear and kitchen goods from small workshops, chosen to be used every day and kept for years.",
|
|
37
27
|
"primaryCtaLabel": "Shop new arrivals",
|
|
38
|
-
"primaryCtaHref": "/collections/
|
|
39
|
-
"secondaryCtaLabel": "
|
|
40
|
-
"secondaryCtaHref": "/pages/
|
|
28
|
+
"primaryCtaHref": "/collections/the-winter-edit",
|
|
29
|
+
"secondaryCtaLabel": "Meet the makers",
|
|
30
|
+
"secondaryCtaHref": "/pages/makers",
|
|
41
31
|
"spacing": "md",
|
|
42
32
|
"image": {
|
|
43
33
|
"assetId": "demo-hero",
|
|
44
|
-
"url": "/
|
|
45
|
-
"altText": "
|
|
46
|
-
"width":
|
|
47
|
-
"height":
|
|
34
|
+
"url": "/images/hero.webp",
|
|
35
|
+
"altText": "Rows of pale green and white ceramic bottles",
|
|
36
|
+
"width": 1400,
|
|
37
|
+
"height": 933
|
|
48
38
|
},
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"assetId": "demo-hero-slide-1",
|
|
53
|
-
"url": "/demo/hero-slide-1.svg",
|
|
54
|
-
"altText": "Terracotta serving bowl",
|
|
55
|
-
"width": 1200,
|
|
56
|
-
"height": 1500
|
|
57
|
-
},
|
|
58
|
-
"alt": "Terracotta serving bowl",
|
|
59
|
-
"href": "/products/serving-bowl"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"image": {
|
|
63
|
-
"assetId": "demo-hero-slide-2",
|
|
64
|
-
"url": "/demo/hero-slide-2.svg",
|
|
65
|
-
"altText": "Sage glazed mug",
|
|
66
|
-
"width": 1200,
|
|
67
|
-
"height": 1500
|
|
68
|
-
},
|
|
69
|
-
"alt": "Sage glazed mug",
|
|
70
|
-
"href": "/products/latte-mug"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"image": {
|
|
74
|
-
"assetId": "demo-hero-slide-3",
|
|
75
|
-
"url": "/demo/hero-slide-3.svg",
|
|
76
|
-
"altText": "Folded linen napkins",
|
|
77
|
-
"width": 1200,
|
|
78
|
-
"height": 1500
|
|
79
|
-
},
|
|
80
|
-
"alt": "Folded linen napkins",
|
|
81
|
-
"href": "/products/linen-napkins"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"image": {
|
|
85
|
-
"assetId": "demo-hero-slide-4",
|
|
86
|
-
"url": "/demo/hero-slide-4.svg",
|
|
87
|
-
"altText": "Grey stoneware plates",
|
|
88
|
-
"width": 1200,
|
|
89
|
-
"height": 1500
|
|
90
|
-
},
|
|
91
|
-
"alt": "Grey stoneware plates",
|
|
92
|
-
"href": "/products/dinner-plates"
|
|
93
|
-
}
|
|
94
|
-
]
|
|
39
|
+
"captionLabel": "Glazed milk jug",
|
|
40
|
+
"captionDetail": "$34",
|
|
41
|
+
"captionHref": "/products/glazed-milk-jug"
|
|
95
42
|
}
|
|
96
43
|
},
|
|
97
44
|
{
|
|
98
45
|
"apiId": "trust-strip",
|
|
99
46
|
"id": "home-trust-strip",
|
|
100
47
|
"data": {
|
|
101
|
-
"variant": "
|
|
48
|
+
"variant": "numbered",
|
|
102
49
|
"items": [
|
|
50
|
+
{
|
|
51
|
+
"icon": "needle-thread",
|
|
52
|
+
"title": "Made by people we know",
|
|
53
|
+
"text": "Every piece comes from one of nine workshops."
|
|
54
|
+
},
|
|
103
55
|
{
|
|
104
56
|
"icon": "truck",
|
|
105
|
-
"title": "Free
|
|
106
|
-
"text": "
|
|
57
|
+
"title": "Free delivery over $80",
|
|
58
|
+
"text": "Dispatched in 1 to 3 days, or collect from the shop."
|
|
107
59
|
},
|
|
108
60
|
{
|
|
109
61
|
"icon": "arrow-back-up",
|
|
110
|
-
"title": "30
|
|
111
|
-
"text": "
|
|
112
|
-
"linkLabel": "30
|
|
62
|
+
"title": "30 days to change your mind",
|
|
63
|
+
"text": "Unused items back for a full refund.",
|
|
64
|
+
"linkLabel": "30 days to change your mind: our returns policy",
|
|
113
65
|
"href": "/pages/returns"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"icon": "shield-check",
|
|
117
|
-
"title": "Secure payment",
|
|
118
|
-
"text": "Encrypted checkout, and we never store card details."
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"icon": "needle-thread",
|
|
122
|
-
"title": "Made by hand",
|
|
123
|
-
"text": "In small batches by four family-run workshops."
|
|
124
66
|
}
|
|
125
67
|
],
|
|
126
68
|
"mobileLayout": "grid",
|
|
127
|
-
"showPayments":
|
|
128
|
-
"
|
|
129
|
-
|
|
69
|
+
"showPayments": false,
|
|
70
|
+
"background": "none"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"apiId": "feature-grid",
|
|
75
|
+
"id": "home-categories",
|
|
76
|
+
"data": {
|
|
77
|
+
"variant": "arched",
|
|
78
|
+
"heading": "Shop by category",
|
|
79
|
+
"headLinkLabel": "All categories",
|
|
80
|
+
"headLinkHref": "/products",
|
|
81
|
+
"columns": "4",
|
|
82
|
+
"mediaType": "image",
|
|
83
|
+
"items": [
|
|
130
84
|
{
|
|
131
|
-
"
|
|
85
|
+
"image": {
|
|
86
|
+
"assetId": "demo-feature-1",
|
|
87
|
+
"url": "/images/terracotta.webp",
|
|
88
|
+
"altText": "Handmade terracotta bowls and jugs",
|
|
89
|
+
"width": 1400,
|
|
90
|
+
"height": 933
|
|
91
|
+
},
|
|
92
|
+
"title": "Ceramics",
|
|
93
|
+
"text": "Mugs, bowls, vases",
|
|
94
|
+
"href": "/categories/home/ceramics"
|
|
132
95
|
},
|
|
133
96
|
{
|
|
134
|
-
"
|
|
97
|
+
"image": {
|
|
98
|
+
"assetId": "demo-feature-2",
|
|
99
|
+
"url": "/images/yarn-tools.webp",
|
|
100
|
+
"altText": "Yarn and knitting needles on a table",
|
|
101
|
+
"width": 1400,
|
|
102
|
+
"height": 933
|
|
103
|
+
},
|
|
104
|
+
"title": "Knitwear",
|
|
105
|
+
"text": "Sweaters, throws and yarn",
|
|
106
|
+
"href": "/categories/knitwear"
|
|
135
107
|
},
|
|
136
108
|
{
|
|
137
|
-
"
|
|
109
|
+
"image": {
|
|
110
|
+
"assetId": "demo-feature-3",
|
|
111
|
+
"url": "/images/enamel-cups.webp",
|
|
112
|
+
"altText": "Enamel cups on a table",
|
|
113
|
+
"width": 1400,
|
|
114
|
+
"height": 933
|
|
115
|
+
},
|
|
116
|
+
"title": "Tableware",
|
|
117
|
+
"text": "Cups, plates and platters",
|
|
118
|
+
"href": "/collections/the-winter-edit"
|
|
138
119
|
},
|
|
139
120
|
{
|
|
140
|
-
"
|
|
121
|
+
"image": {
|
|
122
|
+
"assetId": "demo-feature-4",
|
|
123
|
+
"url": "/images/reading.webp",
|
|
124
|
+
"altText": "A reader under a knitted throw",
|
|
125
|
+
"width": 1400,
|
|
126
|
+
"height": 933
|
|
127
|
+
},
|
|
128
|
+
"title": "Home",
|
|
129
|
+
"text": "Throws and cushions",
|
|
130
|
+
"href": "/categories/home"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"image": {
|
|
134
|
+
"assetId": "demo-feature-5",
|
|
135
|
+
"url": "/images/kitchen.webp",
|
|
136
|
+
"altText": "A laid kitchen table",
|
|
137
|
+
"width": 1400,
|
|
138
|
+
"height": 840
|
|
139
|
+
},
|
|
140
|
+
"title": "Kitchen",
|
|
141
|
+
"text": "Boards, jars and linen",
|
|
142
|
+
"href": "/categories/home/kitchen"
|
|
141
143
|
}
|
|
142
|
-
]
|
|
143
|
-
"background": "surface"
|
|
144
|
+
]
|
|
144
145
|
}
|
|
145
146
|
},
|
|
146
147
|
{
|
|
147
148
|
"apiId": "product-carousel",
|
|
148
149
|
"id": "home-product-carousel",
|
|
149
150
|
"data": {
|
|
150
|
-
"
|
|
151
|
+
"eyebrow": "Just in",
|
|
152
|
+
"heading": "New arrivals",
|
|
153
|
+
"viewAllLabel": "View all",
|
|
151
154
|
"variant": "collection",
|
|
155
|
+
"layout": "grid",
|
|
152
156
|
"limit": "8",
|
|
153
|
-
"
|
|
157
|
+
"quickAdd": true,
|
|
158
|
+
"filters": [
|
|
159
|
+
{
|
|
160
|
+
"label": "Ceramics",
|
|
161
|
+
"category": "ceramics"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"label": "Knitwear",
|
|
165
|
+
"category": "knitwear"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"label": "Kitchen",
|
|
169
|
+
"category": "kitchen"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
154
172
|
"showSwatches": true,
|
|
155
173
|
"background": "none",
|
|
156
174
|
"sourceCollection": {
|
|
@@ -164,17 +182,18 @@
|
|
|
164
182
|
"id": "home-split-content",
|
|
165
183
|
"data": {
|
|
166
184
|
"startWith": "image-left",
|
|
185
|
+
"background": "surface",
|
|
167
186
|
"rows": [
|
|
168
187
|
{
|
|
169
188
|
"image": {
|
|
170
189
|
"assetId": "demo-split-1",
|
|
171
|
-
"url": "/
|
|
172
|
-
"altText": "
|
|
173
|
-
"width":
|
|
174
|
-
"height":
|
|
190
|
+
"url": "/images/wheel.webp",
|
|
191
|
+
"altText": "Hands shaping clay on a potter's wheel",
|
|
192
|
+
"width": 1400,
|
|
193
|
+
"height": 933
|
|
175
194
|
},
|
|
176
|
-
"eyebrow": "The
|
|
177
|
-
"heading": "
|
|
195
|
+
"eyebrow": "The makers",
|
|
196
|
+
"heading": "Nine workshops, all within a day's drive",
|
|
178
197
|
"text": {
|
|
179
198
|
"type": "doc",
|
|
180
199
|
"content": [
|
|
@@ -183,113 +202,112 @@
|
|
|
183
202
|
"content": [
|
|
184
203
|
{
|
|
185
204
|
"type": "text",
|
|
186
|
-
"text": "
|
|
205
|
+
"text": "We visit every workshop we sell from. Here are three of them."
|
|
187
206
|
}
|
|
188
207
|
]
|
|
189
208
|
}
|
|
190
209
|
]
|
|
191
210
|
},
|
|
192
|
-
"linkLabel": "
|
|
193
|
-
"href": "/pages/
|
|
211
|
+
"linkLabel": "Read their stories",
|
|
212
|
+
"href": "/pages/makers"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"list": [
|
|
216
|
+
{
|
|
217
|
+
"title": "Harbour Pottery",
|
|
218
|
+
"text": "Stoneware, thrown and glazed by hand",
|
|
219
|
+
"linkLabel": "Shop",
|
|
220
|
+
"href": "/collections/the-winter-edit"
|
|
194
221
|
},
|
|
195
222
|
{
|
|
196
|
-
"
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"type": "doc",
|
|
207
|
-
"content": [
|
|
208
|
-
{
|
|
209
|
-
"type": "paragraph",
|
|
210
|
-
"content": [
|
|
211
|
-
{
|
|
212
|
-
"type": "text",
|
|
213
|
-
"text": "Our sweaters are knitted on vintage frames at a third of the usual speed. The tighter stitch holds its shape through ten winters or more."
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
"linkLabel": "Visit the mill",
|
|
220
|
-
"href": "/pages/mill"
|
|
223
|
+
"title": "Fell & Fleece",
|
|
224
|
+
"text": "Knitwear from their own flock",
|
|
225
|
+
"linkLabel": "Shop",
|
|
226
|
+
"href": "/collections/winter-knitwear"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"title": "Kiln Lane",
|
|
230
|
+
"text": "Small-batch vases and jugs",
|
|
231
|
+
"linkLabel": "Shop",
|
|
232
|
+
"href": "/collections/best-sellers"
|
|
221
233
|
}
|
|
222
234
|
]
|
|
223
235
|
}
|
|
224
236
|
},
|
|
225
237
|
{
|
|
226
|
-
"apiId": "
|
|
227
|
-
"id": "home-
|
|
238
|
+
"apiId": "article-list",
|
|
239
|
+
"id": "home-article-list",
|
|
228
240
|
"data": {
|
|
229
241
|
"variant": "grid",
|
|
230
|
-
"heading": "
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
242
|
+
"heading": "From the journal",
|
|
243
|
+
"viewAllLabel": "All articles",
|
|
244
|
+
"viewAllHref": "/journal",
|
|
245
|
+
"source": "manual",
|
|
246
|
+
"perPage": "3",
|
|
247
|
+
"showFilters": false,
|
|
248
|
+
"showPagination": false,
|
|
249
|
+
"showExcerpt": false,
|
|
234
250
|
"items": [
|
|
235
251
|
{
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
252
|
+
"title": "Five small rituals for a slower morning coffee",
|
|
253
|
+
"dek": "Warm the cup, grind by hand, sit down to drink it. Small habits that make the first ten minutes of the day your own.",
|
|
254
|
+
"href": "/journal/slower-morning-coffee",
|
|
255
|
+
"categoryLabel": "At home",
|
|
256
|
+
"categoryHref": "/journal/home",
|
|
257
|
+
"publishedAt": "2026-10-02",
|
|
258
|
+
"readingTime": "4 min read",
|
|
259
|
+
"image": {
|
|
260
|
+
"assetId": "demo-journal-1",
|
|
261
|
+
"url": "/images/coffee-table.webp",
|
|
262
|
+
"altText": "A polka-dot mug of coffee with biscuits and reading glasses",
|
|
263
|
+
"width": 1400,
|
|
264
|
+
"height": 933
|
|
248
265
|
}
|
|
249
266
|
},
|
|
250
267
|
{
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
268
|
+
"title": "A morning at the wheel with Harbour Pottery",
|
|
269
|
+
"dek": "Six pairs of hands, two firings and a kiln that always has the last word. We spent a morning in the studio.",
|
|
270
|
+
"href": "/journal/harbour-pottery",
|
|
271
|
+
"categoryLabel": "Workshop visit",
|
|
272
|
+
"categoryHref": "/journal/makers",
|
|
273
|
+
"publishedAt": "2026-09-24",
|
|
274
|
+
"readingTime": "6 min read",
|
|
275
|
+
"image": {
|
|
276
|
+
"assetId": "demo-journal-2",
|
|
277
|
+
"url": "/images/clay-hands.webp",
|
|
278
|
+
"altText": "A potter's hands working wet clay",
|
|
279
|
+
"width": 1400,
|
|
280
|
+
"height": 933
|
|
263
281
|
}
|
|
264
282
|
},
|
|
265
283
|
{
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
284
|
+
"title": "Layering throws for a colder season",
|
|
285
|
+
"dek": "Wool over linen, heavy over light: how to build a sofa corner that keeps you warm from October to April.",
|
|
286
|
+
"href": "/journal/layering-throws",
|
|
287
|
+
"categoryLabel": "Knitting",
|
|
288
|
+
"categoryHref": "/journal/care",
|
|
289
|
+
"publishedAt": "2026-09-12",
|
|
290
|
+
"readingTime": "3 min read",
|
|
291
|
+
"image": {
|
|
292
|
+
"assetId": "demo-journal-3",
|
|
293
|
+
"url": "/images/throws.webp",
|
|
294
|
+
"altText": "Folded knitted throws in green and grey",
|
|
295
|
+
"width": 1400,
|
|
296
|
+
"height": 910
|
|
278
297
|
}
|
|
279
298
|
}
|
|
280
|
-
]
|
|
281
|
-
"sectionBackground": "none"
|
|
299
|
+
]
|
|
282
300
|
}
|
|
283
301
|
},
|
|
284
302
|
{
|
|
285
303
|
"apiId": "newsletter",
|
|
286
304
|
"id": "home-newsletter",
|
|
287
305
|
"data": {
|
|
288
|
-
"variant": "
|
|
306
|
+
"variant": "split",
|
|
289
307
|
"heading": "Letters from the workshop",
|
|
290
|
-
"text": "New
|
|
308
|
+
"text": "New pieces and small-batch restocks, once a month. Take 10% off your first order when you join.",
|
|
291
309
|
"fieldLabel": "Email address",
|
|
292
|
-
"placeholder": "
|
|
310
|
+
"placeholder": "you@example.com",
|
|
293
311
|
"buttonLabel": "Subscribe",
|
|
294
312
|
"consent": {
|
|
295
313
|
"type": "doc",
|
|
@@ -299,7 +317,7 @@
|
|
|
299
317
|
"content": [
|
|
300
318
|
{
|
|
301
319
|
"type": "text",
|
|
302
|
-
"text": "
|
|
320
|
+
"text": "Unsubscribe at any time. Read our "
|
|
303
321
|
},
|
|
304
322
|
{
|
|
305
323
|
"type": "text",
|
|
@@ -315,18 +333,35 @@
|
|
|
315
333
|
},
|
|
316
334
|
{
|
|
317
335
|
"type": "text",
|
|
318
|
-
"text": "
|
|
336
|
+
"text": "."
|
|
319
337
|
}
|
|
320
338
|
]
|
|
321
339
|
}
|
|
322
340
|
]
|
|
323
341
|
},
|
|
324
342
|
"requireConsentCheckbox": false,
|
|
325
|
-
"consentCheckboxLabel": "I'd like to receive emails from Northwind Goods",
|
|
326
343
|
"successTitle": "You're on the list",
|
|
327
344
|
"successText": "Check your inbox to confirm. Your 10% welcome code arrives with the first letter.",
|
|
328
|
-
"
|
|
329
|
-
"
|
|
345
|
+
"helpHeading": "Questions before you buy?",
|
|
346
|
+
"helpText": "Sizes, glazes, gift ideas: we know every piece in the shop.",
|
|
347
|
+
"contacts": [
|
|
348
|
+
{
|
|
349
|
+
"icon": "phone",
|
|
350
|
+
"label": "(555) 014-2290",
|
|
351
|
+
"href": "tel:+15550142290"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"icon": "mail",
|
|
355
|
+
"label": "hello@northwind.example",
|
|
356
|
+
"href": "mailto:hello@northwind.example"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"icon": "map-pin",
|
|
360
|
+
"label": "14 Harbour Street",
|
|
361
|
+
"note": "open today until 18:00"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"sectionBackground": "none"
|
|
330
365
|
}
|
|
331
366
|
},
|
|
332
367
|
{
|
|
@@ -334,7 +369,7 @@
|
|
|
334
369
|
"id": "home-footer",
|
|
335
370
|
"data": {
|
|
336
371
|
"variant": "default",
|
|
337
|
-
"background": "
|
|
372
|
+
"background": "primary",
|
|
338
373
|
"brandText": "Northwind Goods",
|
|
339
374
|
"description": "Knitwear, ceramics and kitchen goods from small workshops, made to be used every day. Studio and shop in Portland, Oregon.",
|
|
340
375
|
"groups": [],
|