@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.
Files changed (169) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +3 -3
  3. package/template/.eldra/block-types.d.ts +28 -7
  4. package/template/.eldra/manifest.json +1152 -445
  5. package/template/.eldra/previews.json +35 -35
  6. package/template/README.md +32 -0
  7. package/template/app/assets/main.css +23 -0
  8. package/template/app/plugins/eldra-storefront.ts +3 -0
  9. package/template/app/storefront/demo.ts +75 -24
  10. package/template/app/storefront/gateway.ts +16 -2
  11. package/template/blocks/announcement-bar/preview.png +0 -0
  12. package/template/blocks/article/preview.json +4 -4
  13. package/template/blocks/article/preview.png +0 -0
  14. package/template/blocks/article-list/Block.vue +48 -19
  15. package/template/blocks/article-list/__tests__/Block.spec.ts +15 -0
  16. package/template/blocks/article-list/preview.json +43 -43
  17. package/template/blocks/article-list/preview.png +0 -0
  18. package/template/blocks/breadcrumbs/preview.png +0 -0
  19. package/template/blocks/cart/preview.png +0 -0
  20. package/template/blocks/collection-grid/Block.vue +260 -9
  21. package/template/blocks/collection-grid/__tests__/Block.spec.ts +202 -0
  22. package/template/blocks/collection-grid/block.json +3 -3
  23. package/template/blocks/collection-grid/preview.png +0 -0
  24. package/template/blocks/collection-header/Block.vue +65 -52
  25. package/template/blocks/collection-header/preview.json +4 -4
  26. package/template/blocks/collection-header/preview.png +0 -0
  27. package/template/blocks/contact/preview.png +0 -0
  28. package/template/blocks/cta/preview.json +4 -4
  29. package/template/blocks/cta/preview.png +0 -0
  30. package/template/blocks/faq/preview.png +0 -0
  31. package/template/blocks/feature-grid/Block.vue +73 -4
  32. package/template/blocks/feature-grid/__tests__/Block.spec.ts +43 -1
  33. package/template/blocks/feature-grid/block.json +2 -2
  34. package/template/blocks/feature-grid/preview.json +49 -24
  35. package/template/blocks/feature-grid/preview.png +0 -0
  36. package/template/blocks/footer/Block.vue +186 -71
  37. package/template/blocks/footer/__tests__/Block.spec.ts +127 -32
  38. package/template/blocks/footer/block.json +42 -4
  39. package/template/blocks/footer/mock.json +31 -34
  40. package/template/blocks/footer/preview.png +0 -0
  41. package/template/blocks/form/preview.png +0 -0
  42. package/template/blocks/gallery/preview.json +24 -24
  43. package/template/blocks/gallery/preview.png +0 -0
  44. package/template/blocks/hero/Block.vue +117 -19
  45. package/template/blocks/hero/__tests__/Block.spec.ts +46 -0
  46. package/template/blocks/hero/block.json +36 -1
  47. package/template/blocks/hero/preview.json +33 -25
  48. package/template/blocks/hero/preview.png +0 -0
  49. package/template/blocks/image/preview.json +4 -4
  50. package/template/blocks/image/preview.png +0 -0
  51. package/template/blocks/logo-cloud/preview.png +0 -0
  52. package/template/blocks/navigation/Block.vue +665 -184
  53. package/template/blocks/navigation/__tests__/Block.spec.ts +496 -75
  54. package/template/blocks/navigation/__tests__/fixtures/menu.json +182 -0
  55. package/template/blocks/navigation/block.json +110 -6
  56. package/template/blocks/navigation/mock.json +372 -140
  57. package/template/blocks/navigation/preview.json +311 -0
  58. package/template/blocks/navigation/preview.png +0 -0
  59. package/template/blocks/newsletter/Block.vue +248 -144
  60. package/template/blocks/newsletter/__tests__/Block.spec.ts +42 -0
  61. package/template/blocks/newsletter/block.json +61 -2
  62. package/template/blocks/newsletter/preview.json +35 -0
  63. package/template/blocks/newsletter/preview.png +0 -0
  64. package/template/blocks/order-status/preview.png +0 -0
  65. package/template/blocks/pricing-table/preview.png +0 -0
  66. package/template/blocks/product-carousel/Block.vue +272 -26
  67. package/template/blocks/product-carousel/__tests__/Block.spec.ts +90 -0
  68. package/template/blocks/product-carousel/block.json +61 -0
  69. package/template/blocks/product-carousel/preview.json +12 -0
  70. package/template/blocks/product-carousel/preview.png +0 -0
  71. package/template/blocks/product-detail/Block.vue +148 -96
  72. package/template/blocks/product-detail/__tests__/Block.spec.ts +98 -74
  73. package/template/blocks/product-detail/block.json +11 -4
  74. package/template/blocks/product-detail/mock.json +53 -22
  75. package/template/blocks/product-detail/parts/Gallery.vue +52 -103
  76. package/template/blocks/product-detail/preview.png +0 -0
  77. package/template/blocks/quote/preview.png +0 -0
  78. package/template/blocks/rich-text/preview.png +0 -0
  79. package/template/blocks/search/Block.vue +1 -0
  80. package/template/blocks/search/TypeSection.vue +1 -0
  81. package/template/blocks/search/__tests__/Block.spec.ts +23 -0
  82. package/template/blocks/search/preview.png +0 -0
  83. package/template/blocks/split-content/Block.vue +98 -20
  84. package/template/blocks/split-content/__tests__/Block.spec.ts +57 -18
  85. package/template/blocks/split-content/block.json +72 -6
  86. package/template/blocks/split-content/preview.json +34 -13
  87. package/template/blocks/split-content/preview.png +0 -0
  88. package/template/blocks/stats/preview.png +0 -0
  89. package/template/blocks/tabs/preview.json +16 -16
  90. package/template/blocks/tabs/preview.png +0 -0
  91. package/template/blocks/team/preview.png +0 -0
  92. package/template/blocks/testimonials/preview.png +0 -0
  93. package/template/blocks/timeline/preview.png +0 -0
  94. package/template/blocks/trust-strip/Block.vue +67 -1
  95. package/template/blocks/trust-strip/__tests__/Block.spec.ts +30 -1
  96. package/template/blocks/trust-strip/block.json +4 -4
  97. package/template/blocks/trust-strip/preview.json +21 -0
  98. package/template/blocks/trust-strip/preview.png +0 -0
  99. package/template/blocks/video-embed/preview.png +0 -0
  100. package/template/blocks/wishlist/preview.png +0 -0
  101. package/template/i18n/en-US.json +16 -9
  102. package/template/i18n/is-IS.json +16 -9
  103. package/template/package.json +1 -1
  104. package/template/pages/article.page.json +19 -18
  105. package/template/pages/cart.page.json +3 -13
  106. package/template/pages/category.page.json +15 -7
  107. package/template/pages/collection.page.json +15 -14
  108. package/template/pages/home.page.json +217 -182
  109. package/template/pages/product.page.json +46 -36
  110. package/template/pages/products.page.json +3 -13
  111. package/template/pages/search.page.json +3 -13
  112. package/template/pages/wishlist.page.json +3 -13
  113. package/template/public/images/CREDITS.md +28 -0
  114. package/template/public/images/bowl.webp +0 -0
  115. package/template/public/images/clay-hands.webp +0 -0
  116. package/template/public/images/coffee-table.webp +0 -0
  117. package/template/public/images/cup.webp +0 -0
  118. package/template/public/images/enamel-cups.webp +0 -0
  119. package/template/public/images/hero.webp +0 -0
  120. package/template/public/images/kitchen.webp +0 -0
  121. package/template/public/images/mug.webp +0 -0
  122. package/template/public/images/northwind-mark.svg +1 -0
  123. package/template/public/images/planters.webp +0 -0
  124. package/template/public/images/plates.webp +0 -0
  125. package/template/public/images/reading.webp +0 -0
  126. package/template/public/images/sweater.webp +0 -0
  127. package/template/public/images/terracotta.webp +0 -0
  128. package/template/public/images/throws.webp +0 -0
  129. package/template/public/images/vase.webp +0 -0
  130. package/template/public/images/wheel.webp +0 -0
  131. package/template/public/images/yarn-tools.webp +0 -0
  132. package/template/public/images/yarn.webp +0 -0
  133. package/template/stories/generated/collection-grid.stories.ts +6 -0
  134. package/template/stories/generated/feature-grid.stories.ts +6 -0
  135. package/template/stories/generated/footer.stories.ts +4 -4
  136. package/template/stories/generated/hero.stories.ts +6 -0
  137. package/template/stories/generated/navigation.stories.ts +14 -1
  138. package/template/stories/generated/newsletter.stories.ts +2 -1
  139. package/template/stories/generated/product-carousel.stories.ts +12 -0
  140. package/template/stories/generated/split-content.stories.ts +12 -0
  141. package/template/stories/generated/trust-strip.stories.ts +8 -1
  142. package/template/stories/pages/article.stories.ts +2 -1
  143. package/template/stories/pages/cart.stories.ts +2 -1
  144. package/template/stories/pages/category.stories.ts +2 -1
  145. package/template/stories/pages/collection.stories.ts +2 -1
  146. package/template/stories/pages/home.stories.ts +2 -1
  147. package/template/stories/pages/product.stories.ts +2 -1
  148. package/template/stories/pages/products.stories.ts +2 -1
  149. package/template/stories/pages/search.stories.ts +2 -1
  150. package/template/stories/pages/wishlist.stories.ts +2 -1
  151. package/template/stories/support/demoChrome.ts +32 -0
  152. package/template/stories/support/pageBlocks.ts +2 -4
  153. package/template/test/countPill.browser.spec.ts +21 -13
  154. package/template/test/localePrefix.spec.ts +11 -6
  155. package/template/test/pages/article.spec.ts +1 -1
  156. package/template/test/pages/category.spec.ts +34 -11
  157. package/template/test/pages/collection.spec.ts +182 -148
  158. package/template/test/pages/home.spec.ts +35 -40
  159. package/template/test/pages/hydration.spec.ts +4 -4
  160. package/template/test/pages/product.spec.ts +17 -14
  161. package/template/test/pages/seededPages.spec.ts +11 -6
  162. package/template/test/prerenderFailure.spec.ts +4 -3
  163. package/template/test/prerenderRefresh.browser.spec.ts +36 -15
  164. package/template/test/previewParity.browser.spec.ts +1152 -0
  165. package/template/test/starter.spec.ts +37 -16
  166. package/template/test/storefront/gatewayPrerender.spec.ts +26 -0
  167. package/template/test/support/previewParity.ts +302 -0
  168. package/template/test/support/previewParityContent.ts +726 -0
  169. 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": "icon",
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": "image-right",
34
- "eyebrow": "New season",
23
+ "variant": "card",
24
+ "eyebrow": "New this season",
35
25
  "heading": "Made slowly, used daily",
