tramway-landing 2.2 → 2.2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 927598e0e4c4c014682f59b806a22588d1f45b446a3775f3dc35f18e3bb53448
4
- data.tar.gz: 716e8d4401ef1f828d440ea9cc86efc026dd71b873289015aa12e6e505f25735
3
+ metadata.gz: f822f4f828e3793d2ed1aefdeeb60c52545e2b0ca5c92cd2fdaf8aa19cf92261
4
+ data.tar.gz: a8759e87d48a96477da946a68153a8a6c81ad5a1dd97ab321e992303be49b9e2
5
5
  SHA512:
6
- metadata.gz: e07c453830803a47b2708ba7df65c6b5d8bc2764a0ed144182cf7924753cecaf32300e6f0131c967db72ff2fe01998f597939ca60091e9dfff9f043ecbd95ac1
7
- data.tar.gz: 29acc785378bfdab88365599c4af475440fbb286347cd5ae3fcf31d43ee8a51d25eac2b05bbb6c6334eaf05968d0a3fc3b70d0a12ecaa539099579dbe12f37ae
6
+ metadata.gz: 563cb700efd64bb2973d818efed176781804fb11ab26cef523cb57559a597d091f141b9dcf369c3d8de01a8cba4e1d9e2bdd374d57019c7071239244666e763a
7
+ data.tar.gz: 5791685402324c4ee0ef65b9a802871c0ebca4960f77af5399e7c4f17afc8fa7ab50ff01afbe5ee824562631c1aaed61a427f5d2b2c1eae3a8661cdcdf04851f
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Tramway::Landing
2
2
  It uses [Material Design Bootstrap](https://mdbootstrap.com/) by default
3
3
 
4
+ Want to upgrade gem version?
5
+ Don't forget to look at [migration doc](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/migrations_to_version.md)
6
+
4
7
  ## Description
5
8
 
6
9
  Tramway-landing provides several types of blocks for main page.
@@ -1,4 +1,4 @@
1
1
  = javascript_include_tag 'tramway/landing/smooth-scroll'
2
- = render 'tramway/landing/blocks/templates/full_page', block: OpenStruct.new(title: yield(:application_name), tagline: yield(:application_tagline), background: block.background), buttons: @links&.select { |link| !link.is_a? Hash }
2
+ = render 'tramway/landing/templates/full_page', block: OpenStruct.new(title: yield(:application_name), tagline: yield(:application_tagline), background: block.background), buttons: @links&.select { |link| !link.is_a? Hash }
3
3
  %script
4
4
  var scroll = new SmoothScroll('a[href*="#"]');
@@ -1,3 +1,3 @@
1
1
  .row.page{ id: block.anchor }
2
2
  .col-md-12
3
- = render 'tramway/landing/blocks/templates/text', block: block
3
+ = render 'tramway/landing/templates/text', block: block
@@ -1 +1 @@
1
- = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: block
1
+ = render 'tramway/landing/templates/section_with_image_and_text', block: block
@@ -1 +1 @@
1
- = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: block
1
+ = render 'tramway/landing/templates/section_with_image_and_text', block: block
@@ -1,5 +1,4 @@
1
1
  %header
2
- = yield :navbar
3
2
  #intro.view.hm-black-strong{ style: "background-image: url('#{block.background.url}')" }
4
3
  .container-fluid.full-bg-img.d-flex.align-items-center.justify-content-center
5
4
  .row.d-flex.justify-content-center
@@ -9,7 +8,7 @@
9
8
  %hr.hr-light
10
9
  %h4.white-text.my-4
11
10
  = block.tagline
12
- - if defined?(buttons) && buttons&.any?
11
+ - if defined?(buttons) && buttons&.compact&.any?
13
12
  - buttons.each do |button|
14
13
  - data_obj = {}
15
14
  - data_obj = data_obj.merge(href: button.link) if button.try :link
@@ -2,4 +2,4 @@
2
2
  .col-md-7
3
3
  = image_tag block.background.url, class: 'img-fluid'
4
4
  .col-md-5{ style: 'text-align: justify' }
5
- = render 'tramway/landing/blocks/templates/text', block: block
5
+ = render 'tramway/landing/templates/text', block: block
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '2.2'
5
+ VERSION = '2.2.0.1'
6
6
  end
7
7
  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: '2.2'
4
+ version: 2.2.0.1
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-03-24 00:00:00.000000000 Z
11
+ date: 2020-03-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email: