tramway-landing 3.1.0.1 → 3.1.0.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: d9be9495d1cf62215425a68edc4fe058ffea183094d89f98988733fff8c3405a
|
4
|
+
data.tar.gz: 75a7dce23e7380c8ef98533656cdbed390a8e673f73522bf154074f2974084b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d6e33ae85d1300dc3e3751b1247be3f77c29e9f3f771e538d11ef838129bd9e1c296e472f6a986fa3fde3f1b54211ac9b62856559061793d1062f38b25c84c
|
7
|
+
data.tar.gz: fe389a0dd9a410b95e44ab871019be8d3e120bad91fb900ad9dc36f2c49e4076851fddbf9af6cd81bc0d7d2ff324764e119e14b5e03434005d27a448872d6b97
|
@@ -3,7 +3,7 @@
|
|
3
3
|
%head
|
4
4
|
= render 'layouts/tramway/landing/meta'
|
5
5
|
%title
|
6
|
-
= yield :title
|
6
|
+
= yield(:title).present? ? yield(:title) : @application.title
|
7
7
|
= stylesheet_link_tag 'tramway/landing/application', media: 'all'
|
8
8
|
= javascript_include_tag 'tramway/landing/application'
|
9
9
|
= javascript_include_tag 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js', integrity: 'sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl', crossorigin: 'anonymous'
|
@@ -1,4 +1,4 @@
|
|
1
1
|
= javascript_include_tag 'tramway/landing/smooth-scroll'
|
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 }
|
2
|
+
= render 'tramway/landing/templates/full_page', block: OpenStruct.new(title: yield(:application_name).present? ? yield(:application_name) : @application.public_name, tagline: yield(:application_tagline).present? ? yield(:application_tagline) : @application.tagline, background: block.background), buttons: @links&.select { |link| !link.is_a? Hash }
|
3
3
|
%script
|
4
4
|
var scroll = new SmoothScroll('a[href*="#"]');
|
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: 3.1.0.
|
4
|
+
version: 3.1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moshinaan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|