tramway-landing 1.8.1.1 → 1.8.1.2
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: 8cf25a923207426595d36f0fa0cb878f030749a4a977c150f7acf3c2fba07cea
|
4
|
+
data.tar.gz: 04a46d33119f0112cab21d1ed94afad605ae372c4e068a3f9236294715050c8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4c8cdd0e65f3db33269338893ec65d448df04ea5ac15f8d38324711709ef10702596f73bd33e941fee451332be21267cf85eec952df133e81f7be380d324f5
|
7
|
+
data.tar.gz: b3456e259d47c7948e300e6f6ae6beeb33707b855c0481bbceb0576fe4fa983149b189f4f25e509504e2b4c1760db37aa9eb57cab4c75c09bfec35ac3241a5f4
|
data/README.md
CHANGED
@@ -50,9 +50,19 @@ Then create your main page controller `rails g controller web/welcome`
|
|
50
50
|
*app/controllers/web/welcome_controller.rb*
|
51
51
|
```ruby
|
52
52
|
class Web::WelcomeController < ApplicationController
|
53
|
+
before_action :application
|
54
|
+
|
55
|
+
layout 'tramway/landing/application'
|
56
|
+
|
53
57
|
def index
|
54
58
|
@blocks = ::Tramway::Landing::BlockDecorator.decorate ::Tramway::Landing::Block.on_main_page
|
55
59
|
end
|
60
|
+
|
61
|
+
private
|
62
|
+
|
63
|
+
def application
|
64
|
+
@application = ::Tramway::Core.application_object
|
65
|
+
end
|
56
66
|
end
|
57
67
|
```
|
58
68
|
|
@@ -97,6 +107,22 @@ root to: 'web/welcome#index'
|
|
97
107
|
|
98
108
|
Then all your showing blocks will be on the main page.
|
99
109
|
|
110
|
+
## Blocks
|
111
|
+
|
112
|
+
How create blocks you can find here
|
113
|
+
|
114
|
+
* [Header](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/header/main.md)
|
115
|
+
* Footer
|
116
|
+
* Block with text and image
|
117
|
+
* Block with text, image and button
|
118
|
+
* Cards
|
119
|
+
* Features list
|
120
|
+
* Contacts
|
121
|
+
* News
|
122
|
+
* Block with text and button
|
123
|
+
* View
|
124
|
+
* Just text
|
125
|
+
|
100
126
|
## Contributing
|
101
127
|
Contribution directions go here.
|
102
128
|
|
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.1.
|
4
|
+
version: 1.8.1.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-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
98
|
+
rubygems_version: 3.0.3
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Landing Engine for your Rails projects
|