tramway-landing 1.8.2.3 → 1.8.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/app/views/layouts/tramway/landing/application.html.haml +4 -2
- data/lib/tramway/landing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7797a8f7536f0d9591bd5fa56211b9d21417304ec8a0d2258ac5b862846fe548
|
4
|
+
data.tar.gz: 8b3776e85b94d3002038418c8e72bc2c4af36a92aa2b9bd7bf0743b9b9139ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c545d35fa39e9c236a2b8a2c78c7d0b5250bb4184b8d6d0e6c4760af06fc8fccde351e68b6744ef0e95926c921efdb409f0f90027c77dd9fe604421669982f8
|
7
|
+
data.tar.gz: 41346a2de87e0333cf6a36a0e62b1483cd106c44e56b54c9b15892f43f3df9a494993622c90be94776dc797c069e585ee97aadd30cc764e6b558cb5ac8727dd0
|
data/README.md
CHANGED
@@ -14,10 +14,9 @@ List of blocks:
|
|
14
14
|
* Cards
|
15
15
|
* Features list
|
16
16
|
* Contacts
|
17
|
-
* News
|
18
|
-
* Block with text and button
|
19
17
|
* View
|
20
18
|
* Just text
|
19
|
+
* Link to the object
|
21
20
|
|
22
21
|
All block's previews you can see at the bottom of this Readme
|
23
22
|
|
@@ -118,10 +117,9 @@ How create blocks you can find here
|
|
118
117
|
* [Cards](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/cards/main.md)
|
119
118
|
* [Features list](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/features/main.md)
|
120
119
|
* [Contacts](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/contacts/main.md)
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
* Just text
|
120
|
+
* [View](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/view/main.md)
|
121
|
+
* [Just text](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/just_text/main.md)
|
122
|
+
* Link to object
|
125
123
|
|
126
124
|
## Contributing
|
127
125
|
Contribution directions go here.
|
@@ -20,7 +20,8 @@
|
|
20
20
|
- footers = @blocks.select { |block| block.model.block_type.footer? }
|
21
21
|
- other_blocks = @blocks - headers - footers
|
22
22
|
-# FIXME
|
23
|
-
|
23
|
+
- if headers.first.present?
|
24
|
+
= render "tramway/landing/blocks/block_types/header", block: headers.first
|
24
25
|
%main.mt-5
|
25
26
|
.container
|
26
27
|
- other_blocks.each_with_index do |block, index|
|
@@ -34,4 +35,5 @@
|
|
34
35
|
= yield
|
35
36
|
- if @blocks&.any?
|
36
37
|
- footers = @blocks.select { |block| block.model.block_type.footer? }
|
37
|
-
|
38
|
+
- if footers.first.any?
|
39
|
+
= render "tramway/landing/blocks/block_types/footer", block: footers.first
|
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.8.2.
|
4
|
+
version: 1.8.2.4
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|