maglevcms-hyperui-kit 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/maglev/hyperui/install/install_generator.rb +16 -0
  3. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_01.yml +97 -0
  4. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_02.yml +97 -0
  5. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_03.yml +102 -0
  6. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_01.yml +73 -0
  7. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_02.yml +73 -0
  8. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_03.yml +79 -0
  9. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_01.yml +64 -0
  10. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_02.yml +64 -0
  11. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_03.yml +73 -0
  12. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_01.yml +105 -0
  13. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_02.yml +127 -0
  14. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_03.yml +127 -0
  15. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_01.yml +220 -0
  16. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_02.yml +232 -0
  17. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_03.yml +217 -0
  18. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_04.yml +94 -0
  19. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_01.yml +135 -0
  20. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_02.yml +135 -0
  21. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_03.yml +135 -0
  22. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_04.yml +129 -0
  23. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/review/review_01.yml +105 -0
  24. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/stat/stat_01.yml +85 -0
  25. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_01.yml +69 -0
  26. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_02.yml +107 -0
  27. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_03.yml +103 -0
  28. data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/theme.yml.tt +178 -0
  29. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/maglev/editor/_header.html.erb +2 -0
  30. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/layout.html.erb +26 -0
  31. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_01.html.erb +20 -0
  32. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_02.html.erb +23 -0
  33. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_03.html.erb +25 -0
  34. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_01.html.erb +15 -0
  35. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_02.html.erb +38 -0
  36. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_03.html.erb +23 -0
  37. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_01.html.erb +30 -0
  38. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_02.html.erb +30 -0
  39. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_03.html.erb +49 -0
  40. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_01.html.erb +27 -0
  41. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_02.html.erb +29 -0
  42. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_03.html.erb +26 -0
  43. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_01.html.erb +60 -0
  44. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_02.html.erb +47 -0
  45. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_03.html.erb +69 -0
  46. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_04.html.erb +29 -0
  47. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_01.html.erb +62 -0
  48. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_02.html.erb +65 -0
  49. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_03.html.erb +65 -0
  50. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_04.html.erb +65 -0
  51. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/review/_grades.html.erb +25 -0
  52. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/review/review_01.html.erb +39 -0
  53. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/stat/stat_01.html.erb +21 -0
  54. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_01.html.erb +20 -0
  55. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_02.html.erb +33 -0
  56. data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_03.html.erb +24 -0
  57. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_01.jpg +0 -0
  58. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_02.jpg +0 -0
  59. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_03.jpg +0 -0
  60. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_01.jpg +0 -0
  61. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_02.jpg +0 -0
  62. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_03.jpg +0 -0
  63. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_01.jpg +0 -0
  64. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_02.jpg +0 -0
  65. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_03.jpg +0 -0
  66. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_01.jpg +0 -0
  67. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_02.jpg +0 -0
  68. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_03.jpg +0 -0
  69. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_01.jpg +0 -0
  70. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_02.jpg +0 -0
  71. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_03.jpg +0 -0
  72. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_04.jpg +0 -0
  73. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_01.jpg +0 -0
  74. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_02.jpg +0 -0
  75. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_03.jpg +0 -0
  76. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_04.jpg +0 -0
  77. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/review/review_01.jpg +0 -0
  78. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/stat/stat_01.jpg +0 -0
  79. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_01.jpg +0 -0
  80. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_02.jpg +0 -0
  81. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_03.jpg +0 -0
  82. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/image-placeholder.jpg +0 -0
  83. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/logoipsum-white.svg +1 -0
  84. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/logoipsum.svg +1 -0
  85. data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/marie-curie.jpg +0 -0
  86. data/lib/maglev/hyperui/railtie.rb +3 -0
  87. data/lib/maglev/hyperui/version.rb +1 -1
  88. data/lib/tasks/maglev_hyperui_kit.rake +61 -0
  89. metadata +90 -6
