tramway-landing 1.6 → 1.7

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: fe3218c1374cebe0a04e6308f8887799757c11c35cd3a35ca6fde8ccaa8fc9c4
4
- data.tar.gz: d9b522e70d598652269940c0871ba574ddf90ce2e3ae214693d1d85eba92404c
3
+ metadata.gz: adf5faa0af37e0abbb929eee4e56c0237ee3c5c17eef930a16898529f35e96ed
4
+ data.tar.gz: af671b2e1ec3a4432cc416d0c572d943ae918d39135aec3d29b840d46be00769
5
5
  SHA512:
6
- metadata.gz: 81d06eb5d1cc52a822f60d1162b7dbc4c14b8239f974c1bebf9682626709c662b2e3679c4741119c1d17239135b4d3dbd6a06fedfe04cc1f5351054a1fdc4bca
7
- data.tar.gz: 464efb547fe5bc036e8b925a225e03c91a46ea5e45e87bd2a2432e0688d62fc2cf0f656af773add8c7b408a7db75cf6163c5fc90930a8085cc31fbc7c5190e68
6
+ metadata.gz: 45ff512091e0a8fb76effda2359627695f45926a58711533258a8b1c991ef8f7cd3db395c01942348ab1e0518fa98c3d0946e03612e8936491223ba0f1cf039a
7
+ data.tar.gz: f42e30c094794f72d8f98e6d93b04252d8d5369c3cf917fea1e4a36a90e213ed51b281dafc75cac1864f4f7e7bc3a7bf98945415fafebf6e6a9244031c212166
@@ -14,6 +14,9 @@
14
14
  header
15
15
  height: 100vh
16
16
 
17
+ main.mt-5
18
+ margin-top: 0px !important
19
+
17
20
  #intro
18
21
  background-repeat: no-repeat
19
22
  background-position: center center
@@ -1,5 +1,5 @@
1
1
  class Tramway::Landing::Block < ::Tramway::Landing::ApplicationRecord
2
- enumerize :block_type, in: [ :header, :footer, :page, :cards, :features, :contacts, :news, :link, :page_with_button ]
2
+ enumerize :block_type, in: [ :header, :footer, :page, :cards, :features, :contacts, :news, :link, :page_with_button, :just_text ]
3
3
  enumerize :navbar_link, in: [ :exist, :not_exist ], default: :not_exist
4
4
  enumerize :link_object_type, in: [ 'Tramway::SportSchool::Document', 'Tramway::Page::Page' ]
5
5
 
@@ -0,0 +1,3 @@
1
+ .row.page{ id: block.anchor }
2
+ .col-md-12
3
+ = render 'tramway/landing/blocks/templates/text', block: block
@@ -2,10 +2,4 @@
2
2
  .col-md-7
3
3
  = image_tag block.background, class: 'img-fluid'
4
4
  .col-md-5
5
- %h2
6
- = block.title
7
- %hr
8
- %p
9
- != block.description
10
- - if block.try :button
11
- = block.button
5
+ = render 'tramway/landing/blocks/templates/text', block: block
@@ -0,0 +1,7 @@
1
+ %h2
2
+ = block.title
3
+ %hr
4
+ %p
5
+ != block.description
6
+ - if block.try :button
7
+ = block.button
@@ -32,6 +32,7 @@ ru:
32
32
  contacts: Блок с контактами
33
33
  news: Блок новостей
34
34
  link: Ссылка на объект
35
+ just_text_with_button: Просто текст
35
36
  navbar_link:
36
37
  exist: Присутствует
37
38
  not_exist: Отсутствует
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Landing
3
- VERSION = '1.6'
3
+ VERSION = '1.7'
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.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -49,12 +49,14 @@ files:
49
49
  - app/views/tramway/landing/blocks/block_types/_features.html.haml
50
50
  - app/views/tramway/landing/blocks/block_types/_footer.html.haml
51
51
  - app/views/tramway/landing/blocks/block_types/_header.html.haml
52
+ - app/views/tramway/landing/blocks/block_types/_just_text.html.haml
52
53
  - app/views/tramway/landing/blocks/block_types/_link.html.haml
53
54
  - app/views/tramway/landing/blocks/block_types/_page.html.haml
54
55
  - app/views/tramway/landing/blocks/block_types/_page_with_button.html.haml
55
56
  - app/views/tramway/landing/blocks/templates/_features_list.html.haml
56
57
  - app/views/tramway/landing/blocks/templates/_full_page.html.haml
57
58
  - app/views/tramway/landing/blocks/templates/_section_with_image_and_text.html.haml
59
+ - app/views/tramway/landing/blocks/templates/_text.html.haml
58
60
  - config/initializers/assets.rb
59
61
  - config/initializers/tramway.rb
60
62
  - config/locales/models.yml