@eldrajs/theme-cli 0.2.8 → 0.2.10

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 (165) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/package.json +1 -1
  3. package/template/.eldra/block-types.d.ts +28 -7
  4. package/template/.eldra/manifest.json +1034 -355
  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 +82 -58
  25. package/template/blocks/collection-header/__tests__/Block.spec.ts +77 -1
  26. package/template/blocks/collection-header/preview.json +4 -4
  27. package/template/blocks/collection-header/preview.png +0 -0
  28. package/template/blocks/contact/preview.png +0 -0
  29. package/template/blocks/cta/preview.json +4 -4
  30. package/template/blocks/cta/preview.png +0 -0
  31. package/template/blocks/faq/preview.png +0 -0
  32. package/template/blocks/feature-grid/Block.vue +73 -4
  33. package/template/blocks/feature-grid/__tests__/Block.spec.ts +43 -1
  34. package/template/blocks/feature-grid/block.json +2 -2
  35. package/template/blocks/feature-grid/preview.json +49 -24
  36. package/template/blocks/feature-grid/preview.png +0 -0
  37. package/template/blocks/footer/Block.vue +186 -71
  38. package/template/blocks/footer/__tests__/Block.spec.ts +127 -32
  39. package/template/blocks/footer/block.json +42 -4
  40. package/template/blocks/footer/mock.json +31 -34
  41. package/template/blocks/footer/preview.png +0 -0
  42. package/template/blocks/form/preview.png +0 -0
  43. package/template/blocks/gallery/preview.json +24 -24
  44. package/template/blocks/gallery/preview.png +0 -0
  45. package/template/blocks/hero/Block.vue +117 -19
  46. package/template/blocks/hero/__tests__/Block.spec.ts +46 -0
  47. package/template/blocks/hero/block.json +36 -1
  48. package/template/blocks/hero/preview.json +33 -25
  49. package/template/blocks/hero/preview.png +0 -0
  50. package/template/blocks/image/preview.json +4 -4
  51. package/template/blocks/image/preview.png +0 -0
  52. package/template/blocks/logo-cloud/preview.png +0 -0
  53. package/template/blocks/navigation/Block.vue +623 -184
  54. package/template/blocks/navigation/__tests__/Block.spec.ts +416 -68
  55. package/template/blocks/navigation/__tests__/fixtures/menu.json +182 -0
  56. package/template/blocks/navigation/block.json +102 -6
  57. package/template/blocks/navigation/mock.json +279 -52
  58. package/template/blocks/navigation/preview.json +311 -0
  59. package/template/blocks/navigation/preview.png +0 -0
  60. package/template/blocks/newsletter/Block.vue +248 -144
  61. package/template/blocks/newsletter/__tests__/Block.spec.ts +42 -0
  62. package/template/blocks/newsletter/block.json +61 -2
  63. package/template/blocks/newsletter/preview.json +35 -0
  64. package/template/blocks/newsletter/preview.png +0 -0
  65. package/template/blocks/order-status/preview.png +0 -0
  66. package/template/blocks/pricing-table/preview.png +0 -0
  67. package/template/blocks/product-carousel/Block.vue +272 -26
  68. package/template/blocks/product-carousel/__tests__/Block.spec.ts +90 -0
  69. package/template/blocks/product-carousel/block.json +61 -0
  70. package/template/blocks/product-carousel/preview.json +12 -0
  71. package/template/blocks/product-carousel/preview.png +0 -0
  72. package/template/blocks/product-detail/Block.vue +148 -96
  73. package/template/blocks/product-detail/__tests__/Block.spec.ts +98 -74
  74. package/template/blocks/product-detail/block.json +11 -4
  75. package/template/blocks/product-detail/mock.json +53 -22
  76. package/template/blocks/product-detail/parts/Gallery.vue +52 -103
  77. package/template/blocks/product-detail/preview.png +0 -0
  78. package/template/blocks/quote/preview.png +0 -0
  79. package/template/blocks/rich-text/preview.png +0 -0
  80. package/template/blocks/search/Block.vue +1 -0
  81. package/template/blocks/search/TypeSection.vue +1 -0
  82. package/template/blocks/search/__tests__/Block.spec.ts +23 -0
  83. package/template/blocks/search/preview.png +0 -0
  84. package/template/blocks/split-content/Block.vue +98 -20
  85. package/template/blocks/split-content/__tests__/Block.spec.ts +57 -18
  86. package/template/blocks/split-content/block.json +72 -6
  87. package/template/blocks/split-content/preview.json +34 -13
  88. package/template/blocks/split-content/preview.png +0 -0
  89. package/template/blocks/stats/preview.png +0 -0
  90. package/template/blocks/tabs/preview.json +16 -16
  91. package/template/blocks/tabs/preview.png +0 -0
  92. package/template/blocks/team/preview.png +0 -0
  93. package/template/blocks/testimonials/preview.png +0 -0
  94. package/template/blocks/timeline/preview.png +0 -0
  95. package/template/blocks/trust-strip/Block.vue +67 -1
  96. package/template/blocks/trust-strip/__tests__/Block.spec.ts +30 -1
  97. package/template/blocks/trust-strip/block.json +4 -4
  98. package/template/blocks/trust-strip/preview.json +21 -0
  99. package/template/blocks/trust-strip/preview.png +0 -0
  100. package/template/blocks/video-embed/preview.png +0 -0
  101. package/template/blocks/wishlist/preview.png +0 -0
  102. package/template/i18n/en-US.json +16 -9
  103. package/template/i18n/is-IS.json +16 -9
  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/clay-hands.webp +0 -0
  115. package/template/public/images/coffee-table.webp +0 -0
  116. package/template/public/images/cup.webp +0 -0
  117. package/template/public/images/enamel-cups.webp +0 -0
  118. package/template/public/images/hero.webp +0 -0
  119. package/template/public/images/kitchen.webp +0 -0
  120. package/template/public/images/mug.webp +0 -0
  121. package/template/public/images/northwind-mark.svg +1 -0
  122. package/template/public/images/planters.webp +0 -0
  123. package/template/public/images/plates.webp +0 -0
  124. package/template/public/images/reading.webp +0 -0
  125. package/template/public/images/sweater.webp +0 -0
  126. package/template/public/images/terracotta.webp +0 -0
  127. package/template/public/images/throws.webp +0 -0
  128. package/template/public/images/vase.webp +0 -0
  129. package/template/public/images/wheel.webp +0 -0
  130. package/template/public/images/yarn-tools.webp +0 -0
  131. package/template/public/images/yarn.webp +0 -0
  132. package/template/stories/generated/collection-grid.stories.ts +6 -0
  133. package/template/stories/generated/feature-grid.stories.ts +6 -0
  134. package/template/stories/generated/footer.stories.ts +4 -4
  135. package/template/stories/generated/hero.stories.ts +6 -0
  136. package/template/stories/generated/navigation.stories.ts +14 -1
  137. package/template/stories/generated/newsletter.stories.ts +2 -1
  138. package/template/stories/generated/product-carousel.stories.ts +12 -0
  139. package/template/stories/generated/split-content.stories.ts +12 -0
  140. package/template/stories/generated/trust-strip.stories.ts +8 -1
  141. package/template/stories/pages/article.stories.ts +2 -1
  142. package/template/stories/pages/cart.stories.ts +2 -1
  143. package/template/stories/pages/category.stories.ts +2 -1
  144. package/template/stories/pages/collection.stories.ts +2 -1
  145. package/template/stories/pages/home.stories.ts +2 -1
  146. package/template/stories/pages/product.stories.ts +2 -1
  147. package/template/stories/pages/products.stories.ts +2 -1
  148. package/template/stories/pages/search.stories.ts +2 -1
  149. package/template/stories/pages/wishlist.stories.ts +2 -1
  150. package/template/stories/support/demoChrome.ts +32 -0
  151. package/template/stories/support/pageBlocks.ts +2 -4
  152. package/template/test/countPill.browser.spec.ts +21 -13
  153. package/template/test/localePrefix.spec.ts +11 -6
  154. package/template/test/pages/article.spec.ts +1 -1
  155. package/template/test/pages/category.spec.ts +34 -11
  156. package/template/test/pages/collection.spec.ts +182 -148
  157. package/template/test/pages/home.spec.ts +35 -40
  158. package/template/test/pages/hydration.spec.ts +4 -4
  159. package/template/test/pages/product.spec.ts +17 -14
  160. package/template/test/pages/seededPages.spec.ts +11 -6
  161. package/template/test/prerenderRefresh.browser.spec.ts +36 -15
  162. package/template/test/previewParity.browser.spec.ts +36 -2
  163. package/template/test/starter.spec.ts +31 -15
  164. package/template/test/storefront/gatewayPrerender.spec.ts +26 -0
  165. package/template/tokens.json +13 -13
