tramway-landing 1.2.19 → 1.2.20

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: 82f265922fc37f340bbff014f2e2d7fce8108f4b9ae67c7270946c441b80193a
4
- data.tar.gz: fdf76e1085bbdf6628c5512ec4e01aaae7911ff8d99054035486b8332db0c4a2
3
+ metadata.gz: 3389eabf1115488f344d16399d1869f859eae18051288a729a3058030df55749
4
+ data.tar.gz: 5f255707ffed5454db78c852d50b088f365820ea3b072fbf00c7e4e8f625defc
5
5
  SHA512:
6
- metadata.gz: 73343fcfc476cfe73427726a7b73aebfa5b41b5ec3c38e13a9cdc1905e4291b4f23eee8800a6e6ccc08c985c971907fcfd0b092b5c1f8540f8715c01be62f081
7
- data.tar.gz: 7c070c53d0c6dc813babaf91438c0f86486352d84e82fcd07bd846f473b7c32e0fa326d0c52cf61625f5fe5d141e498cad93b5529c8d99cc042be9d84c82d724
6
+ metadata.gz: d174f63207b209593e84ee8bb15e519fd4d04ec4eaab0676b9426be7a81c7af159e20df23468eda04b8c74f8517bbcdc8b3da392f24290e2d69f203a48b34988
7
+ data.tar.gz: 936d883e54f021c00dacac6343d35622a07b80cdf96e148326c7cd42c002bd6b49d2ccb27a9a215063cf91c7e8f9d6575c273827385bfa5773c941231677cc38
@@ -1,21 +1,22 @@
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.col-sm-2.col-xl-4.col-lg-4.col-md-4.mb-1.auto{ class: (item.anchor.present? ? :link : ''), data: { href: item.anchor.present? ? "##{item.anchor}" : '' } }
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
1
+ - if collection.any?
2
+ %main.mt-5{ id: block.anchor }
3
+ .container
4
+ %section#best-features.text-center
5
+ %h2.mb-4.font-weight-bold
6
+ = block.title
7
+ .row.d-flex.justify-content-center.mb-4
8
+ .col-md-8
9
+ %p.grey-text
10
+ = block.description
11
+ - collection.each_slice 5 do |sub_collection|
12
+ .row
13
+ - sub_collection.each do |item|
14
+ .col.col-sm-2.col-xl-4.col-lg-4.col-md-4.mb-1.auto{ class: (item.anchor.present? ? :link : ''), data: { href: item.anchor.present? ? "##{item.anchor}" : '' } }
15
+ - if item.icon.present?
16
+ = fa_icon item.icon, class: 'fa-4x blue-text'
17
+ - else
18
+ = image_tag item.image
19
+ %h4.my-4
20
+ = item.title
21
+ %p.grey-text
22
+ != item.text
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.2.19'
3
+ VERSION = '1.2.20'
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.19
4
+ version: 1.2.20
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-25 00:00:00.000000000 Z
11
+ date: 2018-09-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email: