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
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d920cc6483be76fb904b81677954400a2f952f82f395a9bd1fb23fde1a4c70f7
|
4
|
+
data.tar.gz: 4b2a79ffdd80d667fdbb483d0f58d3b725ef8183d517a3e80e9801449ad551fc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 11492fac4c0e9f0cd869d0db32be0ff69713e78905564d93809df128ecc8d1e1c4d78f86e0f6c48cb3bd2d7be52f9d940525143cc7880f2ddb12d9e2dc420736
|
7
|
+
data.tar.gz: d1f0129617b62ca9d30bbd7902fee2a911464d7cfbfeb5037a66625617824b66150cb2cbbe86b778c89dee2115344cef0c6ebc5c5d4cbdeb08463dc528396ae5
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2022 Didier Lafforgue
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Maglev::Hyperui
|
2
|
+
|
3
|
+
Gem to be used in addition to the `maglev` gem in order to have some sections to play with.
|
4
|
+
|
5
|
+
The sections are based on the awesome job from Mark Mead with the `hyperui` components.
|
6
|
+
Check it out [here](https://www.hyperui.dev).
|
7
|
+
|
8
|
+
## Development
|
9
|
+
|
10
|
+
This gem works by extracting all the Maglev files of the `https://github.com/maglevhq/maglev-hyperui` Ruby on Rails application powered by Maglev.
|
11
|
+
|
12
|
+
In other words, the development of the sections is mainly done on the `https://github.com/maglevhq/maglev-hyperui` project.
|
13
|
+
|
14
|
+
Once the modifications or the creation of new sections have been made, the `maglev-hyperui-kit` gem has to been updated as well with the following command:
|
15
|
+
|
16
|
+
```bash
|
17
|
+
bundle exec rake copy_sections
|
18
|
+
```
|
19
|
+
|
20
|
+
## Release a new version
|
21
|
+
|
22
|
+
Bump the version of gem here: `maglev/hyperui/version` and release the gem:
|
23
|
+
|
24
|
+
```bash
|
25
|
+
bundle exec rake release
|
26
|
+
```
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
Add this line to your application's Gemfile:
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
gem 'maglev-hyperui-kit'
|
34
|
+
```
|
35
|
+
|
36
|
+
And then execute:
|
37
|
+
```bash
|
38
|
+
$ bundle
|
39
|
+
```
|
40
|
+
|
41
|
+
## License
|
42
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require "bundler/setup"
|
2
|
+
|
3
|
+
require "bundler/gem_tasks"
|
4
|
+
|
5
|
+
desc "Copy all the Hyperui sections"
|
6
|
+
task :copy_sections do
|
7
|
+
source_root_path = ENV['MAGLEV_HYPERUI_PATH']
|
8
|
+
destination_root_path = File.join(File.expand_path(__dir__), 'lib/generators/maglev/hyperui/install/templates')
|
9
|
+
|
10
|
+
raise 'missing MAGLEV_HYPERUI_PATH env variable 😘' if source_root_path.nil?
|
11
|
+
|
12
|
+
require 'fileutils'
|
13
|
+
|
14
|
+
# copy the maglev views folder
|
15
|
+
destination_path = File.join(destination_root_path, '/app/views')
|
16
|
+
FileUtils.mkdir_p(destination_path)
|
17
|
+
|
18
|
+
FileUtils.cp_r(
|
19
|
+
File.join(source_root_path, '/app/views/maglev'),
|
20
|
+
destination_path
|
21
|
+
)
|
22
|
+
|
23
|
+
# copy the section definitions
|
24
|
+
FileUtils.cp_r(
|
25
|
+
File.join(source_root_path, '/app/theme'),
|
26
|
+
File.join(destination_root_path, '/app')
|
27
|
+
)
|
28
|
+
|
29
|
+
# copy the section templates
|
30
|
+
FileUtils.cp_r(
|
31
|
+
File.join(source_root_path, '/app/views/theme'),
|
32
|
+
File.join(destination_root_path, '/app/views')
|
33
|
+
)
|
34
|
+
|
35
|
+
# copy the section assets
|
36
|
+
FileUtils.cp_r(
|
37
|
+
File.join(source_root_path, '/public/theme'),
|
38
|
+
File.join(destination_root_path, '/public')
|
39
|
+
)
|
40
|
+
|
41
|
+
puts "🎉 All the files have been copied with success!"
|
42
|
+
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: "/theme/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: "/theme/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: "/theme/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: "/theme/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: "/theme/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: "/theme/image-placeholder.jpg"
|
47
|
+
|
48
|
+
- label: "Second image"
|
49
|
+
id: second_image
|
50
|
+
type: image
|
51
|
+
default: "/theme/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: "/theme/image-placeholder.jpg"
|
74
|
+
# second_image: "/theme/image-placeholder.jpg"
|
75
|
+
# button:
|
76
|
+
# text: "Get Started Today"
|
77
|
+
# href: "#"
|
78
|
+
# blocks: []
|
79
|
+
|