@dcodegroup-au/page-builder 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 (71) hide show
  1. package/dist/page-builder.css +2 -2
  2. package/dist/page-builder.es.js +33346 -11815
  3. package/dist/page-builder.umd.js +59 -59
  4. package/example/src/App.vue +40 -679
  5. package/example/src/main.js +2 -1
  6. package/example/src/pages/BestLife.js +351 -0
  7. package/example/src/pages/Home.js +677 -0
  8. package/package.json +1 -1
  9. package/src/assets/icons.json +3569 -0
  10. package/src/components/ItemEdit.vue +147 -71
  11. package/src/components/LinkCardEdit.vue +139 -0
  12. package/src/components/PageBuilder.vue +43 -10
  13. package/src/components/PageRender.vue +12 -0
  14. package/src/components/builders/CollectionCarousel.vue +62 -0
  15. package/src/components/builders/Header.vue +82 -0
  16. package/src/components/builders/ImageBlock.vue +56 -0
  17. package/src/components/builders/Items.vue +112 -0
  18. package/src/components/builders/Links.vue +123 -0
  19. package/src/components/builders/Logos.vue +122 -0
  20. package/src/components/builders/NewsGrid.vue +59 -0
  21. package/src/components/builders/Paragraph.vue +93 -0
  22. package/src/components/builders/VideoGrid.vue +101 -0
  23. package/src/components/common/Button.vue +53 -0
  24. package/src/components/common/Card.vue +5 -1
  25. package/src/components/common/FileUpload.vue +1 -1
  26. package/src/components/common/Icon.vue +41 -0
  27. package/src/components/common/IconSelector.vue +106 -0
  28. package/src/components/common/LinkedTo.vue +9 -3
  29. package/src/components/helpers/bundleIcons.js +1189 -0
  30. package/src/components/index.js +2 -1
  31. package/src/components/presenters/components/{VCarouselPresenter.vue → CarouselPresenter.vue} +8 -18
  32. package/src/components/presenters/components/{VCollectionGridPresenter.vue → CollectionGridPresenter.vue} +0 -5
  33. package/src/components/presenters/modules/CollectionCarousel.vue +2 -2
  34. package/src/components/presenters/modules/CollectionGrid.vue +2 -2
  35. package/src/components/presenters/modules/HeroHeader.vue +3 -3
  36. package/src/components/presenters/modules/LinkCard.vue +55 -0
  37. package/src/components/presenters/modules/LinkList.vue +51 -0
  38. package/src/components/presenters/modules/LogoCloud.vue +1 -1
  39. package/src/components/presenters/modules/Paragraph.vue +26 -0
  40. package/src/components/presenters/modules/QuickLinks.vue +2 -2
  41. package/src/components/presenters/modules/StandardHeader.vue +32 -0
  42. package/src/components/presenters/modules/Timeline.vue +55 -0
  43. package/src/components/presenters/modules/TwoColumnsImageContent.vue +36 -0
  44. package/src/components/presenters/modules/VTabs.vue +2 -2
  45. package/src/components/presenters/overridables/VCarouselPrimaryButton.vue +28 -0
  46. package/src/utils/generateIconBundle.js +33 -0
  47. package/src/utils/generateIconJson.js +30 -0
  48. package/tailwind.config.js +5 -0
  49. package/src/components/builders/BaseModuleForm.vue +0 -86
  50. package/src/components/builders/LogoBuilder.vue +0 -167
  51. package/src/components/builders/PageBuilderCarousel.vue +0 -18
  52. package/src/components/builders/PageBuilderGrid.vue +0 -18
  53. package/src/components/builders/PageBuilderSectionHeader.vue +0 -30
  54. package/src/components/builders/PageModal.vue +0 -92
  55. package/src/components/builders/VCollectionCarousel.vue +0 -58
  56. package/src/components/builders/VHeader.vue +0 -55
  57. package/src/components/builders/VItems.vue +0 -110
  58. package/src/components/builders/VLinks.vue +0 -121
  59. package/src/components/builders/VLogos.vue +0 -121
  60. package/src/components/builders/VNewsGrid.vue +0 -55
  61. package/src/components/builders/VVideoGrid.vue +0 -99
  62. package/src/components/common/forms/LogosForm.vue +0 -39
  63. package/src/components/common/forms/PageBuilderLinksForm.vue +0 -39
  64. package/src/components/common/forms/SectionHeaderForm.vue +0 -45
  65. package/src/components/common/forms/TabForm.vue +0 -90
  66. /package/src/components/common/{VModal.vue → Modal.vue} +0 -0
  67. /package/src/components/common/{VToggle.vue → Toggle.vue} +0 -0
  68. /package/src/components/presenters/components/{VHeaderPresenter.vue → HeaderPresenter.vue} +0 -0
  69. /package/src/components/presenters/components/{VLinkPresenter.vue → LinkPresenter.vue} +0 -0
  70. /package/src/components/presenters/components/{VSliderPresenter.vue → SliderPresenter.vue} +0 -0
  71. /package/src/components/presenters/components/{VVerticalTabPresenter.vue → VerticalTabPresenter.vue} +0 -0
