tramway-landing 1.2.13 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b25e0d6bbb37278aeb6c6c33fc394a8ee07e5a79c3627aad716071d615952449
4
- data.tar.gz: fe98b80f8d3f9f12314a75b2f8c62a15b222bea6a4c170c0eb6c693b02ed86a6
3
+ metadata.gz: 500828b4c130dfa3c3e8d7a73a0c47370891e3a13a9e1da97e0456fef4f8d401
4
+ data.tar.gz: f93d7e7d8a7e4de10641e9fa542a31a747bd88103c26c8f00c9fb3c76fca9f60
5
5
  SHA512:
6
- metadata.gz: fff62c0a3987b8b874fac6b6cbc57bcb57e5e512b4daf375f6b962a9c221f90abdf66de6d274a01a1aa927118ad6c13571042bc7a0cc29c663dfc9ba274b56db
7
- data.tar.gz: c369792207fba1855195d672f2afa5d46d58a1b6bb98ea752925c2e71d7ec0a3d94cf508727ed779a47c20478726dbdafabfd72c099ca0b33c3b397500ee60d7
6
+ metadata.gz: 0c53162d6161b30b78ea25b54e7434f621a6aaee48dfa059330e817b33c5fb39dc757a5304558789985eb10498af3af7d57e94484fd084be9f4e9a36042ecffb
7
+ data.tar.gz: 39a9c67681d6f113097f32fa62251ba969a131006d8cda7aa81bf6b688950ebde7e38bacb2116eec38b035403e0887a394d8f13e173e02e59df5b851c635f8cb
@@ -1,26 +1 @@
1
- %main.mt-5{ id: block.anchor }
2
- .container
3
- %section#best-features.text-center
4
- %h2.mb-4.font-weight-bold
5
- = block.title
6
- .row.d-flex.justify-content-center.mb-4
7
- .col-md-8
8
- %p.grey-text
9
- = block.description
10
- .row
11
- - eval("@collection_#{block.anchor}").each do |item|
12
- .col-md-4.mb-1
13
- - if item.icon.present?
14
- %i.fa.fa-camera-retro.fa-4x.orange-text{ class: "fa-#{item.icon}" }
15
- - else
16
- = image_tag item.image
17
- %h4.my-4
18
- = item.title
19
- %p.grey-text
20
- != item.text
21
- %hr.my-5/
22
- %section#examples
23
- %hr.my-5/
24
- %section#gallery
25
- %hr.my-5/
26
- %section#contact
1
+ = render 'tramway/landing/block_types/features', block: block, collection: eval("@collection_#{block.anchor}")
@@ -0,0 +1,27 @@
1
+ %main.mt-5{ id: block.anchor }
2
+ .container
3
+ %section#best-features.text-center
4
+ %h2.mb-4.font-weight-bold
5
+ = block.title
6
+ .row.d-flex.justify-content-center.mb-4
7
+ .col-md-8
8
+ %p.grey-text
9
+ = block.description
10
+ - collection.each_slice 5 do |sub_collection|
11
+ .row
12
+ - sub_collection.each do |item|
13
+ .col.mb-1
14
+ - if item.icon.present?
15
+ = fa_icon item.icon, class: 'fa-4x blue-text'
16
+ - else
17
+ = image_tag item.image
18
+ %h4.my-4
19
+ = item.title
20
+ %p.grey-text
21
+ != item.text
22
+ %hr.my-5/
23
+ %section#examples
24
+ %hr.my-5/
25
+ %section#gallery
26
+ %hr.my-5/
27
+ %section#contact
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.2.13'
3
+ VERSION = '1.2.14'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.13
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-16 00:00:00.000000000 Z
11
+ date: 2018-09-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -48,6 +48,7 @@ files:
48
48
  - app/views/tramway/landing/blocks/block_types/_header.html.haml
49
49
  - app/views/tramway/landing/blocks/block_types/_link.html.haml
50
50
  - app/views/tramway/landing/blocks/block_types/_page.html.haml
51
+ - app/views/tramway/landing/blocks/templates/_features_list.html.haml
51
52
  - app/views/tramway/landing/blocks/templates/_full_page.html.haml
52
53
  - config/initializers/assets.rb
53
54
  - config/initializers/tramway.rb