36
- "subheading": "Merino knits, hand-thrown stoneware and kitchen goods from small workshops. Made to be used every day and kept for years.",
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/new",
39
- "secondaryCtaLabel": "Our story",
40
- "secondaryCtaHref": "/pages/about",
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": "/demo/hero.svg",
45
- "altText": "Speckled stoneware serving bowl on a linen cloth",
46
- "width": 1600,
47
- "height": 1000
34
+ "url": "/images/hero.webp",
35
+ "altText": "Rows of pale green and white ceramic bottles",
36
+ "width": 1400,
37
+ "height": 933
48
38
  },
49
- "slides": [
50
- {
51
- "image": {
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": "columns",
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 shipping over $80",
106
- "text": "Delivered in 2–4 business days, carbon-neutral."
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-day returns",
111
- "text": "Changed your mind? Send it back free of charge.",
112
- "linkLabel": "30-day returns",
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": true,
128
- "paymentsLabel": "Secure checkout with",
129
- "payments": [
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
- "brand": "visa"
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
- "brand": "mastercard"
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
- "brand": "paypal"
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
- "brand": "apple-pay"
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
- "heading": "New this season",
151
+ "eyebrow": "Just in",
152
+ "heading": "New arrivals",
153
+ "viewAllLabel": "View all",
151
154
  "variant": "collection",
155
+ "layout": "grid",
152
156
  "limit": "8",
153
- "viewAllLabel": "View all",
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": "/demo/split-1.svg",
172
- "altText": "A potter trimming a bowl on the wheel",
173
- "width": 1600,
174
- "height": 1200
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 studio",
177
- "heading": "Every bowl passes through six pairs of hands",
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": "Our Portland potters throw, trim, glaze and fire in small batches of forty. Slight differences in speckle and rim are the mark of that process, not a flaw."
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": "Inside the studio",
193
- "href": "/pages/studio"
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
- "image": {
197
- "assetId": "demo-split-2",
198
- "url": "/demo/split-2.svg",
199
- "altText": "Vintage knitting frame mid-row",
200
- "width": 1600,
201
- "height": 1200
202
- },
203
- "eyebrow": "The mill",
204
- "heading": "Knitted slowly, so it lasts",
205
- "text": {
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": "testimonials",
227
- "id": "home-testimonials",
238
+ "apiId": "article-list",
239
+ "id": "home-article-list",
228
240
  "data": {
229
241
  "variant": "grid",
230
- "heading": "Used every day, reviewed honestly",
231
- "summary": "4.8 out of 5 from 9,214 verified reviews",
232
- "linkLabel": "Read all reviews",
233
- "linkHref": "/pages/reviews",
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
- "quote": "The latte mug has been in my hand every morning since March. It keeps coffee hot for ages, and the speckled glaze is even nicer in person.",
237
- "name": "Hannah Reeve",
238
- "meta": "Portland, OR · Speckled latte mug",
239
- "rating": "5",
240
- "productLabel": "Speckled latte mug",
241
- "productHref": "/products/latte-mug",
242
- "avatar": {
243
- "assetId": "demo-avatar-1",
244
- "url": "/demo/avatar-1.svg",
245
- "altText": "",
246
- "width": 256,
247
- "height": 256
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
- "quote": "I bought the lambswool throw as a gift and ordered a second for myself a week later. Heavy, soft, and not one loose thread after a whole winter on the sofa.",
252
- "name": "Marcus Bell",
253
- "meta": "Austin, TX · Lambswool throw",
254
- "rating": "5",
255
- "productLabel": "Lambswool throw blanket",
256
- "productHref": "/products/lambswool-throw",
257
- "avatar": {
258
- "assetId": "demo-avatar-2",
259
- "url": "/demo/avatar-2.svg",
260
- "altText": "",
261
- "width": 256,
262
- "height": 256
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
- "quote": "The plates arrived double-boxed without a chip. One is a shade warmer than the others, and the card in the box explained why. I like it more for that.",
267
- "name": "Priya Nair",
268
- "meta": "Minneapolis, MN · Stoneware dinner plates",
269
- "rating": "4",
270
- "productLabel": "Stoneware dinner plates",
271
- "productHref": "/products/dinner-plates",
272
- "avatar": {
273
- "assetId": "demo-avatar-3",
274
- "url": "/demo/avatar-3.svg",
275
- "altText": "",
276
- "width": 256,
277
- "height": 256
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": "centered",
306
+ "variant": "split",
289
307
  "heading": "Letters from the workshop",
290
- "text": "New makers, restocks and first pick of our seconds sales, once a month. Take 10% off your first order when you join.",
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": "name@example.com",
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": "One email a month, never shared. Read our "
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": "; unsubscribe with one click."
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
- "list": "letters-from-the-workshop",
329
- "sectionBackground": "surface"
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": "surface-strong",
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": [],