tramway-landing 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91354b7831e8e8ddcf571541f8b96c32990d63726e1ac267683a5226959e7f1c
|
4
|
+
data.tar.gz: 7d06fdbd4c209a3d03cbc2b62bd9742765c7a88a9f9b08366c4db0c70b509a93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc09b4f910ebf1a1e505e1f9ea51910357f8c272f4889e6be62e7fdeb2523fd2248b5a38bf547a03e6e8b3d6210c8b786a9053f3391c3373d31b18f48813a858
|
7
|
+
data.tar.gz: be4321d710339a809c86b724020a413297c1d1783dc60d56572a53fb0a6df0d0c8767104b9603624c0a85b22839be45bd926fedecd84a7c74e061c0081e4269d
|
@@ -9,16 +9,32 @@
|
|
9
9
|
.col-md-8
|
10
10
|
%p.grey-text
|
11
11
|
= block.description
|
12
|
-
|
13
|
-
.
|
14
|
-
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
12
|
+
.row
|
13
|
+
- if collection.count == 1
|
14
|
+
- item = collection.first
|
15
|
+
.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}" : '' } }
|
16
|
+
- if item.icon.present?
|
17
|
+
= fa_icon item.icon, class: 'fa-4x blue-text'
|
18
|
+
- else
|
19
|
+
- image_css_class_name = defined?(options) ? options.dig(:image, :css, :class_name) : ''
|
20
|
+
= image_tag item.image, class: image_css_class_name
|
21
|
+
%h4.my-4
|
22
|
+
= item.title
|
23
|
+
%p.grey-text
|
24
|
+
!= item.text
|
25
|
+
.col.col-sm-10.col-xl-8.col-lg-8.col-md-8.mb-1.auto{ class: (item.anchor.present? ? :link : ''), data: { href: item.anchor.present? ? "##{item.anchor}" : '' } }
|
26
|
+
%p.grey-text
|
27
|
+
!= item.full_text
|
28
|
+
- else
|
29
|
+
- collection.each_slice 3 do |sub_collection|
|
30
|
+
- sub_collection.each do |item|
|
31
|
+
.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}" : '' } }
|
32
|
+
- if item.icon.present?
|
33
|
+
= fa_icon item.icon, class: 'fa-4x blue-text'
|
34
|
+
- else
|
35
|
+
- image_css_class_name = defined?(options) ? options.dig(:image, :css, :class_name) : ''
|
36
|
+
= image_tag item.image, class: image_css_class_name
|
37
|
+
%h4.my-4
|
38
|
+
= item.title
|
39
|
+
%p.grey-text
|
40
|
+
!= item.text
|
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.3.
|
4
|
+
version: 1.3.5
|
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-
|
11
|
+
date: 2018-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|