@@ -1,681 +1,6 @@
1
1
  <script setup>
2
- const page = {
3
- id: 1,
4
- title: "Page Builder",
5
- sections: [
6
- {
7
- title: "Hero header",
8
- type: "header",
9
- components: [
10
- {
11
- name: "Sliders",
12
- type: "sliders",
13
- supportive_text: "Manage the slides in the slider.",
14
- max_items: 5,
15
- public: true,
16
- data: [
17
- {
18
- title: "About ELAA",
19
- description: "ELAA is a non-profit peak body championing excellence in Early Childhood Education and Care. They work collaboratively with members, partners, and all levels of government to develop solutions ensuring equity and excellence in our sector.",
20
- public: true,
21
- featured_image: 'https://www.gstatic.com/webp/gallery/1.jpg',
22
- primary_button: {
23
- show: true,
24
- label: 'Join ELAA',
25
- url: 'google.com', // external could be an url
26
- type: 'site-content',
27
- is_new_tab: true,
28
- },
29
- secondary_button: {
30
- show: true,
31
- label: 'Learn about ELAA',
32
- url: 'facebook.com', // external could be an url
33
- type: 'site-content',
34
- open_in_new_tab: true,
35
- },
36
- },
37
- {
38
- title: "Best Life Evening Leadership Series",
39
- description: "ELAA a live keynote address from Professor Joce Nuttall, who has over 40 years of experience as a leader, educator and researcher in early childhood settings ",
40
- public: true,
41
- featured_image: 'https://www.gstatic.com/webp/gallery/2.jpg',
42
- primary_button: {
43
- show: false,
44
- label: 'Apply now ELAA',
45
- url: 'facebook.com', // external could be an url
46
- type: 'site-content',
47
- is_new_tab: true,
48
- },
49
- secondary_button: {
50
- show: true,
51
- label: 'Construct ELAA',
52
- url: 'facebook.com', // external could be an url
53
- type: 'site-content',
54
- open_in_new_tab: true,
55
- },
56
- },
57
- {
58
- title: "Early Childhood Education",
59
- description: "In light of the recent investigations into the Early Childhood Education and Care (ECEC) sector, we want to acknowledge the emotional toll this coverage may have had on members of our community. ",
60
- public: true,
61
- featured_image: 'https://www.gstatic.com/webp/gallery/4.jpg',
62
- primary_button: {
63
- show: true,
64
- label: 'Apply To Dcodegroup',
65
- url: 'facebook.com', // external could be an url
66
- type: 'site-content',
67
- is_new_tab: true,
68
- },
69
- secondary_button: {
70
- show: true,
71
- label: 'Construct Dcodegroup',
72
- url: 'admin', // external could be an url
73
- type: 'site-content',
74
- open_in_new_tab: true,
75
- },
76
- },
77
- {
78
- title: "Image Credits",
79
- description: "The images on this page come from a number of different sources. We have selected some delightful and rich pictures to showcase qualities of WebP.",
80
- public: true,
81
- featured_image: 'https://www.gstatic.com/webp/gallery/5.webp',
82
- primary_button: {
83
- show: true,
84
- label: 'Apply To Image Credits',
85
- url: '/admin', // external could be an url
86
- type: 'site-content',
87
- is_new_tab: true,
88
- },
89
- secondary_button: {
90
- show: true,
91
- label: 'Construct Image Credits',
92
- url: '/admin', // external could be an url
93
- type: 'site-content',
94
- open_in_new_tab: true,
95
- },
96
- },
97
- ]
98
- },
99
- {
100
- name: "Links",
101
- type: "links",
102
- supportive_text: "Manage the links.",
103
- max_items: 7,
104
- data: [
105
- {
106
- title: "Privacy Policy",
107
- url: '/admin', // external could be an url
108
- type: 'site-content',
109
- open_in_new_tab: true,
110
- },
111
- {
112
- title: "Google",
113
- url: 'https://google.com', // external could be an url
114
- type: 'external-page',
115
- open_in_new_tab: true,
116
- }
117
- ]
118
- }
119
- ]
120
- },
121
- {
122
- title: "Logo cloud",
123
- type: "logo",
124
- display: "horizontal",
125
- components: [
126
- {
127
- name: "Section header",
128
- type: "header",
129
- supporting_text: "ELAA is proudly supporting",
130
- },
131
- {
132
- id: 2,
133
- name: "Logos",
134
- type: "logos",
135
- max_items: 7,
136
- height: 'medium',
137
- data: [
138
- {
139
- url: "https://childroadsafety.org.au/",
140
- logo: "https://beta-frontend.elaa.org.au/img/logos/starting_out_safely.png",
141
- },
142
- {
143
- url: "https://carseatssavelives.com.au/",
144
- logo: "https://beta-frontend.elaa.org.au/img/logos/car_seats_save_lives.jpg",
145
- }
146
- ]
147
- }
148
- ]
149
- },
150
- {
151
- title: "Vertical tabs module",
152
- type: "tabs",
153
- components: [
154
- {
155
- name: "Section header",
156
- type: "header",
157
- title: 'Rich with resources',
158
- center: true,
159
- dark: true,
160
- supporting_text: 'Comprehensive free and paid resources covering every aspect of early childhood education.',
161
- },
162
- {
163
- name: "Vertical tabs",
164
- type: "vertical_tabs",
165
- supportive_text: "Manage the tabs",
166
- max_items: 5,
167
- public: true,
168
- data: [
169
- {
170
- title: "Free Downloadable Resources",
171
- description: "Explore a variety of no-cost tools and information available to everyone.",
172
- public: true,
173
- featured_image: 'https://beta-frontend.elaa.org.au/img/homepage/asset_free_resources.png',
174
- primary_button: {
175
- show: true,
176
- name: 'Linked to',
177
- label: 'View all',
178
- url: 'google.com', // external could be an url
179
- type: 'external-page',
180
- is_new_tab: true,
181
- },
182
- },
183
- {
184
- title: "Paid Resources & Subscriptions",
185
- description: "Access premium content and exclusive materials with our subscription services.",
186
- public: true,
187
- featured_image: 'https://beta-frontend.elaa.org.au/img/homepage/asset_paid_resources.png',
188
- primary_button: {
189
- show: true,
190
- name: 'Linked to',
191
- label: 'View all',
192
- url: 'http://google.com', // external could be an url
193
- type: 'external-page',
194
- is_new_tab: true,
195
- },
196
- },
197
- {
198
- title: "Video Library",
199
- description: "Watch quick, informative videos (10-15 mins each) available for free.",
200
- public: true,
201
- featured_image: 'https://beta-frontend.elaa.org.au/img/homepage/asset_video.png',
202
- primary_button: {
203
- show: true,
204
- name: 'Linked to',
205
- label: 'View all',
206
- url: 'google.com', // external could be an url
207
- type: 'external-page',
208
- is_new_tab: true,
209
- },
210
- },
211
- {
212
- title: "Self-paced Modules",
213
- description: "Engage with our flexible, on-demand training modules at your own pace.",
214
- public: true,
215
- featured_image: 'https://beta-frontend.elaa.org.au/img/homepage/asset_self_paced.png',
216
- primary_button: {
217
- show: true,
218
- name: 'Linked to',
219
- label: 'View all',
220
- url: 'google.com', // external could be an url
221
- type: 'external-page',
222
- is_new_tab: true,
223
- },
224
- },
225
- ]
226
- }
227
- ]
228
- },
229
- {
230
- title: "Logo cloud",
231
- type: "logo",
232
- display: "vertical",
233
- components: [
234
- {
235
- name: "Section header",
236
- type: "header",
237
- supporting_text: "ELAA’s preferred partners offer special benefits to ELAA members and support ELAA’s activities",
238
- },
239
- {
240
- id: 2,
241
- name: "Logos",
242
- type: "logos",
243
- max_items: 7,
244
- height: 'small',
245
- data: [
246
- {
247
- url: "/",
248
- logo: "https://beta-frontend.elaa.org.au/img/logos/anzuk.png",
249
- },
250
- {
251
- url: "/",
252
- logo: "https://beta-frontend.elaa.org.au/img/logos/bunnings.png",
253
- },
254
- {
255
- url: "/",
256
- logo: "https://beta-frontend.elaa.org.au/img/logos/hesta.png",
257
- }, {
258
- url: "/",
259
- logo: "",
260
- }
261
- ]
262
- }
263
- ]
264
- },
265
- {
266
- title: "Collection grid",
267
- type: "collection_grid",
268
- components: [
269
- {
270
- name: "Section header",
271
- type: "header",
272
- title: 'News',
273
- dark: true,
274
- center: true,
275
- supporting_text: 'Stay Informed with the Latest Developments in Early Education',
276
- },
277
- {
278
- name: "Grid",
279
- type: "news_grid",
280
- button: {
281
- title: 'View all news',
282
- url: 'google.com', // external could be an url
283
- type: 'external-page',
284
- is_new_tab: true,
285
- show: true,
286
- },
287
- content: {
288
- label: 'Content',
289
- supportive_text: 'This grid will be automatically populated with the latest three news items.',
290
- items: [
291
- {
292
- image: "https://beta-frontend.elaa.org.au/img/news/news_1.jpg",
293
- categories: [{
294
- name: 'Wages, IR and Governance',
295
- style: 'navy',
296
- }],
297
- link: "https://example.com",
298
- title: "Fair Work Laws changes for casual employment",
299
- dateTime: "10 Sep 2024",
300
- },
301
- {
302
- image: "https://beta-frontend.elaa.org.au/img/news/news_2.jpg",
303
- categories: [{
304
- name: 'Member Benefits',
305
- style: 'brand',
306
- }],
307
- link: "https://example.com",
308
- title: "ELAA renews its partnership with Bunnings for another year: make the most of your Bunnings PowerPass membership benefits",
309
- dateTime: "09 Sep 2024",
310
- },
311
- {
312
- image: "https://beta-frontend.elaa.org.au/img/news/news_3.jpg",
313
- categories: [{
314
- name: 'Advocacy',
315
- style: 'orange',
316
- }],
317
- link: "https://example.com",
318
- title: "Meet our Best Start Best Life (BSBL) Reform and Engagement Advisor Leanne Rodriguez",
319
- dateTime: "08 Sep 2024",
320
- },
321
- ]
322
- }
323
- },
324
- {
325
- name: "Grid",
326
- type: "video_grid",
327
- max_items: 3,
328
- data: [
329
- {
330
- video: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4",
331
- },
332
- {
333
- video: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",
334
- },
335
- {
336
- video: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
337
- }
338
- ]
339
- }
340
- ]
341
- },
342
- {
343
- title: "Collection carousel",
344
- type: "collection_carousel",
345
- has_background: true,
346
- components: [
347
- {
348
- name: "Section header",
349
- type: "header",
350
- title: 'Upcoming Events',
351
- dark: true,
352
- supporting_text: 'Don\'t Miss Our Upcoming Activities and Gatherings in Early Education.',
353
- },
354
- {
355
- name: "Carousel",
356
- type: "carousel",
357
- button: {
358
- title: 'View all events',
359
- url: 'google.com', // external could be an url
360
- type: 'external-page',
361
- is_new_tab: true,
362
- },
363
- content: {
364
- label: 'Content',
365
- supportive_text: 'This carousel will be automatically populated with all upcoming events. This section will be hidden if there’s no upcoming events.',
366
- items: [
367
- {
368
- type: 'event',
369
- title: 'Change Management – Drop in session',
370
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services.',
371
- image: 'https://beta-frontend.elaa.org.au/img/events/event_1.jpg',
372
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
373
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
374
- line_2: 'Free',
375
- primary_button: {
376
- icon: 'plus',
377
- title: 'Register',
378
- url: 'google.com'
379
- },
380
- secondary_button: {
381
- title: 'Learn more',
382
- url: 'google.com'
383
- },
384
- },
385
- {
386
- type: 'event',
387
- title: 'Let’s start making sense of OHS: Safety – not child’s play',
388
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
389
- image: 'https://beta-frontend.elaa.org.au/img/events/event_2.jpg',
390
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
391
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
392
- line_2: '$395 <span style="font-weight: lighter;">(Members)</span> <br> $495 <span style="font-weight: lighter;">(Non-Members)</span>',
393
- primary_button: {
394
- icon: 'plus',
395
- title: 'Register',
396
- url: 'google.com'
397
- },
398
- secondary_button: {
399
- title: 'Learn more',
400
- url: 'google.com'
401
- },
402
- },
403
- {
404
- type: 'event',
405
- title: 'DE Regional Governance Training Session',
406
- description: 'Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
407
- image: 'https://beta-frontend.elaa.org.au/img/events/event_3.jpg',
408
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
409
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
410
- line_2: 'Free',
411
- button_title: 'Free',
412
- primary_button: {
413
- icon: 'plus',
414
- title: 'Register',
415
- url: 'google.com'
416
- },
417
- secondary_button: {
418
- title: 'Learn more',
419
- url: 'google.com'
420
- },
421
- },
422
- {
423
- type: 'event',
424
- title: 'Change Management – Drop in session 2',
425
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services.',
426
- image: 'https://beta-frontend.elaa.org.au/img/events/event_1.jpg',
427
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
428
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
429
- line_2: 'Free',
430
- primary_button: {
431
- icon: 'plus',
432
- title: 'Register',
433
- url: 'google.com'
434
- },
435
- secondary_button: {
436
- title: 'Learn more',
437
- url: 'google.com'
438
- },
439
- },
440
- {
441
- type: 'event',
442
- title: 'Let’s start making sense of OHS: Safety – not child’s play 2',
443
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
444
- image: 'https://beta-frontend.elaa.org.au/img/events/event_2.jpg',
445
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
446
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
447
- line_2: '$395 <span style="font-weight: lighter;">(Members)</span> <br> $495 <span style="font-weight: lighter;">(Non-Members)</span>',
448
- primary_button: {
449
- icon: 'plus',
450
- title: 'Register',
451
- url: 'google.com'
452
- },
453
- secondary_button: {
454
- title: 'Learn more',
455
- url: 'google.com'
456
- },
457
- },
458
- {
459
- type: 'event',
460
- title: 'Let’s start making sense of OHS: Safety – not child’s play 3',
461
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
462
- image: 'https://beta-frontend.elaa.org.au/img/events/event_2.jpg',
463
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
464
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
465
- line_2: '$395 <span style="font-weight: lighter;">(Members)</span> <br> $495 <span style="font-weight: lighter;">(Non-Members)</span>',
466
- primary_button: {
467
- icon: 'plus',
468
- title: 'Register',
469
- url: 'google.com'
470
- },
471
- secondary_button: {
472
- title: 'Learn more',
473
- url: 'google.com'
474
- },
475
- },
476
- {
477
- type: 'event',
478
- title: 'Let’s start making sense of OHS: Safety – not child’s play 4',
479
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
480
- image: 'https://beta-frontend.elaa.org.au/img/events/event_2.jpg',
481
- tags: ['Governance', 'CEO&Leadership', 'Zoom webinar'],
482
- line_1: 'June 20 @ 12:30 pm - 1:15 pm AEST',
483
- line_2: '$395 <span style="font-weight: lighter;">(Members)</span> <br> $495 <span style="font-weight: lighter;">(Non-Members)</span>',
484
- primary_button: {
485
- icon: 'plus',
486
- title: 'Register',
487
- url: 'google.com'
488
- },
489
- secondary_button: {
490
- title: 'Learn more',
491
- url: 'google.com'
492
- },
493
- },
494
- ]
495
- }
496
- },
497
- ]
498
- },
499
- {
500
- title: "Collection carousel",
501
- type: "collection_carousel",
502
- has_background: false,
503
- components: [
504
- {
505
- name: "Section header",
506
- type: "header",
507
- title: 'Our Submission',
508
- dark: true,
509
- supporting_text: null,
510
- },
511
- {
512
- name: "Carousel",
513
- type: "carousel",
514
- button: {
515
- title: 'View all submissions',
516
- url: 'google.com', // external could be an url
517
- type: 'external-page',
518
- is_new_tab: true,
519
- },
520
- content: {
521
- label: 'Content',
522
- supportive_text: 'This carousel will be automatically populated with all upcoming events. This section will be hidden if there’s no upcoming events.',
523
- items: [
524
- {
525
- type: 'submission',
526
- title: 'Change Management – Drop in session',
527
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector. This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
528
- primary_button: {
529
- icon: 'plus',
530
- title: 'Read submmission',
531
- url: 'google.com'
532
- },
533
- secondary_button: {
534
- title: 'Learn more',
535
- url: 'google.com'
536
- },
537
- },
538
- {
539
- type: 'submission',
540
- title: 'Let’s start making sense of OHS: Safety – not child’s play',
541
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
542
- primary_button: {
543
- icon: 'plus',
544
- title: 'Read submmission',
545
- url: 'google.com'
546
- },
547
- secondary_button: {
548
- title: 'Learn more',
549
- url: 'google.com'
550
- },
551
- },
552
- {
553
- type: 'submission',
554
- title: 'DE Regional Governance Training Session',
555
- description: 'Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
556
- button_title: 'Free',
557
- primary_button: {
558
- icon: 'plus',
559
- title: 'Read submmission',
560
- url: 'google.com'
561
- },
562
- secondary_button: {
563
- title: 'Learn more',
564
- url: 'google.com'
565
- },
566
- },
567
- {
568
- type: 'submission',
569
- title: 'Change Management – Drop in session 2',
570
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services.',
571
- primary_button: {
572
- icon: 'plus',
573
- title: 'Read submmission',
574
- url: 'google.com'
575
- },
576
- secondary_button: {
577
- title: 'Learn more',
578
- url: 'google.com'
579
- },
580
- },
581
- {
582
- type: 'submission',
583
- title: 'Let’s start making sense of OHS: Safety – not child’s play 2',
584
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
585
- primary_button: {
586
- icon: 'plus',
587
- title: 'Read submmission',
588
- url: 'google.com'
589
- },
590
- secondary_button: {
591
- title: 'Learn more',
592
- url: 'google.com'
593
- },
594
- },
595
- {
596
- type: 'submission',
597
- title: 'Let’s start making sense of OHS: Safety – not child’s play 3',
598
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
599
- primary_button: {
600
- icon: 'plus',
601
- title: 'Read submmission',
602
- url: 'google.com'
603
- },
604
- secondary_button: {
605
- title: 'Learn more',
606
- url: 'google.com'
607
- },
608
- },
609
- {
610
- type: 'submission',
611
- title: 'Let’s start making sense of OHS: Safety – not child’s play 4',
612
- description: 'This face to face event is specifically designed for those responsible for the management of OHS in early childhood services. Guidance on how to manage risks by addressing the most common hazards faced by the early childhood sector.',
613
- primary_button: {
614
- icon: 'plus',
615
- title: 'Read submmission',
616
- url: 'google.com'
617
- },
618
- secondary_button: {
619
- title: 'Learn more',
620
- url: 'google.com'
621
- },
622
- },
623
- ]
624
- }
625
- }
626
- ]
627
- },
628
- {
629
- title: "Quick links",
630
- type: "quick_links",
631
- components: [
632
- {
633
- type: "header",
634
- title: 'Services',
635
- supporting_text: 'Our knowledge and expertise of the early childhood sector enables ELAA to provide expert professional advice and support.',
636
- },
637
- {
638
- name: "Link grid",
639
- type: "link_grid",
640
- supportive_text: "This section can contain up to 10 links.",
641
- max_items: 10,
642
- data: [
643
- {
644
- title: "Advisory Services",
645
- url: '/admin', // external could be an url
646
- type: 'site-content',
647
- open_in_new_tab: true,
648
- },
649
- {
650
- title: "Capability Assessment Support Service",
651
- url: 'https://google.com', // external could be an url
652
- type: 'external-page',
653
- open_in_new_tab: true,
654
- },
655
- {
656
- title: "Consultancy Services",
657
- url: 'https://google.com', // external could be an url
658
- type: 'external-page',
659
- open_in_new_tab: true,
660
- },
661
- {
662
- title: "Payroll Calculations",
663
- url: 'https://google.com', // external could be an url
664
- type: 'external-page',
665
- open_in_new_tab: true,
666
- },
667
- {
668
- title: "VECTEA 2024",
669
- url: 'https://google.com', // external could be an url
670
- type: 'external-page',
671
- open_in_new_tab: true,
672
- }
673
- ]
674
- }
675
- ]
676
- },
677
- ]
678
- };
2
+ import {Home} from "./pages/Home.js";
3
+ import {BestLife} from "./pages/BestLife.js";
679
4
 
