maglevcms-hyperui-kit 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +42 -0
- data/Rakefile +42 -0
- data/lib/generators/maglev/hyperui/install/USAGE +7 -0
- data/lib/generators/maglev/hyperui/install/install_generator.rb +13 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_01.yml +97 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_02.yml +97 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/banner/banner_03.yml +102 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_01.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_02.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/cta/cta_03.yml +79 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_01.yml +64 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_02.yml +64 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/faq/faq_03.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_01.yml +105 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_02.yml +127 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/feature/feature_03.yml +127 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_01.yml +220 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_02.yml +232 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_03.yml +217 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/footer/footer_04.yml +94 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_01.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_02.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_03.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/nav/nav_04.yml +129 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/review/review_01.yml +105 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/stat/stat_01.yml +85 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_01.yml +69 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_02.yml +107 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/sections/testimonial/testimonial_03.yml +103 -0
- data/lib/generators/maglev/hyperui/install/templates/app/theme/theme.yml +172 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/maglev/editor/_header.html.erb +2 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/layout.html.erb +24 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_01.html.erb +20 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_02.html.erb +23 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/banner/banner_03.html.erb +25 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_01.html.erb +15 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_02.html.erb +38 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/cta/cta_03.html.erb +23 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_01.html.erb +30 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_02.html.erb +30 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/faq/faq_03.html.erb +49 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_01.html.erb +27 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_02.html.erb +29 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/feature/feature_03.html.erb +26 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_01.html.erb +60 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_02.html.erb +47 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_03.html.erb +69 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/footer/footer_04.html.erb +29 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_01.html.erb +62 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_02.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_03.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/nav/nav_04.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/review/_grades.html.erb +25 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/review/review_01.html.erb +39 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/stat/stat_01.html.erb +21 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_01.html.erb +20 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_02.html.erb +33 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/sections/testimonial/testimonial_03.html.erb +24 -0
- data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/banner/banner_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/cta/cta_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/faq/faq_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/feature/feature_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/footer/footer_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/image-placeholder.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/nav/nav_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/review/review_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/stat/stat_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/testimonial/testimonial_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/banner/banner_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/cta/cta_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/faq/faq_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/feature/feature_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/footer/footer_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/image-placeholder.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/logoipsum-white.svg +1 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/logoipsum.svg +1 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/marie-curie.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/nav/nav_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/review/review_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/stat/stat_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public/theme/testimonial/testimonial_03.jpg +0 -0
- data/lib/maglev/hyperui/railtie.rb +6 -0
- data/lib/maglev/hyperui/version.rb +5 -0
- data/lib/maglev/hyperui.rb +8 -0
- metadata +176 -0
@@ -0,0 +1,94 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Slim with Branding and Link Top"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: footer
|
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: bottom
|
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: "/theme/logoipsum.svg"
|
28
|
+
|
29
|
+
- label: "Text"
|
30
|
+
id: text
|
31
|
+
type: text
|
32
|
+
html: true
|
33
|
+
line_break: true
|
34
|
+
nb_rows: 4
|
35
|
+
default: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Incidunt consequuntur amet culpa cum itaque neque."
|
36
|
+
|
37
|
+
- label: "Copyright"
|
38
|
+
id: copyright
|
39
|
+
type: text
|
40
|
+
html: true
|
41
|
+
line_break: true
|
42
|
+
nb_rows: 2
|
43
|
+
default: "Copyright © 2022. All rights reserved."
|
44
|
+
|
45
|
+
# Definition of the blocks.
|
46
|
+
# You can define as many types of blocks as you want.
|
47
|
+
blocks:
|
48
|
+
- name: "Link"
|
49
|
+
type: link_item
|
50
|
+
settings:
|
51
|
+
- label: "Link"
|
52
|
+
id: link
|
53
|
+
type: link
|
54
|
+
with_text: true
|
55
|
+
default: "/"
|
56
|
+
|
57
|
+
# By default, in the editor UI, blocks will be listed below the "Content" title.
|
58
|
+
# The title can be changed with the following property:
|
59
|
+
blocks_label: "Links"
|
60
|
+
|
61
|
+
# By default, blocks are presented as a list in the editor UI.
|
62
|
+
# If you like to use blocks to build a menu with sub menu items,
|
63
|
+
# consider using the tree presentation
|
64
|
+
# blocks_presentation: "tree"
|
65
|
+
|
66
|
+
# In order to get a section with "meaning" content for the editors,
|
67
|
+
# you can set the default content of a new instance of this section.
|
68
|
+
# (it's also be useful when taking a screenshot of the section).
|
69
|
+
sample:
|
70
|
+
settings:
|
71
|
+
logo: "/theme/logoipsum.svg"
|
72
|
+
text: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Incidunt consequuntur amet culpa cum itaque neque."
|
73
|
+
copyright: "Copyright © 2022. All rights reserved."
|
74
|
+
blocks:
|
75
|
+
- type: link_item
|
76
|
+
settings:
|
77
|
+
link:
|
78
|
+
text: "About"
|
79
|
+
href: "#"
|
80
|
+
- type: link_item
|
81
|
+
settings:
|
82
|
+
link:
|
83
|
+
text: "Services"
|
84
|
+
href: "#"
|
85
|
+
- type: link_item
|
86
|
+
settings:
|
87
|
+
link:
|
88
|
+
text: "Projects"
|
89
|
+
href: "#"
|
90
|
+
- type: link_item
|
91
|
+
settings:
|
92
|
+
link:
|
93
|
+
text: "Blog"
|
94
|
+
href: "#"
|
@@ -0,0 +1,135 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Left 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: "/theme/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: "/theme/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: "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: "/theme/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: "/theme/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: "/theme/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: "/theme/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: "/theme/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: "/theme/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'
|