@mccaskie-labs/workbench-site 0.15.2 → 0.16.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/CHANGELOG.md +12 -0
- package/dist/frames.js +3 -3
- package/dist/hero-starts.d.ts +40 -0
- package/dist/hero-starts.js +986 -0
- package/dist/hero-styles.d.ts +473 -0
- package/dist/hero-styles.js +173 -0
- package/dist/hero.d.ts +220 -0
- package/dist/hero.js +173 -0
- package/dist/html.d.ts +6 -0
- package/dist/html.js +8 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/samples.js +15 -0
- package/dist/sections.d.ts +3 -0
- package/dist/sections.js +7 -4
- package/dist/styles.d.ts +14 -0
- package/dist/styles.js +5 -1
- package/package.json +1 -1
|
@@ -0,0 +1,986 @@
|
|
|
1
|
+
/** The starter groups, in the New project gallery's order. */
|
|
2
|
+
export const HERO_GROUPS = ["Health, beauty and fitness", "Trades and home", "Food and stays", "Venues, hire and tours", "Community", "Learning and kids", "Professional and creative", "General"];
|
|
3
|
+
export const HERO_STARTS = [
|
|
4
|
+
{
|
|
5
|
+
"id": "yoga",
|
|
6
|
+
"name": "Full picture, words low",
|
|
7
|
+
"design": "full-screen",
|
|
8
|
+
"site": "yoga",
|
|
9
|
+
"title": "Yoga studio",
|
|
10
|
+
"group": "Health, beauty and fitness",
|
|
11
|
+
"settings": {
|
|
12
|
+
"design": "full-screen",
|
|
13
|
+
"motion": "slow-zoom"
|
|
14
|
+
},
|
|
15
|
+
"words": {
|
|
16
|
+
"eyebrow": "Fremantle · Since 2014",
|
|
17
|
+
"heading": "Breathe out. The tide will wait.",
|
|
18
|
+
"actions": [
|
|
19
|
+
{
|
|
20
|
+
"label": "See this week's classes",
|
|
21
|
+
"href": "/book"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"label": "First time here?",
|
|
25
|
+
"href": "/about"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"photos": [
|
|
30
|
+
"y1"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "electrician",
|
|
35
|
+
"name": "Split with trust line",
|
|
36
|
+
"design": "split",
|
|
37
|
+
"site": "electrician",
|
|
38
|
+
"title": "Electrician",
|
|
39
|
+
"group": "Trades and home",
|
|
40
|
+
"settings": {
|
|
41
|
+
"design": "split",
|
|
42
|
+
"side": "right"
|
|
43
|
+
},
|
|
44
|
+
"words": {
|
|
45
|
+
"eyebrow": "Licensed electricians · REC 28417",
|
|
46
|
+
"heading": "Wired right the first time",
|
|
47
|
+
"lead": "Switchboards, lighting, EV chargers and fault finding for homes and small businesses. Fixed prices before we start, and we clean up after.",
|
|
48
|
+
"actions": [
|
|
49
|
+
{
|
|
50
|
+
"label": "Get a free quote",
|
|
51
|
+
"href": "/book"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"label": "Call 0400 555 019",
|
|
55
|
+
"href": "/about"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"photos": [
|
|
60
|
+
"e2"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "cafe",
|
|
65
|
+
"name": "Big words, picture running down",
|
|
66
|
+
"design": "overlap",
|
|
67
|
+
"site": "cafe",
|
|
68
|
+
"title": "Cafe",
|
|
69
|
+
"group": "Food and stays",
|
|
70
|
+
"settings": {
|
|
71
|
+
"design": "overlap"
|
|
72
|
+
},
|
|
73
|
+
"words": {
|
|
74
|
+
"heading": "Good coffee, slowly made.",
|
|
75
|
+
"lead": "A neighbourhood espresso bar in a Brunswick laneway. Seasonal single origins, bread from down the road, and eggs any way you like them.",
|
|
76
|
+
"actions": [
|
|
77
|
+
{
|
|
78
|
+
"label": "Order ahead",
|
|
79
|
+
"href": "/book"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"label": "See the menu",
|
|
83
|
+
"href": "/about"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"photos": [
|
|
88
|
+
"c3"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "kayak-hire",
|
|
93
|
+
"name": "Booking card over the water",
|
|
94
|
+
"design": "card-over",
|
|
95
|
+
"site": "kayak-hire",
|
|
96
|
+
"title": "Kayak hire",
|
|
97
|
+
"group": "Venues, hire and tours",
|
|
98
|
+
"tool": "bookings",
|
|
99
|
+
"settings": {
|
|
100
|
+
"design": "card-over"
|
|
101
|
+
},
|
|
102
|
+
"words": {
|
|
103
|
+
"eyebrow": "Noosa River · Open 7 days",
|
|
104
|
+
"heading": "Kayaks and paddleboards, right on the water"
|
|
105
|
+
},
|
|
106
|
+
"photos": [
|
|
107
|
+
"k1"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "salon",
|
|
112
|
+
"name": "Magazine split, tall photo",
|
|
113
|
+
"design": "split",
|
|
114
|
+
"site": "salon",
|
|
115
|
+
"title": "Hair salon",
|
|
116
|
+
"group": "Health, beauty and fitness",
|
|
117
|
+
"settings": {
|
|
118
|
+
"design": "split",
|
|
119
|
+
"side": "left",
|
|
120
|
+
"split": "words"
|
|
121
|
+
},
|
|
122
|
+
"words": {
|
|
123
|
+
"eyebrow": "Hair studio · Surry Hills",
|
|
124
|
+
"heading": "Hair that fits your life, not just the photo.",
|
|
125
|
+
"lead": "Cuts, colour and blow-dries by stylists who ask how you actually wear your hair. Every appointment starts with a free consult.",
|
|
126
|
+
"actions": [
|
|
127
|
+
{
|
|
128
|
+
"label": "Book online",
|
|
129
|
+
"href": "/book"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"label": "See prices",
|
|
133
|
+
"href": "/about"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"photos": [
|
|
138
|
+
"s2"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "dog-grooming",
|
|
143
|
+
"name": "Soft-edged photo",
|
|
144
|
+
"design": "shaped",
|
|
145
|
+
"site": "dog-grooming",
|
|
146
|
+
"title": "Dog grooming",
|
|
147
|
+
"group": "Community",
|
|
148
|
+
"settings": {
|
|
149
|
+
"design": "shaped",
|
|
150
|
+
"shape": "soft"
|
|
151
|
+
},
|
|
152
|
+
"words": {
|
|
153
|
+
"eyebrow": "Dog grooming · Canberra",
|
|
154
|
+
"heading": "Fresh, fluffy and home by lunch.",
|
|
155
|
+
"lead": "Calm, unhurried grooms for every breed and every nervous pup. One dog at a time, never caged, always cuddled.",
|
|
156
|
+
"actions": [
|
|
157
|
+
{
|
|
158
|
+
"label": "Book a groom",
|
|
159
|
+
"href": "/book"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"label": "See packages",
|
|
163
|
+
"href": "/about"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"photos": [
|
|
168
|
+
"d2"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "myotherapy",
|
|
173
|
+
"name": "Calm words, no picture",
|
|
174
|
+
"design": "words-only",
|
|
175
|
+
"site": "myotherapy",
|
|
176
|
+
"title": "Myotherapy clinic",
|
|
177
|
+
"group": "Health, beauty and fitness",
|
|
178
|
+
"settings": {
|
|
179
|
+
"design": "words-only",
|
|
180
|
+
"place": "middle-left",
|
|
181
|
+
"height": "medium"
|
|
182
|
+
},
|
|
183
|
+
"words": {
|
|
184
|
+
"heading": "Move without the ache in the way",
|
|
185
|
+
"lead": "Hands-on treatment for back, neck and sports pain, with a plan you can follow at home. Remedial massage, dry needling and exercise rehab in Hawthorn.",
|
|
186
|
+
"actions": [
|
|
187
|
+
{
|
|
188
|
+
"label": "Book your first visit",
|
|
189
|
+
"href": "/book"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"label": "What to expect",
|
|
193
|
+
"href": "/about"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"photos": []
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "venue",
|
|
201
|
+
"name": "Gig poster",
|
|
202
|
+
"design": "big-words",
|
|
203
|
+
"site": "venue",
|
|
204
|
+
"title": "Live music venue",
|
|
205
|
+
"group": "Venues, hire and tours",
|
|
206
|
+
"settings": {
|
|
207
|
+
"design": "big-words",
|
|
208
|
+
"shadeColour": "dark"
|
|
209
|
+
},
|
|
210
|
+
"words": {
|
|
211
|
+
"heading": "Loud nights in Newcastle",
|
|
212
|
+
"actions": [
|
|
213
|
+
{
|
|
214
|
+
"label": "See what's on",
|
|
215
|
+
"href": "/book"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"label": "Hire the room",
|
|
219
|
+
"href": "/about"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"photos": [
|
|
224
|
+
"v3"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "island-tours",
|
|
229
|
+
"name": "Wide aerial banner",
|
|
230
|
+
"design": "banner",
|
|
231
|
+
"site": "island-tours",
|
|
232
|
+
"title": "Island tours",
|
|
233
|
+
"group": "Venues, hire and tours",
|
|
234
|
+
"settings": {
|
|
235
|
+
"design": "banner",
|
|
236
|
+
"height": "medium",
|
|
237
|
+
"place": "bottom-left",
|
|
238
|
+
"shadeFrom": "bottom"
|
|
239
|
+
},
|
|
240
|
+
"words": {
|
|
241
|
+
"eyebrow": "El Nido, Palawan",
|
|
242
|
+
"heading": "Lagoons, limestone and a long lunch on the sand"
|
|
243
|
+
},
|
|
244
|
+
"photos": [
|
|
245
|
+
"t1"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "florist",
|
|
250
|
+
"name": "Three-photo shop window",
|
|
251
|
+
"design": "collage",
|
|
252
|
+
"site": "florist",
|
|
253
|
+
"title": "Florist",
|
|
254
|
+
"group": "Food and stays",
|
|
255
|
+
"settings": {
|
|
256
|
+
"design": "collage"
|
|
257
|
+
},
|
|
258
|
+
"words": {
|
|
259
|
+
"eyebrow": "Florist · North Hobart",
|
|
260
|
+
"heading": "Flowers picked this morning, at your door this afternoon.",
|
|
261
|
+
"lead": "Seasonal bunches from Tasmanian growers, wrapped in paper and delivered by hand. No foam, no plastic.",
|
|
262
|
+
"actions": [
|
|
263
|
+
{
|
|
264
|
+
"label": "Shop today's flowers",
|
|
265
|
+
"href": "/book"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"label": "Weekly flowers",
|
|
269
|
+
"href": "/about"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"notice": {
|
|
273
|
+
"text": "Order by 1 pm for delivery this afternoon."
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"photos": [
|
|
277
|
+
"f2",
|
|
278
|
+
"f5",
|
|
279
|
+
"f3"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "hiking",
|
|
284
|
+
"name": "Trip finder beside a tall photo",
|
|
285
|
+
"design": "search-first",
|
|
286
|
+
"site": "hiking",
|
|
287
|
+
"title": "Hiking and backpacking",
|
|
288
|
+
"group": "Venues, hire and tours",
|
|
289
|
+
"tool": "directory",
|
|
290
|
+
"settings": {
|
|
291
|
+
"design": "search-first"
|
|
292
|
+
},
|
|
293
|
+
"words": {
|
|
294
|
+
"eyebrow": "Guided treks · small groups of eight",
|
|
295
|
+
"heading": "Walk further than you think you can",
|
|
296
|
+
"lead": "Two to seven days on foot with a guide who knows the way, the weather and where the water is. We carry the stove; you carry the views."
|
|
297
|
+
},
|
|
298
|
+
"photos": [
|
|
299
|
+
"hk1"
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "storm-prep",
|
|
304
|
+
"name": "Warning strip and current advice",
|
|
305
|
+
"design": "split",
|
|
306
|
+
"site": "storm-prep",
|
|
307
|
+
"title": "Storm and flood preparation",
|
|
308
|
+
"group": "Community",
|
|
309
|
+
"settings": {
|
|
310
|
+
"design": "split",
|
|
311
|
+
"side": "right"
|
|
312
|
+
},
|
|
313
|
+
"words": {
|
|
314
|
+
"eyebrow": "Neighbours helping neighbours",
|
|
315
|
+
"heading": "Ready before the water rises",
|
|
316
|
+
"actions": [
|
|
317
|
+
{
|
|
318
|
+
"label": "Make a family plan",
|
|
319
|
+
"href": "/book"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"label": "Get text alerts",
|
|
323
|
+
"href": "/about"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"notice": {
|
|
327
|
+
"text": "Amber warning: heavy rain expected from Thursday.",
|
|
328
|
+
"link": {
|
|
329
|
+
"label": "What to do now",
|
|
330
|
+
"href": "/advice"
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"photos": [
|
|
335
|
+
"rt1"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"id": "magazine",
|
|
340
|
+
"name": "Front page lead story",
|
|
341
|
+
"design": "split",
|
|
342
|
+
"site": "magazine",
|
|
343
|
+
"title": "Magazine",
|
|
344
|
+
"group": "Professional and creative",
|
|
345
|
+
"settings": {
|
|
346
|
+
"design": "split",
|
|
347
|
+
"side": "left",
|
|
348
|
+
"split": "picture"
|
|
349
|
+
},
|
|
350
|
+
"words": {
|
|
351
|
+
"heading": "Nine hundred kilometres of coast, and no plan at all",
|
|
352
|
+
"lead": "We gave a writer a car, a tank of fuel and one rule: turn toward the sea whenever the road allows."
|
|
353
|
+
},
|
|
354
|
+
"photos": [
|
|
355
|
+
"lw1"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"id": "rentals",
|
|
360
|
+
"name": "Search comes first",
|
|
361
|
+
"design": "search-first",
|
|
362
|
+
"site": "rentals",
|
|
363
|
+
"title": "Rental homes",
|
|
364
|
+
"group": "General",
|
|
365
|
+
"tool": "directory",
|
|
366
|
+
"settings": {
|
|
367
|
+
"design": "search-first",
|
|
368
|
+
"side": "right"
|
|
369
|
+
},
|
|
370
|
+
"words": {
|
|
371
|
+
"heading": "Find a place that feels like yours",
|
|
372
|
+
"lead": "214 homes to rent right now, every one inspected by us. Book a viewing in two taps."
|
|
373
|
+
},
|
|
374
|
+
"photos": [
|
|
375
|
+
"kr1"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"id": "advice",
|
|
380
|
+
"name": "A letter beside a portrait",
|
|
381
|
+
"design": "feature-card",
|
|
382
|
+
"site": "advice",
|
|
383
|
+
"title": "Advice for young people",
|
|
384
|
+
"group": "Community",
|
|
385
|
+
"tool": "forms",
|
|
386
|
+
"settings": {
|
|
387
|
+
"design": "feature-card",
|
|
388
|
+
"side": "right"
|
|
389
|
+
},
|
|
390
|
+
"words": {
|
|
391
|
+
"heading": "“My best friend has a new group and I feel left out. Do I say something?”"
|
|
392
|
+
},
|
|
393
|
+
"photos": [
|
|
394
|
+
"aj1"
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"id": "trial-exams",
|
|
399
|
+
"name": "Sample question over the photo",
|
|
400
|
+
"design": "card-over",
|
|
401
|
+
"site": "trial-exams",
|
|
402
|
+
"title": "Trial exams",
|
|
403
|
+
"group": "Learning and kids",
|
|
404
|
+
"tool": "forms",
|
|
405
|
+
"settings": {
|
|
406
|
+
"design": "card-over",
|
|
407
|
+
"width": "page"
|
|
408
|
+
},
|
|
409
|
+
"words": {
|
|
410
|
+
"eyebrow": "Trial exams for final-year students",
|
|
411
|
+
"heading": "Sit it here first, then sit it for real",
|
|
412
|
+
"lead": "Full trial exams under real exam conditions, marked by working teachers within 48 hours, with notes on exactly where the marks went.",
|
|
413
|
+
"actions": [
|
|
414
|
+
{
|
|
415
|
+
"label": "Book a trial exam",
|
|
416
|
+
"href": "/book"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"label": "Try a free paper",
|
|
420
|
+
"href": "/about"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
"photos": [
|
|
425
|
+
"ex1"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"id": "venue-hire",
|
|
430
|
+
"name": "Arched photo",
|
|
431
|
+
"design": "shaped",
|
|
432
|
+
"site": "venue-hire",
|
|
433
|
+
"title": "Venue hire",
|
|
434
|
+
"group": "Venues, hire and tours",
|
|
435
|
+
"settings": {
|
|
436
|
+
"design": "shaped",
|
|
437
|
+
"shape": "arch"
|
|
438
|
+
},
|
|
439
|
+
"words": {
|
|
440
|
+
"eyebrow": "Weddings, dinners and celebrations",
|
|
441
|
+
"heading": "A room made of light and leaves",
|
|
442
|
+
"lead": "A restored glass conservatory and its walled garden, for up to 180 guests. Bring your own caterer or use ours; the room does the decorating.",
|
|
443
|
+
"actions": [
|
|
444
|
+
{
|
|
445
|
+
"label": "Check a date",
|
|
446
|
+
"href": "/book"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"label": "Book a tour",
|
|
450
|
+
"href": "/about"
|
|
451
|
+
}
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"photos": [
|
|
455
|
+
"gh4"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"id": "fan-club",
|
|
460
|
+
"name": "Zine front",
|
|
461
|
+
"design": "big-words",
|
|
462
|
+
"site": "fan-club",
|
|
463
|
+
"title": "Fan club",
|
|
464
|
+
"group": "Community",
|
|
465
|
+
"settings": {
|
|
466
|
+
"design": "big-words",
|
|
467
|
+
"place": "middle-left",
|
|
468
|
+
"shadeColour": "brand"
|
|
469
|
+
},
|
|
470
|
+
"words": {
|
|
471
|
+
"heading": "Static Bloom, live",
|
|
472
|
+
"lead": "News, set lists, meet-ups and pre-sale codes for the band we can't stop playing. 12,400 members and counting.",
|
|
473
|
+
"actions": [
|
|
474
|
+
{
|
|
475
|
+
"label": "Join the club, free",
|
|
476
|
+
"href": "/book"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"label": "See tour dates",
|
|
480
|
+
"href": "/about"
|
|
481
|
+
}
|
|
482
|
+
]
|
|
483
|
+
},
|
|
484
|
+
"photos": [
|
|
485
|
+
"sb2"
|
|
486
|
+
]
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"id": "motorcycle-club",
|
|
490
|
+
"name": "Slanted photo, dark",
|
|
491
|
+
"design": "shaped",
|
|
492
|
+
"site": "motorcycle-club",
|
|
493
|
+
"title": "Motorcycle club",
|
|
494
|
+
"group": "Community",
|
|
495
|
+
"settings": {
|
|
496
|
+
"design": "shaped",
|
|
497
|
+
"shape": "slant",
|
|
498
|
+
"side": "right"
|
|
499
|
+
},
|
|
500
|
+
"words": {
|
|
501
|
+
"eyebrow": "Social riding club · every bike welcome",
|
|
502
|
+
"heading": "Two wheels. One road. Every Sunday.",
|
|
503
|
+
"lead": "Group rides at a pace nobody gets left behind on, a coffee stop every 100 km, and a tail rider so you never ride alone.",
|
|
504
|
+
"actions": [
|
|
505
|
+
{
|
|
506
|
+
"label": "Come on a ride",
|
|
507
|
+
"href": "/book"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"label": "See the routes",
|
|
511
|
+
"href": "/about"
|
|
512
|
+
}
|
|
513
|
+
]
|
|
514
|
+
},
|
|
515
|
+
"photos": [
|
|
516
|
+
"tt1"
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"id": "cinema",
|
|
521
|
+
"name": "Tonight's film",
|
|
522
|
+
"design": "split",
|
|
523
|
+
"site": "cinema",
|
|
524
|
+
"title": "Cinema guide",
|
|
525
|
+
"group": "Venues, hire and tours",
|
|
526
|
+
"settings": {
|
|
527
|
+
"design": "split",
|
|
528
|
+
"side": "right",
|
|
529
|
+
"split": "picture"
|
|
530
|
+
},
|
|
531
|
+
"words": {
|
|
532
|
+
"eyebrow": "Tonight on screen one",
|
|
533
|
+
"heading": "The Lantern Keeper",
|
|
534
|
+
"lead": "A lighthouse keeper on a remote island finds a radio that picks up voices from forty years ago. Two hours, ten minutes, and the best sound in town.",
|
|
535
|
+
"actions": [
|
|
536
|
+
{
|
|
537
|
+
"label": "Book 7:30 pm",
|
|
538
|
+
"href": "/book"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"label": "Watch the trailer",
|
|
542
|
+
"href": "/about"
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
"photos": [
|
|
547
|
+
"ph3"
|
|
548
|
+
]
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "dive-shop",
|
|
552
|
+
"name": "Wide banner, words low",
|
|
553
|
+
"design": "banner",
|
|
554
|
+
"site": "dive-shop",
|
|
555
|
+
"title": "Dive shop",
|
|
556
|
+
"group": "Venues, hire and tours",
|
|
557
|
+
"settings": {
|
|
558
|
+
"design": "banner",
|
|
559
|
+
"height": "tall",
|
|
560
|
+
"place": "bottom-left",
|
|
561
|
+
"shadeFrom": "bottom",
|
|
562
|
+
"shadeColour": "dark"
|
|
563
|
+
},
|
|
564
|
+
"words": {
|
|
565
|
+
"eyebrow": "Dive centre and school",
|
|
566
|
+
"heading": "The reef is twelve minutes from the jetty",
|
|
567
|
+
"lead": "Two boats a day to fourteen sites, small groups of six, and instructors who have dived these walls a thousand times. First time under? Start with a try dive.",
|
|
568
|
+
"actions": [
|
|
569
|
+
{
|
|
570
|
+
"label": "Book a dive",
|
|
571
|
+
"href": "/book"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"label": "Try diving, $120",
|
|
575
|
+
"href": "/about"
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
"photos": [
|
|
580
|
+
"bd1"
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "bakery",
|
|
585
|
+
"name": "Stack of tilted photos",
|
|
586
|
+
"design": "collage",
|
|
587
|
+
"site": "bakery",
|
|
588
|
+
"title": "Bakery",
|
|
589
|
+
"group": "Food and stays",
|
|
590
|
+
"settings": {
|
|
591
|
+
"design": "collage",
|
|
592
|
+
"side": "right"
|
|
593
|
+
},
|
|
594
|
+
"words": {
|
|
595
|
+
"eyebrow": "Sourdough and pastry since 2012",
|
|
596
|
+
"heading": "Baked before you woke up",
|
|
597
|
+
"lead": "Long-fermented bread, laminated pastry and one cake a day, all from one oven on a quiet corner. Order by 8 pm for the morning."
|
|
598
|
+
},
|
|
599
|
+
"photos": [
|
|
600
|
+
"rb1",
|
|
601
|
+
"rb4",
|
|
602
|
+
"rb2"
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"id": "surf-school",
|
|
607
|
+
"name": "Huge type over the surf",
|
|
608
|
+
"design": "big-words",
|
|
609
|
+
"site": "surf-school",
|
|
610
|
+
"title": "Surf school",
|
|
611
|
+
"group": "Health, beauty and fitness",
|
|
612
|
+
"settings": {
|
|
613
|
+
"design": "big-words",
|
|
614
|
+
"place": "middle-left",
|
|
615
|
+
"shadeFrom": "side",
|
|
616
|
+
"motion": "words-rise"
|
|
617
|
+
},
|
|
618
|
+
"words": {
|
|
619
|
+
"eyebrow": "Lessons for every level, every day",
|
|
620
|
+
"heading": "Stand up on your first wave",
|
|
621
|
+
"lead": "Two-hour lessons on a gentle beach break, soft boards and wetsuits included, and an instructor for every four surfers. Most people stand up in the first lesson.",
|
|
622
|
+
"actions": [
|
|
623
|
+
{
|
|
624
|
+
"label": "Book a lesson, $75",
|
|
625
|
+
"href": "/book"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"label": "Today's surf report",
|
|
629
|
+
"href": "/about"
|
|
630
|
+
}
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
"photos": [
|
|
634
|
+
"sw1"
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"id": "online-courses",
|
|
639
|
+
"name": "Course player beside the words",
|
|
640
|
+
"design": "feature-card",
|
|
641
|
+
"site": "online-courses",
|
|
642
|
+
"title": "Online courses",
|
|
643
|
+
"group": "Learning and kids",
|
|
644
|
+
"settings": {
|
|
645
|
+
"design": "feature-card"
|
|
646
|
+
},
|
|
647
|
+
"words": {
|
|
648
|
+
"eyebrow": "Online drawing courses",
|
|
649
|
+
"heading": "Draw a little every day, and see the change in a month",
|
|
650
|
+
"lead": "Short video lessons, ten minutes each, with a prompt to draw after every one. Watch on any screen, draw in any sketchbook.",
|
|
651
|
+
"actions": [
|
|
652
|
+
{
|
|
653
|
+
"label": "Start the first course free",
|
|
654
|
+
"href": "/book"
|
|
655
|
+
}
|
|
656
|
+
]
|
|
657
|
+
},
|
|
658
|
+
"photos": [
|
|
659
|
+
"sk1"
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"id": "wedding-photographer",
|
|
664
|
+
"name": "Quiet portfolio",
|
|
665
|
+
"design": "split",
|
|
666
|
+
"site": "wedding-photographer",
|
|
667
|
+
"title": "Wedding photographer",
|
|
668
|
+
"group": "Professional and creative",
|
|
669
|
+
"settings": {
|
|
670
|
+
"design": "split",
|
|
671
|
+
"side": "right",
|
|
672
|
+
"split": "picture",
|
|
673
|
+
"wordsWidth": "narrow"
|
|
674
|
+
},
|
|
675
|
+
"words": {
|
|
676
|
+
"eyebrow": "Wedding photography",
|
|
677
|
+
"heading": "Your day, as it felt not as it was posed",
|
|
678
|
+
"lead": "I'm Lena. I photograph about twenty weddings a year, quietly, from the first coffee to the last dance, and hand you the whole story within six weeks.",
|
|
679
|
+
"actions": [
|
|
680
|
+
{
|
|
681
|
+
"label": "Check your date",
|
|
682
|
+
"href": "/book"
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
"photos": [
|
|
687
|
+
"go3"
|
|
688
|
+
]
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"id": "animal-rescue",
|
|
692
|
+
"name": "Profile card",
|
|
693
|
+
"design": "feature-card",
|
|
694
|
+
"site": "animal-rescue",
|
|
695
|
+
"title": "Animal rescue",
|
|
696
|
+
"group": "Community",
|
|
697
|
+
"settings": {
|
|
698
|
+
"design": "feature-card"
|
|
699
|
+
},
|
|
700
|
+
"words": {
|
|
701
|
+
"eyebrow": "Run by volunteers, every dog vet checked",
|
|
702
|
+
"heading": "Every one of them is somebody's best friend in waiting",
|
|
703
|
+
"lead": "We take in dogs nobody else has room for, look after them in foster homes, and match them with people who'll keep them for life. 412 found homes last year.",
|
|
704
|
+
"actions": [
|
|
705
|
+
{
|
|
706
|
+
"label": "See who's waiting",
|
|
707
|
+
"href": "/book"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"label": "Become a foster",
|
|
711
|
+
"href": "/about"
|
|
712
|
+
}
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
"photos": [
|
|
716
|
+
"sp3"
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"id": "car-mechanic",
|
|
721
|
+
"name": "Job card beside a tall photo",
|
|
722
|
+
"design": "framed",
|
|
723
|
+
"site": "car-mechanic",
|
|
724
|
+
"title": "Car mechanic",
|
|
725
|
+
"group": "Trades and home",
|
|
726
|
+
"settings": {
|
|
727
|
+
"design": "framed",
|
|
728
|
+
"side": "right"
|
|
729
|
+
},
|
|
730
|
+
"words": {
|
|
731
|
+
"eyebrow": "Independent workshop, all makes",
|
|
732
|
+
"heading": "Fixed right. Priced up front. Back by five.",
|
|
733
|
+
"lead": "Drop it off before 8:30 and we'll text you a photo of anything we find, with a price, before we touch it. Nothing gets done you haven't said yes to.",
|
|
734
|
+
"actions": [
|
|
735
|
+
{
|
|
736
|
+
"label": "Book a service",
|
|
737
|
+
"href": "/book"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"label": "Get a quote",
|
|
741
|
+
"href": "/about"
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
},
|
|
745
|
+
"photos": [
|
|
746
|
+
"tq1"
|
|
747
|
+
]
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"id": "farmstay",
|
|
751
|
+
"name": "Name over a panorama",
|
|
752
|
+
"design": "panorama",
|
|
753
|
+
"site": "farmstay",
|
|
754
|
+
"title": "Farmstay",
|
|
755
|
+
"group": "Food and stays",
|
|
756
|
+
"settings": {
|
|
757
|
+
"design": "panorama"
|
|
758
|
+
},
|
|
759
|
+
"words": {
|
|
760
|
+
"eyebrow": "A working farm, 120 acres, two cottages",
|
|
761
|
+
"heading": "Wake up to the rooster, not the alarm",
|
|
762
|
+
"lead": "Collect the eggs, feed the calves, pick your own breakfast, then do nothing at all on the verandah. Two hours from the city, a world away from it."
|
|
763
|
+
},
|
|
764
|
+
"photos": [
|
|
765
|
+
"wf2"
|
|
766
|
+
]
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"id": "junior-club",
|
|
770
|
+
"name": "Round team photo",
|
|
771
|
+
"design": "shaped",
|
|
772
|
+
"site": "junior-club",
|
|
773
|
+
"title": "Junior sports club",
|
|
774
|
+
"group": "Learning and kids",
|
|
775
|
+
"settings": {
|
|
776
|
+
"design": "shaped",
|
|
777
|
+
"shape": "circle"
|
|
778
|
+
},
|
|
779
|
+
"words": {
|
|
780
|
+
"eyebrow": "Under 6 to under 14, boys and girls",
|
|
781
|
+
"heading": "Next season starts in four weeks",
|
|
782
|
+
"lead": "Every child plays every game, whatever their level. Training once a week, games on Saturday morning, and the canteen does a very good sausage.",
|
|
783
|
+
"actions": [
|
|
784
|
+
{
|
|
785
|
+
"label": "Register a player",
|
|
786
|
+
"href": "/book"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"label": "Come to a free trial",
|
|
790
|
+
"href": "/about"
|
|
791
|
+
}
|
|
792
|
+
]
|
|
793
|
+
},
|
|
794
|
+
"photos": [
|
|
795
|
+
"cj2"
|
|
796
|
+
]
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"id": "farmers-market",
|
|
800
|
+
"name": "Poster with the stalls",
|
|
801
|
+
"design": "framed",
|
|
802
|
+
"site": "farmers-market",
|
|
803
|
+
"title": "Farmers' market",
|
|
804
|
+
"group": "Food and stays",
|
|
805
|
+
"settings": {
|
|
806
|
+
"design": "framed",
|
|
807
|
+
"side": "left"
|
|
808
|
+
},
|
|
809
|
+
"words": {
|
|
810
|
+
"eyebrow": "Growers, bakers and makers",
|
|
811
|
+
"heading": "Straight from the farm gate",
|
|
812
|
+
"lead": "Sixty stalls under the old fig trees in the school grounds. Everyone selling grew it, baked it or made it. Bring a bag and come early for the bread."
|
|
813
|
+
},
|
|
814
|
+
"photos": [
|
|
815
|
+
"sm4"
|
|
816
|
+
]
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"id": "coworking",
|
|
820
|
+
"name": "Day pass over the photo",
|
|
821
|
+
"design": "card-over",
|
|
822
|
+
"site": "coworking",
|
|
823
|
+
"title": "Coworking space",
|
|
824
|
+
"group": "Professional and creative",
|
|
825
|
+
"tool": "bookings",
|
|
826
|
+
"settings": {
|
|
827
|
+
"design": "card-over",
|
|
828
|
+
"place": "bottom-right"
|
|
829
|
+
},
|
|
830
|
+
"words": {
|
|
831
|
+
"eyebrow": "Desks, rooms and good company",
|
|
832
|
+
"heading": "Work near people, not for them",
|
|
833
|
+
"lead": "A bright old warehouse with fast internet, proper chairs, a kitchen that's always stocked and seventy people who also left the spare room. Come for a day and see.",
|
|
834
|
+
"actions": [
|
|
835
|
+
{
|
|
836
|
+
"label": "Try a free day",
|
|
837
|
+
"href": "/book"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"label": "Book a tour",
|
|
841
|
+
"href": "/about"
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
"photos": [
|
|
846
|
+
"cd1"
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"id": "theatre",
|
|
851
|
+
"name": "Playbill",
|
|
852
|
+
"design": "big-words",
|
|
853
|
+
"site": "theatre",
|
|
854
|
+
"title": "Community theatre",
|
|
855
|
+
"group": "Community",
|
|
856
|
+
"settings": {
|
|
857
|
+
"design": "big-words",
|
|
858
|
+
"place": "middle-centre",
|
|
859
|
+
"shade": "strong",
|
|
860
|
+
"shadeFrom": "even"
|
|
861
|
+
},
|
|
862
|
+
"words": {
|
|
863
|
+
"eyebrow": "A new comedy in three acts",
|
|
864
|
+
"heading": "The Lighthouse Keeper's Daughter",
|
|
865
|
+
"lead": "A storm, a stranded ferry and eleven guests who all have something to hide. Written by one of our own members and played by a cast of fourteen.",
|
|
866
|
+
"actions": [
|
|
867
|
+
{
|
|
868
|
+
"label": "Pick your seats",
|
|
869
|
+
"href": "/book"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"label": "Watch the trailer",
|
|
873
|
+
"href": "/about"
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"photos": [
|
|
878
|
+
"lp1"
|
|
879
|
+
]
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"id": "catering",
|
|
883
|
+
"name": "Menu card over the photo",
|
|
884
|
+
"design": "card-over",
|
|
885
|
+
"site": "catering",
|
|
886
|
+
"title": "Catering",
|
|
887
|
+
"group": "Food and stays",
|
|
888
|
+
"tool": "forms",
|
|
889
|
+
"settings": {
|
|
890
|
+
"design": "card-over"
|
|
891
|
+
},
|
|
892
|
+
"words": {
|
|
893
|
+
"eyebrow": "Weddings, birthdays and work events",
|
|
894
|
+
"heading": "Food people still talk about on Monday",
|
|
895
|
+
"lead": "Seasonal menus cooked on the day, served by our own staff, for twenty guests or three hundred. Tell us the date and the numbers and we'll send a quote tonight.",
|
|
896
|
+
"actions": [
|
|
897
|
+
{
|
|
898
|
+
"label": "Get a quote",
|
|
899
|
+
"href": "/book"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"label": "See the menus",
|
|
903
|
+
"href": "/about"
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
"photos": [
|
|
908
|
+
"lt1"
|
|
909
|
+
]
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"id": "community-hall",
|
|
913
|
+
"name": "Framed photo beside the call",
|
|
914
|
+
"design": "framed",
|
|
915
|
+
"site": "community-hall",
|
|
916
|
+
"title": "Community hall",
|
|
917
|
+
"group": "Venues, hire and tours",
|
|
918
|
+
"settings": {
|
|
919
|
+
"design": "framed",
|
|
920
|
+
"side": "right"
|
|
921
|
+
},
|
|
922
|
+
"words": {
|
|
923
|
+
"eyebrow": "The neighbourhood's hall since 1928",
|
|
924
|
+
"heading": "Room for your party, your class or your cause",
|
|
925
|
+
"lead": "A main hall for 150, two smaller rooms, a full kitchen and a stage. Run by volunteers and priced so local groups can afford it.",
|
|
926
|
+
"actions": [
|
|
927
|
+
{
|
|
928
|
+
"label": "Check a date",
|
|
929
|
+
"href": "/book"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"label": "See what's on",
|
|
933
|
+
"href": "/about"
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"photos": [
|
|
938
|
+
"bh1"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"id": "music-school",
|
|
943
|
+
"name": "Big words, picture running down",
|
|
944
|
+
"design": "overlap",
|
|
945
|
+
"site": "music-school",
|
|
946
|
+
"title": "Music school",
|
|
947
|
+
"group": "Learning and kids",
|
|
948
|
+
"settings": {
|
|
949
|
+
"design": "overlap",
|
|
950
|
+
"side": "left"
|
|
951
|
+
},
|
|
952
|
+
"words": {
|
|
953
|
+
"eyebrow": "Ages 5 to 95, every level",
|
|
954
|
+
"heading": "Learn the music you want to play",
|
|
955
|
+
"lead": "One-to-one lessons in piano, guitar, voice, violin, drums, ukulele and saxophone, after school and on Saturdays. The first lesson is free, so you can meet your teacher.",
|
|
956
|
+
"actions": [
|
|
957
|
+
{
|
|
958
|
+
"label": "Book a free trial",
|
|
959
|
+
"href": "/book"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"label": "See lesson times",
|
|
963
|
+
"href": "/about"
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
},
|
|
967
|
+
"photos": [
|
|
968
|
+
"km1"
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
];
|
|
972
|
+
/** The starting points with the given starter group's first, then the rest, each in sample order. */
|
|
973
|
+
export function heroStartsFor(group) {
|
|
974
|
+
if (!group)
|
|
975
|
+
return HERO_STARTS;
|
|
976
|
+
return [...HERO_STARTS.filter((s) => s.group === group), ...HERO_STARTS.filter((s) => s.group !== group)];
|
|
977
|
+
}
|
|
978
|
+
export const heroStart = (id) => HERO_STARTS.find((s) => s.id === id);
|
|
979
|
+
/** Sample forms for the slot, for previews before a tool draws its own. Plain elements only. */
|
|
980
|
+
export const HERO_SAMPLE_SLOTS = {
|
|
981
|
+
bookings: '<form method="get" action="/book"><p><label>Date <input type="date" name="date"></label> <label>People <input type="number" name="people" min="1" value="2"></label></p><p><button class="wb-site-button" type="submit">Find times</button></p></form>',
|
|
982
|
+
directory: '<form method="get" action="/search"><p><label>Where <input type="search" name="q" placeholder="Suburb or town"></label></p><p><button class="wb-site-button" type="submit">Search</button></p></form>',
|
|
983
|
+
places: '<form method="get" action="/covered"><p><label>Your address <input type="text" name="address"></label></p><p><button class="wb-site-button" type="submit">Is it covered?</button></p></form>',
|
|
984
|
+
mailing: '<form method="post" action="/join"><p><label>Email <input type="email" name="email"></label></p><p><button class="wb-site-button" type="submit">Sign up</button></p></form>',
|
|
985
|
+
forms: '<form method="post" action="/ask"><p><label>Your question <input type="text" name="question"></label></p><p><button class="wb-site-button" type="submit">Ask</button></p></form>',
|
|
986
|
+
};
|