maglevcms-hyperui-kit 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +42 -0
  4. data/Rakefile +42 -0
  5. data/lib/generators/maglev/hyperui/install/USAGE +7 -0
  6. data/lib/generators/maglev/hyperui/install/install_generator.rb +13 -0
  7. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_01.yml +97 -0
  8. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_02.yml +97 -0
  9. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_03.yml +102 -0
  10. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_01.yml +73 -0
  11. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_02.yml +73 -0
  12. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_03.yml +79 -0
  13. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_01.yml +64 -0
  14. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_02.yml +64 -0
  15. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_03.yml +73 -0
  16. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_01.yml +105 -0
  17. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_02.yml +127 -0
  18. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_03.yml +127 -0
  19. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_01.yml +220 -0
  20. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_02.yml +232 -0
  21. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_03.yml +217 -0
  22. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_04.yml +94 -0
  23. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_01.yml +135 -0
  24. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_02.yml +135 -0
  25. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_03.yml +135 -0
  26. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_04.yml +129 -0
  27. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/review/review_01.yml +105 -0
  28. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/stat/stat_01.yml +85 -0
  29. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_01.yml +69 -0
  30. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_02.yml +107 -0
  31. data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_03.yml +103 -0
  32. data/lib/generators/maglev/hyperui/install/templates/app/theme/theme.yml +172 -0
  33. data/lib/generators/maglev/hyperui/install/templates/app/views/maglev/editor/_header.html.erb +2 -0
  34. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/layout.html.erb +24 -0
  35. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_01.html.erb +20 -0
  36. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_02.html.erb +23 -0
  37. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_03.html.erb +25 -0
  38. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_01.html.erb +15 -0
  39. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_02.html.erb +38 -0
  40. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_03.html.erb +23 -0
  41. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_01.html.erb +30 -0
  42. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_02.html.erb +30 -0
  43. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_03.html.erb +49 -0
  44. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_01.html.erb +27 -0
  45. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_02.html.erb +29 -0
  46. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_03.html.erb +26 -0
  47. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_01.html.erb +60 -0
  48. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_02.html.erb +47 -0
  49. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_03.html.erb +69 -0
  50. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_04.html.erb +29 -0
  51. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_01.html.erb +62 -0
  52. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_02.html.erb +65 -0
  53. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_03.html.erb +65 -0
  54. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_04.html.erb +65 -0
  55. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/review/_grades.html.erb +25 -0
  56. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/review/review_01.html.erb +39 -0
  57. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/stat/stat_01.html.erb +21 -0
  58. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_01.html.erb +20 -0
  59. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_02.html.erb +33 -0
  60. data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_03.html.erb +24 -0
  61. data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_01.jpg +0 -0
  62. data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_02.jpg +0 -0
  63. data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_03.jpg +0 -0
  64. data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_01.jpg +0 -0
  65. data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_02.jpg +0 -0
  66. data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_03.jpg +0 -0
  67. data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_01.jpg +0 -0
  68. data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_02.jpg +0 -0
  69. data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_03.jpg +0 -0
  70. data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_01.jpg +0 -0
  71. data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_02.jpg +0 -0
  72. data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_03.jpg +0 -0
  73. data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_01.jpg +0 -0
  74. data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_02.jpg +0 -0
  75. data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_03.jpg +0 -0
  76. data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_04.jpg +0 -0
  77. data/lib/generators/maglev/hyperui/install/templates/public/image-placeholder.jpg +0 -0
  78. data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_01.jpg +0 -0
  79. data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_02.jpg +0 -0
  80. data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_03.jpg +0 -0
  81. data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_04.jpg +0 -0
  82. data/lib/generators/maglev/hyperui/install/templates/public/review/review_01.jpg +0 -0
  83. data/lib/generators/maglev/hyperui/install/templates/public/stat/stat_01.jpg +0 -0
  84. data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_01.jpg +0 -0
  85. data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_02.jpg +0 -0
  86. data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_03.jpg +0 -0
  87. data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_01.jpg +0 -0
  88. data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_02.jpg +0 -0
  89. data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_03.jpg +0 -0
  90. data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_01.jpg +0 -0
  91. data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_02.jpg +0 -0
  92. data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_03.jpg +0 -0
  93. data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_01.jpg +0 -0
  94. data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_02.jpg +0 -0
  95. data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_03.jpg +0 -0
  96. data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_01.jpg +0 -0
  97. data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_02.jpg +0 -0
  98. data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_03.jpg +0 -0
  99. data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_01.jpg +0 -0
  100. data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_02.jpg +0 -0
  101. data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_03.jpg +0 -0
  102. data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_04.jpg +0 -0
  103. data/lib/generators/maglev/hyperui/install/templates/public/theme/image-placeholder.jpg +0 -0
  104. data/lib/generators/maglev/hyperui/install/templates/public/theme/logoipsum-white.svg +1 -0
  105. data/lib/generators/maglev/hyperui/install/templates/public/theme/logoipsum.svg +1 -0
  106. data/lib/generators/maglev/hyperui/install/templates/public/theme/marie-curie.jpg +0 -0
  107. data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_01.jpg +0 -0
  108. data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_02.jpg +0 -0
  109. data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_03.jpg +0 -0
  110. data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_04.jpg +0 -0
  111. data/lib/generators/maglev/hyperui/install/templates/public/theme/review/review_01.jpg +0 -0
  112. data/lib/generators/maglev/hyperui/install/templates/public/theme/stat/stat_01.jpg +0 -0
  113. data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_01.jpg +0 -0
  114. data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_02.jpg +0 -0
  115. data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_03.jpg +0 -0
  116. data/lib/maglev/hyperui/railtie.rb +6 -0
  117. data/lib/maglev/hyperui/version.rb +5 -0
  118. data/lib/maglev/hyperui.rb +8 -0
  119. metadata +176 -0