@@ -0,0 +1,135 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Center Aligned"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: nav
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: true
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: "Logo"
25
+ id: logo
26
+ type: image
27
+ default: "/themes/logoipsum.svg"
28
+
29
+ # Definition of the blocks.
30
+ # You can define as many types of blocks as you want.
31
+ blocks:
32
+ - name: "Links"
33
+ type: link_group
34
+ accept: ['link_item']
35
+ limit: 1
36
+ settings: []
37
+
38
+ - name: "Link"
39
+ type: link_item
40
+ root: false
41
+ settings:
42
+ - label: "Link"
43
+ id: link
44
+ type: link
45
+ with_text: true
46
+ default:
47
+ text: "Link"
48
+ href: "#"
49
+
50
+ - name: "Buttons"
51
+ type: button_group
52
+ accept: ['button_item']
53
+ limit: 1
54
+ settings: []
55
+
56
+ - name: "Button"
57
+ type: button_item
58
+ root: false
59
+ settings:
60
+ - label: "Button"
61
+ id: button
62
+ type: link
63
+ with_text: true
64
+ default:
65
+ text: "Button"
66
+ href: "#"
67
+ - label: "Primary?"
68
+ id: is_primary
69
+ type: checkbox
70
+ default: true
71
+
72
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
73
+ # The title can be changed with the following property:
74
+ blocks_label: "Navigation"
75
+
76
+ # By default, blocks are presented as a list in the editor UI.
77
+ # If you like to use blocks to build a menu with sub menu items,
78
+ # consider using the tree presentation
79
+ blocks_presentation: "tree"
80
+
81
+ # In order to get a section with "meaning" content for the editors,
82
+ # you can set the default content of a new instance of this section.
83
+ # (it's also be useful when taking a screenshot of the section).
84
+ sample:
85
+ settings:
86
+ logo: "/themes/logoipsum.svg"
87
+ blocks:
88
+ - type: link_group
89
+ settings: []
90
+ children:
91
+ - type: link_item
92
+ settings:
93
+ link:
94
+ text: "About"
95
+ href: "#"
96
+ - type: link_item
97
+ settings:
98
+ link:
99
+ text: "Careers"
100
+ href: "#"
101
+ - type: link_item
102
+ settings:
103
+ link:
104
+ text: "History"
105
+ href: "#"
106
+ - type: link_item
107
+ settings:
108
+ link:
109
+ text: "Services"
110
+ href: "#"
111
+ - type: link_item
112
+ settings:
113
+ link:
114
+ text: "Projects"
115
+ href: "#"
116
+ - type: link_item
117
+ settings:
118
+ link:
119
+ text: "Blog"
120
+ href: "#"
121
+ - type: button_group
122
+ settings: []
123
+ children:
124
+ - type: button_item
125
+ settings:
126
+ button:
127
+ text: "Login"
128
+ href: "#"
129
+ is_primary: true
130
+ - type: button_item
131
+ settings:
132
+ button:
133
+ text: "Register"
134
+ href: "#"
135
+ is_primary: false
@@ -0,0 +1,135 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "Right Aligned"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: nav
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: true
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: "Logo"
25
+ id: logo
26
+ type: image
27
+ default: "/themes/logoipsum.svg"
28
+
29
+ # Definition of the blocks.
30
+ # You can define as many types of blocks as you want.
31
+ blocks:
32
+ - name: "Links"
33
+ type: link_group
34
+ accept: ['link_item']
35
+ limit: 1
36
+ settings: []
37
+
38
+ - name: "Link"
39
+ type: link_item
40
+ root: false
41
+ settings:
42
+ - label: "Link"
43
+ id: link
44
+ type: link
45
+ with_text: true
46
+ default:
47
+ text: "Link"
48
+ href: "#"
49
+
50
+ - name: "Buttons"
51
+ type: button_group
52
+ accept: ['button_item']
53
+ limit: 1
54
+ settings: []
55
+
56
+ - name: "Button"
57
+ type: button_item
58
+ root: false
59
+ settings:
60
+ - label: "Button"
61
+ id: button
62
+ type: link
63
+ with_text: true
64
+ default:
65
+ text: "Button"
66
+ href: "#"
67
+ - label: "Primary?"
68
+ id: is_primary
69
+ type: checkbox
70
+ default: true
71
+
72
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
73
+ # The title can be changed with the following property:
74
+ blocks_label: "Navigation"
75
+
76
+ # By default, blocks are presented as a list in the editor UI.
77
+ # If you like to use blocks to build a menu with sub menu items,
78
+ # consider using the tree presentation
79
+ blocks_presentation: "tree"
80
+
81
+ # In order to get a section with "meaning" content for the editors,
82
+ # you can set the default content of a new instance of this section.
83
+ # (it's also be useful when taking a screenshot of the section).
84
+ sample:
85
+ settings:
86
+ logo: "/themes/logoipsum.svg"
87
+ blocks:
88
+ - type: link_group
89
+ settings: []
90
+ children:
91
+ - type: link_item
92
+ settings:
93
+ link:
94
+ text: "About"
95
+ href: "#"
96
+ - type: link_item
97
+ settings:
98
+ link:
99
+ text: "Careers"
100
+ href: "#"
101
+ - type: link_item
102
+ settings:
103
+ link:
104
+ text: "History"
105
+ href: "#"
106
+ - type: link_item
107
+ settings:
108
+ link:
109
+ text: "Services"
110
+ href: "#"
111
+ - type: link_item
112
+ settings:
113
+ link:
114
+ text: "Projects"
115
+ href: "#"
116
+ - type: link_item
117
+ settings:
118
+ link:
119
+ text: "Blog"
120
+ href: "#"
121
+ - type: button_group
122
+ settings: []
123
+ children:
124
+ - type: button_item
125
+ settings:
126
+ button:
127
+ text: "Login"
128
+ href: "#"
129
+ is_primary: true
130
+ - type: button_item
131
+ settings:
132
+ button:
133
+ text: "Register"
134
+ href: "#"
135
+ is_primary: false
@@ -0,0 +1,129 @@
1
+ # Name of the section displayed in the editor UI
2
+ name: "With Links, Basket, Account and Search"
3
+
4
+ # Category of the section in the editor UI (headers, features, testimonials, ...etc)
5
+ category: nav
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: true
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: "Logo"
25
+ id: logo
26
+ type: image
27
+ default: "/themes/logoipsum.svg"
28
+
29
+ # Definition of the blocks.
30
+ # You can define as many types of blocks as you want.
31
+ blocks:
32
+ - name: "Links"
33
+ type: link_group
34
+ accept: ['link_item']
35
+ limit: 1
36
+ settings: []
37
+
38
+ - name: "Link"
39
+ type: link_item
40
+ root: false
41
+ settings:
42
+ - label: "Link"
43
+ id: link
44
+ type: link
45
+ with_text: true
46
+ default:
47
+ text: "Link"
48
+ href: "#"
49
+
50
+ - name: "Buttons"
51
+ type: button_group
52
+ accept: ['button_item']
53
+ limit: 1
54
+ settings: []
55
+
56
+ - name: "Button"
57
+ type: button_item
58
+ root: false
59
+ settings:
60
+ - label: "Button"
61
+ id: button
62
+ type: link
63
+ with_text: true
64
+ default:
65
+ text: "Button"
66
+ href: "#"
67
+ - label: "Icon"
68
+ id: icon
69
+ type: icon
70
+ default: 'ri-account-circle-fill'
71
+
72
+ # By default, in the editor UI, blocks will be listed below the "Content" title.
73
+ # The title can be changed with the following property:
74
+ blocks_label: "Navigation"
75
+
76
+ # By default, blocks are presented as a list in the editor UI.
77
+ # If you like to use blocks to build a menu with sub menu items,
78
+ # consider using the tree presentation
79
+ blocks_presentation: "tree"
80
+
81
+ # In order to get a section with "meaning" content for the editors,
82
+ # you can set the default content of a new instance of this section.
83
+ # (it's also be useful when taking a screenshot of the section).
84
+ sample:
85
+ settings:
86
+ logo: "/themes/logoipsum.svg"
87
+ blocks:
88
+ - type: link_group
89
+ children:
90
+ - type: link_item
91
+ settings:
92
+ link:
93
+ text: "About"
94
+ href: "#"
95
+ - type: link_item
96
+ settings:
97
+ link:
98
+ text: "News"
99
+ href: "#"
100
+ - type: link_item
101
+ settings:
102
+ link:
103
+ text: "Products"
104
+ href: "#"
105
+ - type: link_item
106
+ settings:
107
+ link:
108
+ text: "Contact"
109
+ href: "#"
110
+ - type: button_group
111
+ children:
112
+ - type: button_item
113
+ settings:
114
+ button:
115
+ text: "Cart"
116
+ href: "#"
117
+ icon: 'ri-shopping-bag-line'
118
+ - type: button_item
119
+ settings:
120
+ button:
121
+ text: "Account"
122
+ href: "#"
123
+ icon: 'ri-user-3-line'
124
+ - type: button_item
125
+ settings:
126
+ button:
127
+ text: "Search"
128
+ href: "#"
129
+ icon: 'ri-search-line'
@@ -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: "/themes/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: "/themes/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
+