forever_style_guide 3.0.38 → 3.0.39
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 +4 -4
- data/app/helpers/forever_style_guide/application_helper.rb +18 -5
- data/app/views/forever_style_guide/sections/components/footer/_footer.erb +5 -5
- data/app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb +4 -4
- data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb +1 -1
- data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb +5 -5
- data/lib/forever_style_guide/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1de5279844b631f89168ceec8b213fdb4ef5da53
|
4
|
+
data.tar.gz: 5ca3d87efff26da7811e8db3e4a574d3706dc67b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4054b26823d6ae1c1afa6aeed8e799391eab14b23183909c24a430db319530b97e3530c115a1d116bece7855c649a94cc592219d1f12e72ef40e76d6b8015f7
|
7
|
+
data.tar.gz: 23efe8f5fd6a7117c854073acb8f5a7685adf24a5c63877f11596ccdd61c7174a1ec6552d2f0c294947a725c2c5e6974f5f8bfd666a8f22c757d70b34f315618
|
@@ -3,6 +3,19 @@ require 'pathname'
|
|
3
3
|
module ForeverStyleGuide
|
4
4
|
module ApplicationHelper
|
5
5
|
|
6
|
+
def trademark(copy)
|
7
|
+
case copy
|
8
|
+
when "Forever", "Forever Storage", "Forever Historian", "Forever Valet", "pixels2Pages", "Historian", "Forever Live!"
|
9
|
+
copy += "™"
|
10
|
+
when "Forever Account", "Forever Guarantee", "Forever Guarantee Fund", "Forever Membership", "Forever Guarantee Fund", "Forever Members", "Forever Retreats", "Forever Ambassador", "Forever Ambassadors"
|
11
|
+
copy[0..6] + "™" + copy[7..copy.length-1]
|
12
|
+
when "Forever Artisan", "Artisan"
|
13
|
+
copy += "®"
|
14
|
+
else
|
15
|
+
copy
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
6
19
|
#Path helpers for mounted style guide use
|
7
20
|
def www_url(path = '/', url = nil)
|
8
21
|
strip_subdomain("www", path, url)
|
@@ -107,7 +120,7 @@ module ForeverStyleGuide
|
|
107
120
|
|
108
121
|
# Web App Paths
|
109
122
|
def library_url
|
110
|
-
web_app_url('
|
123
|
+
web_app_url('/#/inbox')
|
111
124
|
end
|
112
125
|
|
113
126
|
def inbox_url
|
@@ -115,15 +128,15 @@ module ForeverStyleGuide
|
|
115
128
|
end
|
116
129
|
|
117
130
|
def projects_url
|
118
|
-
web_app_url('
|
131
|
+
web_app_url('/#/projects')
|
119
132
|
end
|
120
133
|
|
121
134
|
def people_url
|
122
|
-
web_app_url('
|
135
|
+
web_app_url('/#/people/family')
|
123
136
|
end
|
124
137
|
|
125
138
|
def app_home_url
|
126
|
-
web_app_url('
|
139
|
+
web_app_url('/#/')
|
127
140
|
end
|
128
141
|
|
129
142
|
# User settings links (store and web app)
|
@@ -177,7 +190,7 @@ module ForeverStyleGuide
|
|
177
190
|
end
|
178
191
|
|
179
192
|
def storage_url
|
180
|
-
www_url('/
|
193
|
+
www_url('/forever_storage')
|
181
194
|
end
|
182
195
|
|
183
196
|
def app_url
|
@@ -12,9 +12,9 @@
|
|
12
12
|
<div class="row">
|
13
13
|
<div class="col-xs-6">
|
14
14
|
<ul class="list-unstyled">
|
15
|
-
<li><%= link_to "
|
16
|
-
<li><%= link_to "Forever Artisan", artisan_url, class: "footer-link", title: "Forever Artisan 5 Digital Scrapbooking Software" %></li>
|
17
|
-
<li><%= link_to "Forever Historian", historian_url, class: "footer-link", title: "Photo Management Software for Windows" %></li>
|
15
|
+
<li><%= link_to trademark("Forever Storage"), storage_url, class: "footer-link", title: "Guaranteed Permanent Storage for Photos & Documents" %></li>
|
16
|
+
<li><%= link_to trademark("Forever Artisan"), artisan_url, class: "footer-link", title: "Forever Artisan 5 Digital Scrapbooking Software" %></li>
|
17
|
+
<li><%= link_to trademark("Forever Historian"), historian_url, class: "footer-link", title: "Photo Management Software for Windows" %></li>
|
18
18
|
</ul>
|
19
19
|
</div>
|
20
20
|
<div class="col-xs-6">
|
@@ -60,8 +60,8 @@
|
|
60
60
|
</div>
|
61
61
|
<div class="col-xs-12 col-sm-6 footer-policy_links">
|
62
62
|
<p class="small color-gray-400">
|
63
|
-
<%= link_to "Careers", careers_url, title: "Join the Forever Team", class: "footer-link footer-link-dark", target: '_blank' %> |
|
64
|
-
<%= link_to "Privacy Policy", privacy_url, class: "footer-link footer-link-dark", title: "Forever Privacy Policy" %> |
|
63
|
+
<%= link_to "Careers", careers_url, title: "Join the Forever Team", class: "footer-link footer-link-dark", target: '_blank' %> |
|
64
|
+
<%= link_to "Privacy Policy", privacy_url, class: "footer-link footer-link-dark", title: "Forever Privacy Policy" %> |
|
65
65
|
<%= link_to "Terms of Service", tos_url, class: "footer-link footer-link-dark", title: "Forever Terms of Service" %>
|
66
66
|
</p>
|
67
67
|
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb
CHANGED
@@ -19,11 +19,11 @@
|
|
19
19
|
</li>
|
20
20
|
|
21
21
|
<li>
|
22
|
-
<%= link_to 'Artisan FAQ
|
22
|
+
<%= link_to "#{trademark('Artisan')} FAQ", artisan_faq_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan Frequently Asked Questions', target: '_blank' %>
|
23
23
|
</li>
|
24
24
|
|
25
25
|
<li>
|
26
|
-
<%= link_to 'Historian FAQ
|
26
|
+
<%= link_to "#{trademark('Historian')} FAQ", historian_faq_url, class: 'dropdown-menu-nav-link', title: 'Forever Historian Frequently Asked Questions', target: '_blank' %>
|
27
27
|
</li>
|
28
28
|
|
29
29
|
<li>
|
@@ -59,11 +59,11 @@
|
|
59
59
|
|
60
60
|
<ul class="list-unstyled">
|
61
61
|
<li>
|
62
|
-
<%= link_to 'Forever Live!', forever_live_url, class: 'dropdown-menu-nav-link', title: 'Scrapbooking and Memory Keeping Conference', target: '_blank' %>
|
62
|
+
<%= link_to trademark('Forever Live!'), forever_live_url, class: 'dropdown-menu-nav-link', title: 'Scrapbooking and Memory Keeping Conference', target: '_blank' %>
|
63
63
|
</li>
|
64
64
|
|
65
65
|
<li>
|
66
|
-
<%= link_to 'Forever Retreats', retreats_url, class: 'dropdown-menu-nav-link', title: 'Creative Weekend Events for Scrapbooking and Memory Keeping' %>
|
66
|
+
<%= link_to trademark('Forever Retreats'), retreats_url, class: 'dropdown-menu-nav-link', title: 'Creative Weekend Events for Scrapbooking and Memory Keeping' %>
|
67
67
|
</li>
|
68
68
|
</ul>
|
69
69
|
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
<ul class="list-unstyled">
|
62
62
|
<li>
|
63
|
-
<%= link_to
|
63
|
+
<%= link_to "The #{trademark('Forever Guarantee')}", guarantee_url, class: 'dropdown-menu-nav-link', title: 'Forever Guarantee' %>
|
64
64
|
</li>
|
65
65
|
|
66
66
|
<li>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
<ul class="list-unstyled">
|
13
13
|
<li>
|
14
14
|
<%= link_to storage_url, class: 'dropdown-menu-nav-link', title: 'Guaranteed Permanent Storage for Photos & Documents' do %>
|
15
|
-
|
15
|
+
<%= trademark("Forever Storage") %>
|
16
16
|
<% end %>
|
17
17
|
<small class="dropdown-menu-nav-link-subhead">View Pricing, Benefits and Features</small>
|
18
18
|
</li>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
</li>
|
26
26
|
|
27
27
|
<li>
|
28
|
-
<%= link_to 'Forever Historian', historian_url, class: 'dropdown-menu-nav-link', title: 'Photo Management Software for Windows' %>
|
28
|
+
<%= link_to trademark('Forever Historian'), historian_url, class: 'dropdown-menu-nav-link', title: 'Photo Management Software for Windows' %>
|
29
29
|
<small class="dropdown-menu-nav-link-subhead">Windows Photo Software</small>
|
30
30
|
</li>
|
31
31
|
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</li>
|
36
36
|
|
37
37
|
<li>
|
38
|
-
<%= link_to 'Forever Valet', valet_url, class: 'dropdown-menu-nav-link', title: 'Forever Valet Desktop Photo Uploader' %>
|
38
|
+
<%= link_to trademark('Forever Valet'), valet_url, class: 'dropdown-menu-nav-link', title: 'Forever Valet Desktop Photo Uploader' %>
|
39
39
|
<small class="dropdown-menu-nav-link-subhead">Desktop Uploader</small>
|
40
40
|
</li>
|
41
41
|
</ul>
|
@@ -47,7 +47,7 @@
|
|
47
47
|
<ul class="list-unstyled">
|
48
48
|
|
49
49
|
<li>
|
50
|
-
<%= link_to 'Forever Artisan', artisan_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan 5 Digital Scrapbooking Software' %>
|
50
|
+
<%= link_to trademark('Forever Artisan'), artisan_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan 5 Digital Scrapbooking Software' %>
|
51
51
|
<small class="dropdown-menu-nav-link-subhead">Windows Scrapbooking Software</small>
|
52
52
|
</li>
|
53
53
|
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</li>
|
77
77
|
|
78
78
|
<li>
|
79
|
-
<%= link_to 'pixels2Pages', p2p_url, class: 'dropdown-menu-nav-link', title: 'Premium Training and Resources' %>
|
79
|
+
<%= link_to trademark('pixels2Pages'), p2p_url, class: 'dropdown-menu-nav-link', title: 'Premium Training and Resources' %>
|
80
80
|
<small class="dropdown-menu-nav-link-subhead">Premium Training and Resources</small>
|
81
81
|
</li>
|
82
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forever_style_guide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.39
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas McClay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -315,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
315
|
version: '0'
|
316
316
|
requirements: []
|
317
317
|
rubyforge_project:
|
318
|
-
rubygems_version: 2.
|
318
|
+
rubygems_version: 2.2.2
|
319
319
|
signing_key:
|
320
320
|
specification_version: 4
|
321
321
|
summary: A live style guide and component API for the Forever brand
|