@@ -0,0 +1,105 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Overall Statistic with Reviews Grid"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: review
6
+
7
+ # A section might have the same content all over the site, like a menu or a footer for instance.
8
+ # To enable this behavior, uncomment the following statement
9
+ # site_scoped: true
10
+
11
+ # Display or not the button to insert a new section after this one
12
+ # insert_button: false
13
+
14
+ # Insert this section at the top or the bottom of the page (default: nil)
15
+ # insert_at: top
16
+
17
+ # one single instance per page?
18
+ # singleton: true
19
+
20
+ # Definition of the settings:
21
+ # A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
22
+ # Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
23
+ settings:
24
+ - label: "Title"
25
+ id: title
26
+ type: text
27
+ default: "Customer Reviews"
28
+
29
+ - label: "Grade"
30
+ id: grade
31
+ type: text
32
+ default: "3.8"
33
+
34
+ - label: "Number of reviews"
35
+ id: number_of_reviews
36
+ type: text
37
+ default: "3.8"
38
+
39
+ # Definition of the blocks.
40
+ # You can define as many types of blocks as you want.
41
+ blocks:
42
+ - name: "Review"
43
+ type: review_item
44
+ settings:
45
+ - label: "Highlight"
46
+ id: highlight
47
+ type: text
48
+ default: "The best thing money can buy!"
49
+ - label: "Testimonial"
50
+ id: testimonial
51
+ type: text
52
+ nb_rows: 5
53
+ default: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam possimus fuga dolor rerum dicta, ipsum laboriosam est totam iusto alias incidunt cum tempore aliquid aliquam error quisquam ipsam asperiores! Iste?"
54
+ - label: "Grade"
55
+ id: grade
56
+ type: text
57
+ default: "3.8"
58
+ - label: "Person"
59
+ id: person
60
+ type: text
61
+ default: "John Doe - 12th January, 2024"
62
+
63
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
64
+ # The title can be changed with the following property:
65
+ blocks_label: "List of reviews"
66
+
67
+ # By default, blocks are presented as a list in the editor UI.
68
+ # If you like to use blocks to build a menu with sub menu items,
69
+ # consider using the tree presentation
70
+ # blocks_presentation: "tree"
71
+
72
+ # In order to get a section with "meaning" content for the editors,
73
+ # you can set the default content of a new instance of this section.
74
+ # (it's also be useful when taking a screenshot of the section).
75
+ sample:
76
+ settings:
77
+ title: "Customer Reviews"
78
+ grade: "3.8"
79
+ number_of_reviews: "48"
80
+ blocks:
81
+ - type: "review_item"
82
+ settings:
83
+ highlight: "The best thing money can buy!"
84
+ testimonial: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam possimus fuga dolor rerum dicta, ipsum laboriosam est totam iusto alias incidunt cum tempore aliquid aliquam error quisquam ipsam asperiores! Iste?"
85
+ person: "John Doe - 12th January, 2024"
86
+ grade: "3.8"
87
+ - type: "review_item"
88
+ settings:
89
+ highlight: "The best thing money can buy!"
90
+ testimonial: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam possimus fuga dolor rerum dicta, ipsum laboriosam est totam iusto alias incidunt cum tempore aliquid aliquam error quisquam ipsam asperiores! Iste?"
91
+ person: "John Doe - 12th January, 2024"
92
+ grade: "3.8"
93
+ - type: "review_item"
94
+ settings:
95
+ highlight: "The best thing money can buy!"
96
+ testimonial: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam possimus fuga dolor rerum dicta, ipsum laboriosam est totam iusto alias incidunt cum tempore aliquid aliquam error quisquam ipsam asperiores! Iste?"
97
+ person: "John Doe - 12th January, 2024"
98
+ grade: "3.8"
99
+ - type: "review_item"
100
+ settings:
101
+ highlight: "The best thing money can buy!"
102
+ testimonial: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ullam possimus fuga dolor rerum dicta, ipsum laboriosam est totam iusto alias incidunt cum tempore aliquid aliquam error quisquam ipsam asperiores! Iste?"
103
+ person: "John Doe - 12th January, 2024"
104
+ grade: "3.8"
105
+
@@ -0,0 +1,85 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Simple with Grid"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: stat
6
+
7
+ # A section might have the same content all over the site, like a menu or a footer for instance.
8
+ # To enable this behavior, uncomment the following statement
9
+ # site_scoped: true
10
+
11
+ # Display or not the button to insert a new section after this one
12
+ # insert_button: false
13
+
14
+ # Insert this section at the top or the bottom of the page (default: nil)
15
+ # insert_at: top
16
+
17
+ # one single instance per page?
18
+ # singleton: true
19
+
20
+ # Definition of the settings:
21
+ # A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
22
+ # Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
23
+ settings:
24
+ - label: "Title"
25
+ id: title
26
+ type: text
27
+ # html: true
28
+ # line_break: true
29
+ # nb_rows: 5
30
+ default: "Trusted by eCommerce Businesses"
31
+
32
+ - label: "Body"
33
+ id: body
34
+ type: text
35
+ # html: true
36
+ # line_break: true
37
+ nb_rows: 5
38
+ default: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione dolores laborum labore provident impedit esse recusandae facere libero harum sequi."
39
+
40
+ # Definition of the blocks.
41
+ # You can define as many types of blocks as you want.
42
+ blocks:
43
+ - name: "Number"
44
+ type: number_item
45
+ settings:
46
+ - label: "Number"
47
+ id: number
48
+ type: text
49
+ default: "$4.8m"
50
+ - label: "Legend"
51
+ id: legend
52
+ type: text
53
+ default: "Total Sales"
54
+
55
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
56
+ # The title can be changed with the following property:
57
+ blocks_label: "List of numbers"
58
+
59
+ # By default, blocks are presented as a list in the editor UI.
60
+ # If you like to use blocks to build a menu with sub menu items,
61
+ # consider using the tree presentation
62
+ # blocks_presentation: "tree"
63
+
64
+ # In order to get a section with "meaning" content for the editors,
65
+ # you can set the default content of a new instance of this section.
66
+ # (it's also be useful when taking a screenshot of the section).
67
+ sample:
68
+ settings:
69
+ title: "Trusted by eCommerce Businesses"
70
+ body: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione dolores laborum labore provident impedit esse recusandae facere libero harum sequi."
71
+ blocks:
72
+ - type: "number_item"
73
+ settings:
74
+ number: "$4.8m"
75
+ legend: "Total Sales"
76
+ - type: "number_item"
77
+ settings:
78
+ number: "24"
79
+ legend: "Official Addons"
80
+ - type: "number_item"
81
+ settings:
82
+ number: "86"
83
+ legend: "Total Addons"
84
+
85
+
@@ -0,0 +1,69 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Card with Author Image"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: testimonial
6
+
7
+ # A section might have the same content all over the site, like a menu or a footer for instance.
8
+ # To enable this behavior, uncomment the following statement
9
+ # site_scoped: true
10
+
11
+ # Display or not the button to insert a new section after this one
12
+ # insert_button: false
13
+
14
+ # Insert this section at the top or the bottom of the page (default: nil)
15
+ # insert_at: top
16
+
17
+ # one single instance per page?
18
+ # singleton: true
19
+
20
+ # Definition of the settings:
21
+ # A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
22
+ # Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
23
+ settings:
24
+ - label: "Fullname"
25
+ id: fullname
26
+ type: text
27
+ default: "Justin Harrison"
28
+
29
+ - label: "Position"
30
+ id: position
31
+ type: text
32
+ default: "Beatle Inc."
33
+
34
+ - label: "Picture"
35
+ id: picture
36
+ type: image
37
+ default: "/theme/marie-curie.jpg"
38
+
39
+ - label: "Quote"
40
+ id: quote
41
+ type: text
42
+ nb_rows: 5
43
+ default: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt perspiciatis cumque neque ut nobis excepturi, quasi iure quisquam autem alias."
44
+
45
+
46
+ # Definition of the blocks.
47
+ # You can define as many types of blocks as you want.
48
+ blocks: []
49
+
50
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
51
+ # The title can be changed with the following property:
52
+ # blocks_label: "My list of items"
53
+
54
+ # By default, blocks are presented as a list in the editor UI.
55
+ # If you like to use blocks to build a menu with sub menu items,
56
+ # consider using the tree presentation
57
+ # blocks_presentation: "tree"
58
+
59
+ # In order to get a section with "meaning" content for the editors,
60
+ # you can set the default content of a new instance of this section.
61
+ # (it's also be useful when taking a screenshot of the section).
62
+ sample:
63
+ settings:
64
+ fullname: "Justin Harrison"
65
+ position: "Beatle Inc."
66
+ picture: "/theme/marie-curie.jpg"
67
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt perspiciatis cumque neque ut nobis excepturi, quasi iure quisquam autem alias."
68
+ blocks: []
69
+
@@ -0,0 +1,107 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Stacked with Centered Content and Grid"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: testimonial
6
+
7
+ # A section might have the same content all over the site, like a menu or a footer for instance.
8
+ # To enable this behavior, uncomment the following statement
9
+ # site_scoped: true
10
+
11
+ # Display or not the button to insert a new section after this one
12
+ # insert_button: false
13
+
14
+ # Insert this section at the top or the bottom of the page (default: nil)
15
+ # insert_at: top
16
+
17
+ # one single instance per page?
18
+ # singleton: true
19
+
20
+ # Definition of the settings:
21
+ # A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
22
+ # Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
23
+ settings:
24
+ - label: "Title"
25
+ id: title
26
+ type: text
27
+ default: "Read trusted reviews from our customers"
28
+
29
+ - label: "Body"
30
+ id: body
31
+ type: text
32
+ html: true
33
+ line_break: true
34
+ nb_rows: 5
35
+ default: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur praesentium natus sapiente commodi. Aliquid sunt tempore iste repellendus explicabo dignissimos placeat, autem harum dolore reprehenderit quis! Quo totam dignissimos earum."
36
+
37
+ # Definition of the blocks.
38
+ # You can define as many types of blocks as you want.
39
+ blocks:
40
+ - name: "Testimonial"
41
+ type: testimonial_item
42
+ settings:
43
+ - label: "Fullname"
44
+ id: fullname
45
+ type: text
46
+ default: "Justin Harrison"
47
+
48
+ - label: "Position"
49
+ id: position
50
+ type: text
51
+ default: "Beatle Inc."
52
+
53
+ - label: "Picture"
54
+ id: picture
55
+ type: image
56
+ default: "/theme/image-placeholder.jpg"
57
+
58
+ - label: "Quote"
59
+ id: quote
60
+ type: text
61
+ nb_rows: 4
62
+ default: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Deserunt voluptatem alias ut provident sapiente repellendus."
63
+
64
+ - label: "Grade"
65
+ id: grade
66
+ type: text
67
+ default: "5"
68
+
69
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
70
+ # The title can be changed with the following property:
71
+ blocks_label: "List of testimonials"
72
+
73
+ # By default, blocks are presented as a list in the editor UI.
74
+ # If you like to use blocks to build a menu with sub menu items,
75
+ # consider using the tree presentation
76
+ # blocks_presentation: "tree"
77
+
78
+ # In order to get a section with "meaning" content for the editors,
79
+ # you can set the default content of a new instance of this section.
80
+ # (it's also be useful when taking a screenshot of the section).
81
+ sample:
82
+ settings:
83
+ title: "Read trusted reviews from our customers"
84
+ body: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur praesentium natus sapiente commodi. Aliquid sunt tempore iste repellendus explicabo dignissimos placeat, autem harum dolore reprehenderit quis! Quo totam dignissimos earum."
85
+ blocks:
86
+ - type: testimonial_item
87
+ settings:
88
+ fullname: "Sophie Lennon"
89
+ position: "Digital Marketing at Studio"
90
+ picture: "/theme/image-placeholder.jpg"
91
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Deserunt voluptatem alias ut provident sapiente repellendus."
92
+ grade: "5"
93
+ - type: "testimonial_item"
94
+ settings:
95
+ fullname: "Sophie Lennon"
96
+ position: "Digital Marketing at Studio"
97
+ picture: "/theme/image-placeholder.jpg"
98
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Deserunt voluptatem alias ut provident sapiente repellendus."
99
+ grade: "5"
100
+ - type: "testimonial_item"
101
+ settings:
102
+ fullname: "Sophie Lennon"
103
+ position: "Digital Marketing at Studio"
104
+ picture: "/theme/image-placeholder.jpg"
105
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Deserunt voluptatem alias ut provident sapiente repellendus."
106
+ grade: "5"
107
+
@@ -0,0 +1,103 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Masonry Grid with Author"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: testimonial
6
+
7
+ # A section might have the same content all over the site, like a menu or a footer for instance.
8
+ # To enable this behavior, uncomment the following statement
9
+ # site_scoped: true
10
+
11
+ # Display or not the button to insert a new section after this one
12
+ # insert_button: false
13
+
14
+ # Insert this section at the top or the bottom of the page (default: nil)
15
+ # insert_at: top
16
+
17
+ # one single instance per page?
18
+ # singleton: true
19
+
20
+ # Definition of the settings:
21
+ # A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
22
+ # Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
23
+ settings: []
24
+
25
+ # Definition of the blocks.
26
+ # You can define as many types of blocks as you want.
27
+ blocks:
28
+ - name: "Testimonial"
29
+ type: testimonial_item
30
+ settings:
31
+ - label: "Fullname"
32
+ id: fullname
33
+ type: text
34
+ default: "Justin Harrison"
35
+
36
+ - label: "Position"
37
+ id: position
38
+ type: text
39
+ default: "Beatle Inc."
40
+
41
+ - label: "Picture"
42
+ id: picture
43
+ type: image
44
+ default: "/theme/image-placeholder.jpg"
45
+
46
+ - label: "Quote"
47
+ id: quote
48
+ type: text
49
+ nb_rows: 4
50
+ default: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Deserunt voluptatem alias ut provident sapiente repellendus."
51
+
52
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
53
+ # The title can be changed with the following property:
54
+ blocks_label: "List of testimonials"
55
+
56
+ # By default, blocks are presented as a list in the editor UI.
57
+ # If you like to use blocks to build a menu with sub menu items,
58
+ # consider using the tree presentation
59
+ # blocks_presentation: "tree"
60
+
61
+ # In order to get a section with "meaning" content for the editors,
62
+ # you can set the default content of a new instance of this section.
63
+ # (it's also be useful when taking a screenshot of the section).
64
+ sample:
65
+ settings: []
66
+ blocks:
67
+ - type: testimonial_item
68
+ settings:
69
+ fullname: "Gladis Lennon"
70
+ position: "Head of SEO"
71
+ picture: "/theme/image-placeholder.jpg"
72
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Maxime minima dicta amet, molestiae aliquam incidunt suscipit recusandae labore ratione doloremque, architecto et illo minus quo tenetur ducimus, voluptatibus repellendus fuga aperiam vel ab! Ipsam corrupti blanditiis dolorum! Officia assumenda rem nam, eveniet enim ad inventore laudantium est illum voluptatem quis."
73
+ - type: "testimonial_item"
74
+ settings:
75
+ fullname: "Gladis Lennon"
76
+ position: "Head of SEO"
77
+ picture: "/theme/image-placeholder.jpg"
78
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Optio beatae incidunt perferendis soluta facilis voluptas dicta repudiandae quasi asperiores libero, exercitationem molestiae autem sapiente dolore nulla non consequatur. Eaque, dolores."
79
+ - type: "testimonial_item"
80
+ settings:
81
+ fullname: "Gladis Lennon"
82
+ position: "Head of SEO"
83
+ picture: "/theme/image-placeholder.jpg"
84
+ quote: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi a voluptatum quidem nulla quisquam natus velit provident earum esse, odio numquam labore recusandae similique sunt."
85
+ - type: testimonial_item
86
+ settings:
87
+ fullname: "Gladis Lennon"
88
+ position: "Head of SEO"
89
+ picture: "/theme/image-placeholder.jpg"
90
+ quote: "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Dolore vel quo deserunt quos expedita minima incidunt sed tempora, a architecto consectetur reprehenderit, in repellat voluptatum."
91
+ - type: "testimonial_item"
92
+ settings:
93
+ fullname: "Gladis Lennon"
94
+ position: "Head of SEO"
95
+ picture: "/theme/image-placeholder.jpg"
96
+ quote: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Minus doloribus eius aut unde, dolores accusantium!"
97
+ - type: "testimonial_item"
98
+ settings:
99
+ fullname: "Gladis Lennon"
100
+ position: "Head of SEO"
101
+ picture: "/theme/image-placeholder.jpg"
102
+ quote: "Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eius ut necessitatibus, repudiandae qui dolor minima."
103
+