tramway-landing 3.1.1.7 → 3.1.1.8
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: a07142655ea5f526eac28bc7cf0a3927cc409cb109406295da0069166a4f8119
|
4
|
+
data.tar.gz: 352a98f439a4d8ff0e95c833e838813bfda780ce4e32ef91905396977efb06cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87cb4fd35bd7397d62fc117f302cfbee55144d8a026a3c87bc7cf974eb058eaf43cd92a2329f48558fd8d8ed23c07fb3666828cc55f289595b493234defe111f
|
7
|
+
data.tar.gz: b864e61fa4e4c31be1b8015daa538545b1f18a812d56bf70b3ae5bf9547a10ab83c725c656093b82917cc2f1e3697fb14adf23f2bbcc37f5a5f9cadcaa977e01
|
@@ -1,29 +1,17 @@
|
|
1
1
|
- records_in_the_row = 4
|
2
|
-
- if
|
2
|
+
- if defined?(::Tramway::Profiles)
|
3
|
+
- social_networks = (@application.social_networks.active if @application.respond_to?(:social_networks)) unless social_networks
|
4
|
+
- social_networks&.each do |profile|
|
5
|
+
%ul.list-group
|
6
|
+
%li.list-group-item
|
7
|
+
= profile_link profile
|
8
|
+
- if yield(:phone).present? || yield(:email).present?
|
3
9
|
.row.features-small.mt-5.wow.fadeIn
|
4
|
-
- if phone.present?
|
10
|
+
- if yield(:phone).present?
|
5
11
|
.col-xl-3.col-lg-6
|
6
12
|
.row.link{ data: { href: "tel:#{phone}" } }
|
7
13
|
.col-2
|
8
14
|
%i.fas.fa-2x.mb-1.fa-phone.indigo-text{ aria: { hidden: 'true' } }
|
9
15
|
.col-10.mb-2.pl-3
|
10
16
|
%h5.feature-title.font-bold.mb-1
|
11
|
-
= phone
|
12
|
-
- if email.present?
|
13
|
-
.col-xl-3.col-lg-6
|
14
|
-
.row.link{ data: { href: "mailto:#{email}" } }
|
15
|
-
.col-2
|
16
|
-
%i.fas.fa-2x.mb-1.fa-envelope.indigo-text{ aria: { hidden: 'true' } }
|
17
|
-
.col-10.mb-2.pl-3
|
18
|
-
%h5.feature-title.font-bold.mb-1
|
19
|
-
= email
|
20
|
-
- social_networks&.each_slice(records_in_the_row) do |slice|
|
21
|
-
.row.features-small.mt-5.wow.fadeIn
|
22
|
-
- slice.each do |social_network, index|
|
23
|
-
.col-xl-3.col-lg-6
|
24
|
-
.row.link{ data: { href: profile_url(social_network) } }
|
25
|
-
.col-2
|
26
|
-
%i.fab.fa-2x.mb-1.indigo-text{ aria: { hidden: 'true' }, class: "fa-#{social_network.network_name}" }
|
27
|
-
.col-10.mb-2.pl-3
|
28
|
-
%h5.feature-title.font-bold.mb-1
|
29
|
-
= social_network.title
|
17
|
+
= yield(:phone)
|
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.1.
|
4
|
+
version: 3.1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moshinaan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|