tramway-landing 1.2.16 → 1.2.17

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: 195295b7cef24dbd3aae7431bc6db838830c070348058dd973e1c88db03a8919
4
- data.tar.gz: ef5c5d72330b264e9e7c3b84317ddf5bd9a03d6baaf24462a4d76260c95c2be8
3
+ metadata.gz: bd8dcc543a26a2355d58ddbc5eaa1c8871fa147cd354aec0ebbe6118df0bb52b
4
+ data.tar.gz: ece12eba8a248f891bc40ce56456625701a9905208ee28917be25ffc9757eace
5
5
  SHA512:
6
- metadata.gz: 8a5d071ca2a0e792b9836eb0b390cc078b1767afa79ad388644d5fd9f56f1b1fc92029b5b96c65f9c0c37d99a68bc625223de4f9bc1e93d2cf2b93158580c4ec
7
- data.tar.gz: 9af56c2f4a844257e962697afef93b201d5d5b82f695ac8b60bb809d6de2e496c2579fcddc16baab0900bcdf4527163ec3370603a69f40144de48de190420fb2
6
+ metadata.gz: 30b5d4b9be5b3647cf67af748ef2788201008c6ee2145b02921e06c39638a0fcc1b2b27be08e01d49afb56fac1cfcfa453807e4743334c03c6c1dc7b52fa69cf
7
+ data.tar.gz: a9587062eca7b3a9f1d460fb997d270c803488501b4b4bb402d947256f9bca846333aa0051f2e239c7d30ef145391ce657e4147f4d2e6b3c0e46f168eaf2032b
@@ -4,6 +4,8 @@
4
4
  */
5
5
 
6
6
  @import "tramway/core/application"
7
+ @import "tramway/landing/collage"
8
+ @import "tramway/landing/justified"
7
9
 
8
10
  html, body, header, #intro
9
11
  height: 100%
@@ -15,37 +15,6 @@
15
15
  = stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css'
16
16
  = csrf_meta_tags
17
17
  = yield :head_content
18
- -#= render 'layouts/tramway/landing/yandex_metrika'
19
- / Yandex.Metrika counter
20
- -#:javascript
21
- (function (d, w, c) {
22
- (w[c] = w[c] || []).push(function() {
23
- try {
24
- w.yaCounter49054148 = new Ya.Metrika({
25
- id:49054148,
26
- clickmap:true,
27
- trackLinks:true,
28
- accurateTrackBounce:true,
29
- webvisor:true
30
- });
31
- } catch(e) { }
32
- });
33
-
34
- var n = d.getElementsByTagName("script")[0],
35
- s = d.createElement("script"),
36
- f = function () { n.parentNode.insertBefore(s, n); };
37
- s.type = "text/javascript";
38
- s.async = true;
39
- s.src = "https://mc.yandex.ru/metrika/watch.js";
40
-
41
- if (w.opera == "[object Opera]") {
42
- d.addEventListener("DOMContentLoaded", f, false);
43
- } else { f(); }
44
- })(document, window, "yandex_metrika_callbacks");
45
- -#%noscript
46
- %div
47
- %img{alt: "", src: "https://mc.yandex.ru/watch/49054148", style: "position:absolute; left:-9999px;"}/
48
- / /Yandex.Metrika counter
49
18
  %body
50
19
  = stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/css/mdb.min.css'
51
20
  = javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/js/mdb.js'
@@ -1,9 +1 @@
1
- .row{ id: block.anchor }
2
- .col-md-7
3
- = image_tag block.background, class: 'img-fluid'
4
- .col-md-5
5
- %h2
6
- = block.title
7
- %hr
8
- %p
9
- = block.description
1
+ = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: block
@@ -10,7 +10,7 @@
10
10
  - collection.each_slice 5 do |sub_collection|
11
11
  .row
12
12
  - sub_collection.each do |item|
13
- .col.col-sm-2.col-xl-4.col-lg-4.col-md-4.mb-1.auto
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
14
  - if item.icon.present?
15
15
  = fa_icon item.icon, class: 'fa-4x blue-text'
16
16
  - else
@@ -19,9 +19,3 @@
19
19
  = item.title
20
20
  %p.grey-text
21
21
  != item.text
22
- %hr.my-5/
23
- %section#examples
24
- %hr.my-5/
25
- %section#gallery
26
- %hr.my-5/
27
- %section#contact
@@ -0,0 +1,9 @@
1
+ .row{ id: block.anchor }
2
+ .col-md-7
3
+ = image_tag block.background, class: 'img-fluid'
4
+ .col-md-5
5
+ %h2
6
+ = block.title
7
+ %hr
8
+ %p
9
+ != block.description
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.2.16'
3
+ VERSION = '1.2.17'
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.16
4
+ version: 1.2.17
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-19 00:00:00.000000000 Z
11
+ date: 2018-09-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -50,6 +50,7 @@ files:
50
50
  - app/views/tramway/landing/blocks/block_types/_page.html.haml
51
51
  - app/views/tramway/landing/blocks/templates/_features_list.html.haml
52
52
  - app/views/tramway/landing/blocks/templates/_full_page.html.haml
53
+ - app/views/tramway/landing/blocks/templates/_section_with_image_and_text.html.haml
53
54
  - config/initializers/assets.rb
54
55
  - config/initializers/tramway.rb
55
56
  - config/locales/models.yml