@@ -24,6 +24,15 @@
24
24
  * the link to the bottom of a stretched card so links line up across a row (spec → Sizes,
25
25
  * "pushed to the bottom of the item").
26
26
  *
27
+ * **`arched`** is the design's "shop by category" row: each item an arch-topped 3:4 photo (full
28
+ * radius on top, `radius-lg` below) with a centred serif title and a muted line, and the whole
29
+ * tile one link — the title and line are the link's text, the photo is decorative. One row of
30
+ * equal tiles from 1101px of block width; below that the same row keeps a 9rem minimum per tile
31
+ * and scrolls sideways, bleeding to the block edge so the next tile peeks in. Every tile is a
32
+ * link, so `Tab` walks the row and the browser scrolls each into view — no tab stop of its own is
33
+ * needed for the scroll area (axe's `scrollable-region-focusable` is satisfied by its links).
34
+ * `columns` and `mediaType` do not apply to it.
35
+ *
27
36
  * Spec States → Empty (freshly inserted): "two 'Add a feature' items ('Pick an icon or image,
28
37
  * then a title and a sentence')" — the same per-item editor hint shape `team`'s/`stats`' own
29
38
  * repeaters use. `isItemEmpty` treats an item with neither icon nor image nor title as empty;
@@ -49,6 +58,7 @@ import { useUiId } from '../../app/composables/useUiId';
49
58
  import EldraRouterLink from '../../app/components/EldraRouterLink.vue';
50
59
  import UiImage from '../../app/components/ui/UiImage.vue';
51
60
  import { isInternalHref, safeHref } from '../../app/utils/links';
61
+ import { focusRing } from '../../app/utils/classes';
52
62
 
53
63
  const props = defineProps<{ entry: EldraBlockEntry<'feature-grid'> }>();
54
64
  const { data } = useBlockData(props, 'feature-grid');
@@ -77,7 +87,8 @@ const hasHead = computed(
77
87
  () => hasHeading.value || hasIntro.value || hasHeadLink.value || showHeadingHint.value
78
88
  );
79
89
 
80
- const isCards = computed(() => (data.value.variant ?? 'cards') !== 'plain');
90
+ const isArched = computed(() => data.value.variant === 'arched');
91
+ const isCards = computed(() => !isArched.value && (data.value.variant ?? 'cards') !== 'plain');
81
92
  const featureCardVariant = computed<FeatureCardVariant>(() =>
82
93
  isCards.value ? 'surface' : 'plain'
83
94
  );
@@ -136,6 +147,22 @@ const renderedItems = computed(() =>
136
147
  );
137
148
  const hasItems = computed(() => renderedItems.value.length > 0);
138
149
 
150
+ /** The arched row: equal tiles in one row from 1101px, a sideways-scrolling row below with the
151
+ * track bleeding to the block edge (the same negative-gutter recipe `trust-strip`'s scroll layout
152
+ * uses, matched to `Container`'s own gutter at each step). */
153
+ const ARCHED_LIST_CLASS =
154
+ 'grid grid-flow-col auto-cols-[minmax(9rem,1fr)] gap-6 overflow-x-auto eldra-scrollbar-hide ' +
155
+ 'snap-x pt-1 pb-2 scroll-px-[var(--eldra-gutter-mobile)] ' +
156
+ '-mx-[var(--eldra-gutter-mobile)] px-[var(--eldra-gutter-mobile)] ' +
157
+ '@tablet:-mx-[var(--eldra-gutter-tablet)] @tablet:px-[var(--eldra-gutter-tablet)] @tablet:scroll-px-[var(--eldra-gutter-tablet)] ' +
158
+ '@content:-mx-[var(--eldra-gutter-desktop)] @content:px-[var(--eldra-gutter-desktop)] @content:scroll-px-[var(--eldra-gutter-desktop)] ' +
159
+ '@min-[68.8125rem]:auto-cols-fr @min-[68.8125rem]:overflow-visible @min-[68.8125rem]:mx-0 ' +
160
+ '@min-[68.8125rem]:px-0 @min-[68.8125rem]:snap-none';
161
+ const ARCH_TILE_CLASS =
162
+ 'group grid justify-items-center gap-3.5 text-center text-text no-underline rounded-lg';
163
+ const ARCH_FRAME_CLASS =
164
+ 'relative block w-full overflow-hidden bg-surface rounded-t-full rounded-b-lg aspect-[3/4]';
165
+
139
166
  const items = computed(() =>
140
167
  renderedItems.value.map((item) => {
141
168
  const href = safeHref(item.href);
@@ -146,7 +173,7 @@ const items = computed(() =>
146
173
  showIconTile: hasIcon,
147
174
  hasImage: Boolean(item.image),
148
175
  image: item.image,
149
- title: item.title,
176
+ title: item.title ?? '',
150
177
  text: item.text ?? '',
151
178
  cue: item.linkLabel || undefined,
152
179
  href,
@@ -169,7 +196,7 @@ const items = computed(() =>
169
196
  <h2
170
197
  v-if="hasHeading"
171
198
  :id="headingId"
172
- class="font-heading text-text @tablet:text-h2 text-[1.625rem] leading-[1.15] font-bold tracking-[-0.015em]"
199
+ class="font-heading text-text text-[1.75rem] leading-[1.1] font-medium tracking-[-0.01em] text-balance @min-[47.5625rem]:text-[2.25rem]"
173
200
  >
174
201
  {{ data.heading }}
175
202
  </h2>
@@ -192,7 +219,49 @@ const items = computed(() =>
192
219
  </Link>
193
220
  </div>
194
221
 
195
- <ul role="list" :class="gridClass">
222
+ <ul v-if="isArched" role="list" :class="ARCHED_LIST_CLASS">
223
+ <li v-for="(item, index) in items" :key="index" class="snap-start">
224
+ <EditorPlaceholder
225
+ v-if="item.isEmpty"
226
+ inline
227
+ class="aspect-[3/4] h-auto rounded-t-full rounded-b-lg"
228
+ :label="t('featureGrid.itemHintLabel')"
229
+ :help="t('featureGrid.itemHintHelp')"
230
+ />
231
+ <component
232
+ :is="item.href ? (item.linkAs ?? 'a') : 'div'"
233
+ v-else
234
+ v-bind="item.href ? (item.linkAs ? { to: item.href } : { href: item.href }) : {}"
235
+ :class="[ARCH_TILE_CLASS, item.href ? focusRing : '']"
236
+ >
237
+ <span :class="ARCH_FRAME_CLASS">
238
+ <UiImage
239
+ v-if="item.hasImage"
240
+ :src="item.image!.url"
241
+ alt=""
242
+ :framing="item.image!.framing ?? null"
243
+ fill
244
+ class="motion-safe:transition-transform motion-safe:duration-[250ms] motion-safe:group-hover:scale-[1.04]"
245
+ />
246
+ <EditorPlaceholder
247
+ v-else-if="isEditing"
248
+ inline
249
+ class="h-full"
250
+ :label="t('featureGrid.imageHintLabel')"
251
+ />
252
+ </span>
253
+ <span class="grid gap-0.5">
254
+ <span
255
+ class="font-heading text-[1.25rem] leading-[1.3] font-medium group-hover:underline group-hover:underline-offset-[0.2em]"
256
+ >{{ item.title }}</span
257
+ >
258
+ <span v-if="item.text" class="text-muted text-sm">{{ item.text }}</span>
259
+ </span>
260
+ </component>
261
+ </li>
262
+ </ul>
263
+
264
+ <ul v-else role="list" :class="gridClass">
196
265
  <li v-for="(item, index) in items" :key="index" class="h-full">
197
266
  <EditorPlaceholder
198
267
  v-if="item.isEmpty"
@@ -59,7 +59,9 @@ describe('feature-grid block', () => {
59
59
  // future overlay edit that forgets `mediaType`/`columns` fails here rather than only showing up
60
60
  // as a wrong insert thumbnail in Studio.
61
61
  expect(preview.mediaType).toBe('image');
62
- expect(preview.columns).toBe(String(preview.items.length));
62
+ // Five category tiles (the arched variant's demo row) in the cards' three-column grid: the
63
+ // grid must never have more columns than items, which is what left blank cells before.
64
+ expect(Number(preview.columns)).toBeLessThanOrEqual(preview.items.length);
63
65
 
64
66
  const wrapper = mountBlock(withImages);
65
67
  const images = wrapper.findAll('img');
@@ -92,6 +94,46 @@ describe('feature-grid block', () => {
92
94
  }
93
95
  );
94
96
 
97
+ describe('arched variant', () => {
98
+ const arched = { ...withImages, variant: 'arched' };
99
+
100
+ it('renders the preview row axe-clean, one link per tile naming its title and line', async () => {
101
+ const wrapper = mountBlock(arched);
102
+ const tiles = wrapper.findAll('ul > li');
103
+ expect(tiles).toHaveLength(preview.items.length);
104
+ preview.items.forEach((tile, index) => {
105
+ const link = tiles[index]!.get('a');
106
+ expect(tiles[index]!.findAll('a')).toHaveLength(1);
107
+ expect(link.text()).toContain(tile.title);
108
+ expect(link.text()).toContain(tile.text);
109
+ // The photo is decorative: the link's text already names the destination.
110
+ expect(link.get('img').attributes('alt')).toBe('');
111
+ });
112
+ expect(await axe(wrapper.element)).toHaveNoViolations();
113
+ });
114
+
115
+ it('routes a same-site tile through the router and drops an unsafe one to plain text', () => {
116
+ const wrapper = mountBlock({
117
+ ...arched,
118
+ items: [
119
+ { ...preview.items[0], href: 'javascript:alert(1)' },
120
+ { ...preview.items[1], href: 'https://example.com/knitwear' },
121
+ ],
122
+ });
123
+ const tiles = wrapper.findAll('ul > li');
124
+ expect(tiles[0]!.find('a').exists()).toBe(false);
125
+ expect(tiles[0]!.text()).toContain(preview.items[0]!.title);
126
+ expect(tiles[1]!.get('a').attributes('href')).toBe('https://example.com/knitwear');
127
+ });
128
+
129
+ it('Tab walks the head link, then every tile, in order — no other tab stop', () => {
130
+ const wrapper = mountBlock(arched);
131
+ const hrefs = wrapper.findAll('a').map((a) => a.attributes('href'));
132
+ expect(hrefs).toEqual([preview.headLinkHref, ...preview.items.map((tile) => tile.href)]);
133
+ expect(wrapper.find('[tabindex]').exists()).toBe(false);
134
+ });
135
+ });
136
+
95
137
  it('renders the image media type with no axe violations', async () => {
96
138
  const wrapper = mountBlock({ ...withImages, mediaType: 'image' });
97
139
  expect(wrapper.findAll('img')).toHaveLength(withImages.items.length);
@@ -10,8 +10,8 @@
10
10
  "fieldId": "variant",
11
11
  "name": "Variant",
12
12
  "type": "select",
13
- "helpText": "cards is the default.",
14
- "metadata": { "options": ["cards", "plain"] },
13
+ "helpText": "cards is the default. arched shows each item as an arch-topped photo with its title and line under it, the whole tile one link, in a single row that scrolls sideways on smaller screens. Use it for category tiles; it always shows images and ignores columns and media type.",
14
+ "metadata": { "options": ["cards", "plain", "arched"] },
15
15
  "validators": { "required": true }
16
16
  },
17
17
  {
@@ -1,45 +1,70 @@
1
1
  {
2
+ "heading": "Shop by category",
3
+ "intro": "",
4
+ "headLinkLabel": "All categories",
5
+ "headLinkHref": "/products",
2
6
  "columns": "3",
3
7
  "mediaType": "image",
4
8
  "items": [
5
9
  {
6
10
  "image": {
7
11
  "assetId": "demo-feature-1",
8
- "url": "/demo/feature-1.svg",
9
- "altText": "Merino wool being spun at the mill",
10
- "width": 800,
11
- "height": 600
12
+ "url": "/images/terracotta.webp",
13
+ "altText": "Handmade terracotta bowls and jugs",
14
+ "width": 1400,
15
+ "height": 933
12
16
  },
13
- "title": "Merino from Yorkshire",
14
- "text": "Mulesing-free wool, spun and dyed within 40 miles of the farm.",
15
- "linkLabel": "About our wool",
16
- "href": "/pages/wool"
17
+ "title": "Ceramics",
18
+ "text": "Mugs, bowls, vases",
19
+ "href": "/categories/home/ceramics"
17
20
  },
18
21
  {
19
22
  "image": {
20
23
  "assetId": "demo-feature-2",
21
- "url": "/demo/feature-2.svg",
22
- "altText": "Oregon clay on the wheel",
23
- "width": 800,
24
- "height": 600
24
+ "url": "/images/yarn-tools.webp",
25
+ "altText": "Yarn and knitting needles on a table",
26
+ "width": 1400,
27
+ "height": 933
25
28
  },
26
- "title": "Clay from Oregon",
27
- "text": "Thrown and fired in our Portland studio, lead-free glazes only.",
28
- "linkLabel": "About our clay",
29
- "href": "/pages/clay"
29
+ "title": "Knitwear",
30
+ "text": "Sweaters, throws and yarn",
31
+ "href": "/categories/knitwear"
30
32
  },
31
33
  {
32
34
  "image": {
33
35
  "assetId": "demo-feature-3",
34
- "url": "/demo/feature-3.svg",
35
- "altText": "Oak offcuts on a bench",
36
- "width": 800,
37
- "height": 600
36
+ "url": "/images/enamel-cups.webp",
37
+ "altText": "Enamel cups on a table",
38
+ "width": 1400,
39
+ "height": 933
38
40
  },
39
- "title": "Oak from Vermont",
40
- "text": "Offcuts from a furniture maker become boards, spoons and trivets.",
41
- "linkLabel": "About our oak",
42
- "href": "/pages/oak"
41
+ "title": "Tableware",
42
+ "text": "Cups, plates and platters",
43
+ "href": "/collections/the-winter-edit"
44
+ },
45
+ {
46
+ "image": {
47
+ "assetId": "demo-feature-4",
48
+ "url": "/images/reading.webp",
49
+ "altText": "A reader under a knitted throw",
50
+ "width": 1400,
51
+ "height": 933
52
+ },
53
+ "title": "Home",
54
+ "text": "Throws and cushions",
55
+ "href": "/categories/home"
56
+ },
57
+ {
58
+ "image": {
59
+ "assetId": "demo-feature-5",
60
+ "url": "/images/kitchen.webp",
61
+ "altText": "A laid kitchen table",
62
+ "width": 1400,
63
+ "height": 840
64
+ },
65
+ "title": "Kitchen",
66
+ "text": "Boards, jars and linen",
67
+ "href": "/categories/home/kitchen"
43
68
  }
44
69
  ]
45
70
  }