680
5
  const slide = {
681
6
  title: "About ELAA",
@@ -713,6 +38,33 @@ const tab = {
713
38
  },
714
39
  }
715
40
 
41
+ const timelineItem = {
42
+ title: "2025",
43
+ group_title: "2025",
44
+ max_items: 5,
45
+ lines: [
46
+ {
47
+ title: "Free Downloadable Resources",
48
+ description: "Explore a variety of no-cost tools and information available to everyone.",
49
+ }
50
+ ]
51
+ }
52
+
53
+ const linkCardItem = {
54
+ title: "2025",
55
+ description: "2025",
56
+ public: true,
57
+ icon: 'XCircle',
58
+ primary_button: {
59
+ show: true,
60
+ name: 'Button',
61
+ label: 'Learn more',
62
+ url: 'https://beta-frontend.elaa.org.au/img/homepage/asset_free_resources.png', // external could be an url
63
+ type: 'external-page',
64
+ is_new_tab: true,
65
+ },
66
+ }
67
+
716
68
  const sites = [
717
69
  {
718
70
  name: "Site 1",
@@ -723,25 +75,34 @@ const sites = [
723
75
  href: "/site-2",
724
76
  }
725
77
  ]
78
+
79
+ const breadcrumbs = [
80
+ 'Site 1',
81
+ 'Site 2',
82
+ ]
726
83
  </script>
727
84
 
728
85
  <template>
729
86
  <div>
730
87
  <div style="margin: 40px 0">
731
88
  <h1 style="margin-bottom: 20px; font-size: 50px;">Page Render</h1>
732
- <PageRender :page="page"/>
89
+ <PageRender :page="BestLife"/>
733
90
  </div>
734
91
  <div style="margin: 40px 0">
735
92
  <h1 style="margin-bottom: 20px; font-size: 50px;">Slider Edit</h1>
736
93
  <ItemEdit :item="slide" :sites="sites"/>
737
94
  </div>
95
+ <div style="margin: 40px 0">
96
+ <h1 style="margin-bottom: 20px; font-size: 50px;">Link Card Edit</h1>
97
+ <LinkCardEdit :item="linkCardItem" :sites="sites"/>
98
+ </div>
738
99
  <div style="margin: 40px 0">
739
100
  <h1 style="margin-bottom: 20px; font-size: 50px;">Vertical Tab Edit</h1>
740
101
  <ItemEdit :item="tab" :sites="sites"/>
741
102
  </div>
742
103
  <div style="margin: 40px 0">
743
104
  <h1 style="margin-bottom: 20px; font-size: 50px;">Page Builder</h1>
744
- <PageBuilder v-model="page"/>
105
+ <PageBuilder v-model="BestLife" :breadcrumbs="breadcrumbs"/>
745
106
  </div>
746
107
  </div>
747
108
  </template>