maglevcms-hyperui-kit 1.0.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/maglev/hyperui/install/install_generator.rb +16 -0
- data/lib/generators/maglev/hyperui/install/templates/app/views/theme/layout.html.erb +2 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_01.yml +97 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_02.yml +97 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/banner/banner_03.yml +102 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_01.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_02.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/cta/cta_03.yml +79 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_01.yml +64 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_02.yml +64 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/faq/faq_03.yml +73 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_01.yml +105 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_02.yml +127 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/feature/feature_03.yml +127 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_01.yml +220 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_02.yml +232 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_03.yml +217 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/footer/footer_04.yml +94 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_01.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_02.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_03.yml +135 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/nav/nav_04.yml +129 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/review/review_01.yml +105 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/stat/stat_01.yml +85 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_01.yml +69 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_02.yml +107 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/sections/testimonial/testimonial_03.yml +103 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/themes/%theme_name%/theme.yml.tt +178 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/maglev/editor/_header.html.erb +2 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/layout.html.erb +26 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_01.html.erb +20 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_02.html.erb +23 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/banner/banner_03.html.erb +25 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_01.html.erb +15 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_02.html.erb +38 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/cta/cta_03.html.erb +23 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_01.html.erb +30 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_02.html.erb +30 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/faq/faq_03.html.erb +49 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_01.html.erb +27 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_02.html.erb +29 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/feature/feature_03.html.erb +26 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_01.html.erb +60 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_02.html.erb +47 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_03.html.erb +69 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/footer/footer_04.html.erb +29 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_01.html.erb +62 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_02.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_03.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/nav/nav_04.html.erb +65 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/review/_grades.html.erb +25 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/review/review_01.html.erb +39 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/stat/stat_01.html.erb +21 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_01.html.erb +20 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_02.html.erb +33 -0
- data/lib/generators/maglev/hyperui/install/templates/app_pro/views/themes/%theme_name%/sections/testimonial/testimonial_03.html.erb +24 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/banner/banner_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/cta/cta_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/faq/faq_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/feature/feature_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/footer/footer_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/nav/nav_04.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/review/review_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/stat/stat_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_01.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_02.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/%theme_name%/testimonial/testimonial_03.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/image-placeholder.jpg +0 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/logoipsum-white.svg +1 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/logoipsum.svg +1 -0
- data/lib/generators/maglev/hyperui/install/templates/public_pro/themes/marie-curie.jpg +0 -0
- data/lib/maglev/hyperui/railtie.rb +3 -0
- data/lib/maglev/hyperui/version.rb +1 -1
- data/lib/tasks/maglev_hyperui_kit.rake +61 -0
- metadata +90 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f95a639a1b1391bf4b45799cfb55ba719207e1def001f131273fc11d70c205d7
|
4
|
+
data.tar.gz: a31bdb6c8385c0b4d3ca44922b364e2f3b1d317c57a3f11aa236f03be919d97f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0df62edb5c3cbb956f5b296c7f0915fbcdc0034524df5affc0c8547adf25d50d64d569804e72bc26fbd8c076838cc67164c1aa1f4f3a629f81afb4514709dd1f
|
7
|
+
data.tar.gz: 6fae0ee0aff05df566e75b0eb50684c3f8b871bdbdf48cbabf99af82ece82519895bff018a3122ec9dc4b20805e115a810420bb64b1f1fe817fa45b772a6cef8
|
@@ -3,10 +3,26 @@ module Maglev
|
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
4
|
source_root File.expand_path('templates', __dir__)
|
5
5
|
|
6
|
+
class_option :theme, type: :string, default: nil
|
7
|
+
|
8
|
+
attr_reader :theme_name
|
9
|
+
|
10
|
+
def set_theme_name
|
11
|
+
@theme_name = options['theme']
|
12
|
+
end
|
13
|
+
|
6
14
|
def copy_theme_and_sections
|
15
|
+
return if theme_name.present?
|
7
16
|
directory 'app'
|
8
17
|
directory 'public'
|
9
18
|
end
|
19
|
+
|
20
|
+
def copy_pro_theme_and_sections
|
21
|
+
return if theme_name.blank?
|
22
|
+
rake('maglev_pro:hyperui_kit:create_pro_version')
|
23
|
+
directory 'app_pro', 'app'
|
24
|
+
directory 'public_pro', 'public'
|
25
|
+
end
|
10
26
|
|
11
27
|
end
|
12
28
|
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Centered with Actions"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: banner
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Top title"
|
22
|
+
id: top_title
|
23
|
+
type: text
|
24
|
+
default: "Understand User Flow."
|
25
|
+
|
26
|
+
- label: "Bottom title"
|
27
|
+
id: bottom_title
|
28
|
+
type: text
|
29
|
+
default: "Increase Conversion."
|
30
|
+
|
31
|
+
- label: "Body"
|
32
|
+
id: body
|
33
|
+
type: text
|
34
|
+
html: true
|
35
|
+
line_break: true
|
36
|
+
nb_rows: 5
|
37
|
+
default: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
38
|
+
|
39
|
+
- label: "Primary call to action"
|
40
|
+
id: primary_cta
|
41
|
+
type: link
|
42
|
+
with_text: true
|
43
|
+
default:
|
44
|
+
text: "Get Started"
|
45
|
+
href: "#"
|
46
|
+
|
47
|
+
- label: "Secondary call to action"
|
48
|
+
id: secondary_cta
|
49
|
+
type: link
|
50
|
+
with_text: true
|
51
|
+
default:
|
52
|
+
text: "Learn More"
|
53
|
+
href: "#"
|
54
|
+
|
55
|
+
- label: "Show primary call to action"
|
56
|
+
id: show_primary_cta
|
57
|
+
type: checkbox
|
58
|
+
advanced: true
|
59
|
+
default: true
|
60
|
+
|
61
|
+
- label: "Show secondary call to action"
|
62
|
+
id: show_secondary_cta
|
63
|
+
type: checkbox
|
64
|
+
advanced: true
|
65
|
+
default: true
|
66
|
+
|
67
|
+
# Definition of the blocks.
|
68
|
+
# You can define as many types of blocks as you want.
|
69
|
+
blocks: []
|
70
|
+
|
71
|
+
# By default, in the editor UI, blocks will be listed below the "Content" title.
|
72
|
+
# The title can be changed with the following property:
|
73
|
+
# blocks_label: "My list of items"
|
74
|
+
|
75
|
+
# By default, blocks are presented as a list in the editor UI.
|
76
|
+
# If you like to use blocks to build a menu with sub menu items,
|
77
|
+
# consider using the tree presentation
|
78
|
+
# blocks_presentation: "tree"
|
79
|
+
|
80
|
+
# In order to get a section with "meaning" content for the editors,
|
81
|
+
# you can set the default content of a new instance of this section.
|
82
|
+
# (it's also be useful when taking a screenshot of the section).
|
83
|
+
# sample:
|
84
|
+
# settings:
|
85
|
+
# top_title: "Understand User Flow."
|
86
|
+
# bottom_title: "Increase Conversion."
|
87
|
+
# body: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
88
|
+
# primary_cta:
|
89
|
+
# text: "Get Started"
|
90
|
+
# href: "#"
|
91
|
+
# secondary_cta:
|
92
|
+
# text: "Learn More"
|
93
|
+
# href: "#"
|
94
|
+
# show_primary_cta: true
|
95
|
+
# show_secondary_cta: true
|
96
|
+
# blocks: []
|
97
|
+
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Centered with Actions and Gradient"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: banner
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Top title"
|
22
|
+
id: top_title
|
23
|
+
type: text
|
24
|
+
default: "Understand User Flow."
|
25
|
+
|
26
|
+
- label: "Bottom title"
|
27
|
+
id: bottom_title
|
28
|
+
type: text
|
29
|
+
default: "Increase Conversion."
|
30
|
+
|
31
|
+
- label: "Body"
|
32
|
+
id: body
|
33
|
+
type: text
|
34
|
+
html: true
|
35
|
+
line_break: true
|
36
|
+
nb_rows: 5
|
37
|
+
default: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
38
|
+
|
39
|
+
- label: "Primary call to action"
|
40
|
+
id: primary_cta
|
41
|
+
type: link
|
42
|
+
with_text: true
|
43
|
+
default:
|
44
|
+
text: "Get Started"
|
45
|
+
href: "#"
|
46
|
+
|
47
|
+
- label: "Secondary call to action"
|
48
|
+
id: secondary_cta
|
49
|
+
type: link
|
50
|
+
with_text: true
|
51
|
+
default:
|
52
|
+
text: "Learn More"
|
53
|
+
href: "#"
|
54
|
+
|
55
|
+
- label: "Show primary call to action"
|
56
|
+
id: show_primary_cta
|
57
|
+
type: checkbox
|
58
|
+
advanced: true
|
59
|
+
default: true
|
60
|
+
|
61
|
+
- label: "Show secondary call to action"
|
62
|
+
id: show_secondary_cta
|
63
|
+
type: checkbox
|
64
|
+
advanced: true
|
65
|
+
default: true
|
66
|
+
|
67
|
+
# Definition of the blocks.
|
68
|
+
# You can define as many types of blocks as you want.
|
69
|
+
blocks: []
|
70
|
+
|
71
|
+
# By default, in the editor UI, blocks will be listed below the "Content" title.
|
72
|
+
# The title can be changed with the following property:
|
73
|
+
# blocks_label: "My list of items"
|
74
|
+
|
75
|
+
# By default, blocks are presented as a list in the editor UI.
|
76
|
+
# If you like to use blocks to build a menu with sub menu items,
|
77
|
+
# consider using the tree presentation
|
78
|
+
# blocks_presentation: "tree"
|
79
|
+
|
80
|
+
# In order to get a section with "meaning" content for the editors,
|
81
|
+
# you can set the default content of a new instance of this section.
|
82
|
+
# (it's also be useful when taking a screenshot of the section).
|
83
|
+
# sample:
|
84
|
+
# settings:
|
85
|
+
# top_title: "Understand User Flow."
|
86
|
+
# bottom_title: "Increase Conversion."
|
87
|
+
# body: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
88
|
+
# primary_cta:
|
89
|
+
# text: "Get Started"
|
90
|
+
# href: "#"
|
91
|
+
# secondary_cta:
|
92
|
+
# text: "Learn More"
|
93
|
+
# href: "#"
|
94
|
+
# show_primary_cta: true
|
95
|
+
# show_secondary_cta: true
|
96
|
+
# blocks: []
|
97
|
+
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Left with Actions and Image"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: banner
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Top title"
|
22
|
+
id: top_title
|
23
|
+
type: text
|
24
|
+
default: "Let us find your"
|
25
|
+
|
26
|
+
- label: "Bottom title"
|
27
|
+
id: bottom_title
|
28
|
+
type: text
|
29
|
+
default: "Forever Home."
|
30
|
+
|
31
|
+
- label: "Background image"
|
32
|
+
id: background_image
|
33
|
+
type: image
|
34
|
+
default: "/themes/image-placeholder.jpg"
|
35
|
+
|
36
|
+
- label: "Body"
|
37
|
+
id: body
|
38
|
+
type: text
|
39
|
+
html: true
|
40
|
+
line_break: true
|
41
|
+
nb_rows: 5
|
42
|
+
default: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
43
|
+
|
44
|
+
- label: "Primary call to action"
|
45
|
+
id: primary_cta
|
46
|
+
type: link
|
47
|
+
with_text: true
|
48
|
+
default:
|
49
|
+
text: "Get Started"
|
50
|
+
href: "#"
|
51
|
+
|
52
|
+
- label: "Secondary call to action"
|
53
|
+
id: secondary_cta
|
54
|
+
type: link
|
55
|
+
with_text: true
|
56
|
+
default:
|
57
|
+
text: "Learn More"
|
58
|
+
href: "#"
|
59
|
+
|
60
|
+
- label: "Show primary call to action"
|
61
|
+
id: show_primary_cta
|
62
|
+
type: checkbox
|
63
|
+
advanced: true
|
64
|
+
default: true
|
65
|
+
|
66
|
+
- label: "Show secondary call to action"
|
67
|
+
id: show_secondary_cta
|
68
|
+
type: checkbox
|
69
|
+
advanced: true
|
70
|
+
default: true
|
71
|
+
|
72
|
+
# Definition of the blocks.
|
73
|
+
# You can define as many types of blocks as you want.
|
74
|
+
blocks: []
|
75
|
+
|
76
|
+
# By default, in the editor UI, blocks will be listed below the "Content" title.
|
77
|
+
# The title can be changed with the following property:
|
78
|
+
# blocks_label: "My list of items"
|
79
|
+
|
80
|
+
# By default, blocks are presented as a list in the editor UI.
|
81
|
+
# If you like to use blocks to build a menu with sub menu items,
|
82
|
+
# consider using the tree presentation
|
83
|
+
# blocks_presentation: "tree"
|
84
|
+
|
85
|
+
# In order to get a section with "meaning" content for the editors,
|
86
|
+
# you can set the default content of a new instance of this section.
|
87
|
+
# (it's also be useful when taking a screenshot of the section).
|
88
|
+
# sample:
|
89
|
+
# settings:
|
90
|
+
# top_title: "Let us find your"
|
91
|
+
# bottom_title: "Forever Home."
|
92
|
+
# body: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!"
|
93
|
+
# primary_cta:
|
94
|
+
# text: "Get Started"
|
95
|
+
# href: "#"
|
96
|
+
# secondary_cta:
|
97
|
+
# text: "Learn More"
|
98
|
+
# href: "#"
|
99
|
+
# show_primary_cta: true
|
100
|
+
# show_secondary_cta: true
|
101
|
+
# blocks: []
|
102
|
+
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Content and Image"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: cta
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Title"
|
22
|
+
id: title
|
23
|
+
type: text
|
24
|
+
nb_rows: 3
|
25
|
+
default: "Lorem, ipsum dolor sit amet consectetur adipisicing elit"
|
26
|
+
|
27
|
+
- label: "Body"
|
28
|
+
id: body
|
29
|
+
type: text
|
30
|
+
html: true
|
31
|
+
line_break: true
|
32
|
+
nb_rows: 5
|
33
|
+
default: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Et, egestas tempus tellus etiam sed. Quam a scelerisque amet ullamcorper eu enim et fermentum, augue. Aliquet amet volutpat quisque ut interdum tincidunt duis."
|
34
|
+
|
35
|
+
- label: "Image"
|
36
|
+
id: image
|
37
|
+
type: image
|
38
|
+
default: "/themes/image-placeholder.jpg"
|
39
|
+
|
40
|
+
- label: "Button"
|
41
|
+
id: button
|
42
|
+
type: link
|
43
|
+
with_text: true
|
44
|
+
default:
|
45
|
+
text: "Get Started Today"
|
46
|
+
href: "#"
|
47
|
+
|
48
|
+
# Definition of the blocks.
|
49
|
+
# You can define as many types of blocks as you want.
|
50
|
+
blocks: []
|
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: "My list of items"
|
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
|
+
# title: "Lorem, ipsum dolor sit amet consectetur adipisicing elit"
|
67
|
+
# body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Et, egestas tempus tellus etiam sed. Quam a scelerisque amet ullamcorper eu enim et fermentum, augue. Aliquet amet volutpat quisque ut interdum tincidunt duis."
|
68
|
+
# image: "/themes/image-placeholder.jpg"
|
69
|
+
# button:
|
70
|
+
# text: "Get Started Today"
|
71
|
+
# href: "#"
|
72
|
+
# blocks: []
|
73
|
+
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Featured Product"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: cta
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Title"
|
22
|
+
id: title
|
23
|
+
type: text
|
24
|
+
nb_rows: 3
|
25
|
+
default: "Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quo!"
|
26
|
+
|
27
|
+
- label: "Body"
|
28
|
+
id: body
|
29
|
+
type: text
|
30
|
+
html: true
|
31
|
+
line_break: true
|
32
|
+
nb_rows: 5
|
33
|
+
default: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Inventore officia corporis quasi doloribus iure architecto quae voluptatum beatae excepturi dolores."
|
34
|
+
|
35
|
+
- label: "Image"
|
36
|
+
id: background_image
|
37
|
+
type: image
|
38
|
+
default: "/themes/image-placeholder.jpg"
|
39
|
+
|
40
|
+
- label: "Button"
|
41
|
+
id: button
|
42
|
+
type: link
|
43
|
+
with_text: true
|
44
|
+
default:
|
45
|
+
text: "Order Now"
|
46
|
+
href: "#"
|
47
|
+
|
48
|
+
# Definition of the blocks.
|
49
|
+
# You can define as many types of blocks as you want.
|
50
|
+
blocks: []
|
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: "My list of items"
|
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
|
+
title: "Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quo!"
|
67
|
+
body: "Lorem ipsum dolor, sit amet consectetur adipisicing elit. Inventore officia corporis quasi doloribus iure architecto quae voluptatum beatae excepturi dolores."
|
68
|
+
background_image: "/themes/image-placeholder.jpg"
|
69
|
+
button:
|
70
|
+
text: "Order Now"
|
71
|
+
href: "#"
|
72
|
+
blocks: []
|
73
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "Content with Image Grid"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: cta
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings:
|
21
|
+
- label: "Title"
|
22
|
+
id: title
|
23
|
+
type: text
|
24
|
+
nb_rows: 3
|
25
|
+
default: "Lorem, ipsum dolor sit amet consectetur adipisicing elit"
|
26
|
+
|
27
|
+
- label: "Body"
|
28
|
+
id: body
|
29
|
+
type: text
|
30
|
+
html: true
|
31
|
+
line_break: true
|
32
|
+
nb_rows: 5
|
33
|
+
default: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Et, egestas tempus tellus etiam sed. Quam a scelerisque amet ullamcorper eu enim et fermentum, augue. Aliquet amet volutpat quisque ut interdum tincidunt duis."
|
34
|
+
|
35
|
+
- label: "Button"
|
36
|
+
id: button
|
37
|
+
type: link
|
38
|
+
with_text: true
|
39
|
+
default:
|
40
|
+
text: "Get Started Today"
|
41
|
+
href: "#"
|
42
|
+
|
43
|
+
- label: "First image"
|
44
|
+
id: first_image
|
45
|
+
type: image
|
46
|
+
default: "/themes/image-placeholder.jpg"
|
47
|
+
|
48
|
+
- label: "Second image"
|
49
|
+
id: second_image
|
50
|
+
type: image
|
51
|
+
default: "/themes/image-placeholder.jpg"
|
52
|
+
|
53
|
+
# Definition of the blocks.
|
54
|
+
# You can define as many types of blocks as you want.
|
55
|
+
blocks: []
|
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: "My list of items"
|
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
|
+
# title: "Lorem, ipsum dolor sit amet consectetur adipisicing elit"
|
72
|
+
# body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Et, egestas tempus tellus etiam sed. Quam a scelerisque amet ullamcorper eu enim et fermentum, augue. Aliquet amet volutpat quisque ut interdum tincidunt duis."
|
73
|
+
# first_image: "/themes/image-placeholder.jpg"
|
74
|
+
# second_image: "/themes/image-placeholder.jpg"
|
75
|
+
# button:
|
76
|
+
# text: "Get Started Today"
|
77
|
+
# href: "#"
|
78
|
+
# blocks: []
|
79
|
+
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# Name of the section displayed in the editor UI
|
2
|
+
name: "With Icon"
|
3
|
+
|
4
|
+
# Category of the section in the editor UI (headers, features, testimonials, ...etc)
|
5
|
+
category: faq
|
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
|
+
# Definition of the settings:
|
18
|
+
# A setting type can be one of the following values: text, image, link, collection_item, checkbox, color and icon.
|
19
|
+
# Please visit: https://docs.maglev.dev/concepts/setting for more explanation.
|
20
|
+
settings: []
|
21
|
+
|
22
|
+
# Definition of the blocks.
|
23
|
+
# You can define as many types of blocks as you want.
|
24
|
+
blocks:
|
25
|
+
- name: "question"
|
26
|
+
type: question
|
27
|
+
limit: 1
|
28
|
+
settings:
|
29
|
+
- label: "Question"
|
30
|
+
id: question
|
31
|
+
type: text
|
32
|
+
default: "Lorem ipsum dolor sit amet consectetur adipisicing?"
|
33
|
+
|
34
|
+
- label: "Answer"
|
35
|
+
id: answer
|
36
|
+
type: text
|
37
|
+
html: true
|
38
|
+
line_break: true
|
39
|
+
nb_rows: 5
|
40
|
+
default: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis explicabo consequuntur distinctio corporis earum similique!"
|
41
|
+
|
42
|
+
# By default, in the editor UI, blocks will be listed below the "Content" title.
|
43
|
+
# The title can be changed with the following property:
|
44
|
+
blocks_label: "Questions"
|
45
|
+
|
46
|
+
# By default, blocks are presented as a list in the editor UI.
|
47
|
+
# If you like to use blocks to build a menu with sub menu items,
|
48
|
+
# consider using the tree presentation
|
49
|
+
# blocks_presentation: "tree"
|
50
|
+
|
51
|
+
# In order to get a section with "meaning" content for the editors,
|
52
|
+
# you can set the default content of a new instance of this section.
|
53
|
+
# (it's also be useful when taking a screenshot of the section).
|
54
|
+
sample:
|
55
|
+
blocks:
|
56
|
+
- type: question
|
57
|
+
settings:
|
58
|
+
question: "Lorem ipsum dolor sit amet consectetur adipisicing?"
|
59
|
+
answer: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis explicabo consequuntur distinctio corporis earum similique!"
|
60
|
+
- type: question
|
61
|
+
settings:
|
62
|
+
question: "Lorem ipsum dolor sit amet consectetur adipisicing?"
|
63
|
+
answer: "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Ab hic veritatis molestias culpa in, recusandae laboriosam neque aliquid libero nesciunt voluptate dicta quo officiis explicabo consequuntur distinctio corporis earum similique!"
|
64
|
+
|