tramway-landing 2.0.0.1 → 2.0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/tramway/landing/application.sass +7 -0
- data/app/decorators/tramway/landing/block_decorator.rb +4 -0
- data/app/decorators/tramway/landing/block_link_decorator.rb +7 -0
- data/app/views/layouts/tramway/landing/application.html.haml +5 -5
- data/app/views/tramway/landing/blocks/block_types/_contacts.html.haml +1 -1
- data/lib/tramway/landing/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfb78cf86f79da777ae105e6baee14263b3fb0db01cc7f3e8b2efb370b0a7004
|
4
|
+
data.tar.gz: 82b57028ea92c223ab1e2eb1b177706ee4a2cef2d0127f00a39ad172c78b2d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb181b1315f078d0b76edd7a6e1e80278ce1ec6dee34be7b472c440c66524e20f7ee9c8cf4fe939e38fe5a2d87b1a34ddbe1a2008b54e53c7e2bf73397f1b7bf
|
7
|
+
data.tar.gz: ca656ccf21d88ef05dac5c8ccdd3609dbcf70fa057656f772f95456775232ff4d16140543be607dfa2057508c69f5edfc5ce22cd98c912d633ff2376dc3e60b5
|
@@ -20,9 +20,9 @@
|
|
20
20
|
- headers = @blocks.select { |block| block.model.block_type&.header? }
|
21
21
|
- footers = @blocks.select { |block| block.model.block_type&.footer? }
|
22
22
|
- other_blocks = @blocks - headers - footers
|
23
|
-
-# FIXME
|
24
23
|
- if headers.first.present?
|
25
24
|
= render "tramway/landing/blocks/block_types/header", block: headers.first
|
25
|
+
|
26
26
|
%main.mt-5
|
27
27
|
.container
|
28
28
|
- other_blocks.each_with_index do |block, index|
|
@@ -31,10 +31,10 @@
|
|
31
31
|
%hr
|
32
32
|
.container-fluid
|
33
33
|
= yield
|
34
|
-
|
35
|
-
.container-fluid
|
36
|
-
= yield
|
37
|
-
- if @blocks&.any?
|
34
|
+
|
38
35
|
- footers = @blocks.select { |block| block.model.block_type&.footer? }
|
39
36
|
- if footers.first.present?
|
40
37
|
= render "tramway/landing/blocks/block_types/footer", block: footers.first
|
38
|
+
- else
|
39
|
+
.container-fluid
|
40
|
+
= yield
|
@@ -24,7 +24,7 @@
|
|
24
24
|
.row
|
25
25
|
- if defined?(::Tramway::Profiles)
|
26
26
|
.col-lg-5.col-md-12
|
27
|
-
- social_networks = @application.respond_to?(:social_networks) ? @application.social_networks : Tramway::Profiles::SocialNetwork.active
|
27
|
+
- social_networks = @application.respond_to?(:social_networks) ? @application.social_networks.active : Tramway::Profiles::SocialNetwork.active
|
28
28
|
- social_networks.each do |profile|
|
29
29
|
%ul.list-group
|
30
30
|
%li.list-group-item
|
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: 2.0.0.
|
4
|
+
version: 2.0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|
@@ -30,6 +30,7 @@ files:
|
|
30
30
|
- app/assets/stylesheets/tramway/landing/justified.css
|
31
31
|
- app/controllers/tramway/landing/application_controller.rb
|
32
32
|
- app/decorators/tramway/landing/block_decorator.rb
|
33
|
+
- app/decorators/tramway/landing/block_link_decorator.rb
|
33
34
|
- app/decorators/tramway/landing/block_types/cards_decorator.rb
|
34
35
|
- app/decorators/tramway/landing/block_types/features_decorator.rb
|
35
36
|
- app/decorators/tramway/landing/link_decorator.rb
|