forever_style_guide 3.2.12 → 3.2.13
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 +31 -33
- data/app/views/forever_style_guide/sections/components/footer/_footer.erb +2 -2
- data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb +31 -38
- data/lib/forever_style_guide/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e5beddcb763dff324aaf6ff127ae244d4184895
|
|
4
|
+
data.tar.gz: 3e09f85b73bc0bc9c70fc85c46ba8fafdd87861a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9c2868c1c4a1008efa224a9b3e298d2437bec296e6c4bc3902154815c1a2655978b09f209de54ed39fef23d6df8e70ba54ac9ad72d16bb53bfe1ac5aeb22ac0
|
|
7
|
+
data.tar.gz: c34efad2bb4f219910ccf9b308dca964bad628526d4792e5ea99cd0020849818ad2a75ab6d03c99324efb8f07c6d21c3df69f1979097ae1b6da10b73c4ccabad
|
|
@@ -5,12 +5,18 @@ module ForeverStyleGuide
|
|
|
5
5
|
|
|
6
6
|
def trademark(copy)
|
|
7
7
|
case copy
|
|
8
|
-
when "Forever"
|
|
9
|
-
copy
|
|
8
|
+
when "Forever"
|
|
9
|
+
copy.upcase
|
|
10
|
+
when "Forever Historian", "Forever Valet", "Forever Live!", "Forever Print"
|
|
11
|
+
copy[0..6].upcase + copy[7..copy.length-1] + "™"
|
|
12
|
+
when "pixels2Pages", "Historian"
|
|
13
|
+
copy + "™"
|
|
10
14
|
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", "
|
|
13
|
-
copy
|
|
15
|
+
copy[0..6].upcase + "™" + copy[7..copy.length-1]
|
|
16
|
+
when "Forever Artisan", "Forever Storage"
|
|
17
|
+
copy[0..6].upcase + copy[7..copy.length-1] + "®"
|
|
18
|
+
when "Artisan"
|
|
19
|
+
copy + "®"
|
|
14
20
|
else
|
|
15
21
|
copy
|
|
16
22
|
end
|
|
@@ -67,8 +73,8 @@ module ForeverStyleGuide
|
|
|
67
73
|
def is_in_product_dropdown?
|
|
68
74
|
@pages = [
|
|
69
75
|
'guaranteed_storage', 'add_storage', 'services', 'historian', 'downloads', 'valet',
|
|
70
|
-
'artisan', 'digital_art', 'digital_art_library', 'p2p',
|
|
71
|
-
'print',
|
|
76
|
+
'artisan', 'digital_art', 'digital_art_library', 'forever_print_library' 'p2p',
|
|
77
|
+
'forever_print', 'print', 'prints', 'print_quality',
|
|
72
78
|
'gifts', 'shipping', 'bulk_orders', 'returns',
|
|
73
79
|
'products'
|
|
74
80
|
]
|
|
@@ -209,8 +215,12 @@ module ForeverStyleGuide
|
|
|
209
215
|
www_url('/artisan')
|
|
210
216
|
end
|
|
211
217
|
|
|
212
|
-
def
|
|
213
|
-
www_url('/
|
|
218
|
+
def forever_print_url
|
|
219
|
+
www_url('/forever_print')
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
def print_quality_url
|
|
223
|
+
www_url('/print_quality')
|
|
214
224
|
end
|
|
215
225
|
|
|
216
226
|
def deals_url
|
|
@@ -265,40 +275,28 @@ module ForeverStyleGuide
|
|
|
265
275
|
www_url('/digital_art_library?facet_name=new')
|
|
266
276
|
end
|
|
267
277
|
|
|
268
|
-
def
|
|
269
|
-
www_url('/
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
def all_digital_art_url
|
|
273
|
-
www_url('/digital_art_library')
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
def print_url
|
|
277
|
-
www_url('/print')
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
def photo_books_url
|
|
281
|
-
www_url('/photobooks')
|
|
278
|
+
def forever_print_library_url
|
|
279
|
+
www_url('/forever_print_library')
|
|
282
280
|
end
|
|
283
281
|
|
|
284
|
-
def
|
|
285
|
-
www_url('/
|
|
282
|
+
def featured_photo_books_library_url
|
|
283
|
+
www_url('/forever_print_library?facet_name=print-featured')
|
|
286
284
|
end
|
|
287
285
|
|
|
288
|
-
def
|
|
289
|
-
www_url('/
|
|
286
|
+
def artisan_print_url
|
|
287
|
+
www_url('/artisan#printing')
|
|
290
288
|
end
|
|
291
289
|
|
|
292
|
-
def
|
|
293
|
-
www_url('/
|
|
290
|
+
def free_digital_art_url
|
|
291
|
+
www_url('/digital_art_library?facet_name=free')
|
|
294
292
|
end
|
|
295
293
|
|
|
296
|
-
def
|
|
297
|
-
www_url('/
|
|
294
|
+
def predesigned_layouts_digital_art_url
|
|
295
|
+
www_url('/digital_art_library?facet_name=pre-designed%20layouts')
|
|
298
296
|
end
|
|
299
297
|
|
|
300
|
-
def
|
|
301
|
-
www_url('/
|
|
298
|
+
def all_digital_art_url
|
|
299
|
+
www_url('/digital_art_library')
|
|
302
300
|
end
|
|
303
301
|
|
|
304
302
|
def gift_certificate_url
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
|
|
16
16
|
<!-- TODO use trademark helper when it appropriately handles upcasing -->
|
|
17
17
|
<li><%= link_to "FOREVER Storage®", storage_url, class: "footer-link", title: "Guaranteed Permanent Storage for Photos & Documents" %></li>
|
|
18
|
+
<li><%= link_to "FOREVER™ Print", forever_print_url, class: "footer-link", title: "Online Photo Books in No Time" %></li>
|
|
18
19
|
<li><%= link_to "FOREVER Artisan®", artisan_url, class: "footer-link", title: "Forever Artisan 5 Digital Scrapbooking Software" %></li>
|
|
19
|
-
<li><%= link_to "FOREVER Historian™", historian_url, class: "footer-link", title: "Photo Management Software for Windows" %></li>
|
|
20
20
|
|
|
21
21
|
</ul>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="col-xs-6">
|
|
24
24
|
<ul class="list-unstyled">
|
|
25
|
+
<li><%= link_to "FOREVER Historian™", historian_url, class: "footer-link", title: "Photo Management Software for Windows" %></li>
|
|
25
26
|
<li><%= link_to "Digital Art", digital_art_url, class: "footer-link" , title: "Premium Digital Scrapbooking Art" %></li>
|
|
26
|
-
<li><%= link_to "Print Products", print_url, class: "footer-link" , title: "Create and Print Online or with Artisan Scrapbooking Software"%></li>
|
|
27
27
|
<li>
|
|
28
28
|
<%= link_to services_url, class: "footer-link", title: "Digitization and Scanning Services" do %>
|
|
29
29
|
Media Conversion <span class="hidden-xs">Services</span>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb
CHANGED
|
@@ -42,81 +42,70 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<div class='col-grid-float-3 l-padded-thin'>
|
|
45
|
-
<h3 class='dropdown-menu-nav-title page-title color-services'>Design</h3>
|
|
45
|
+
<h3 class='dropdown-menu-nav-title page-title color-services'>Design & Printing</h3>
|
|
46
46
|
|
|
47
47
|
<ul class="list-unstyled">
|
|
48
48
|
|
|
49
49
|
<li>
|
|
50
|
-
<%= link_to trademark('Forever
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<li>
|
|
55
|
-
<%= link_to 'Digital Art', digital_art_url, class: 'dropdown-menu-nav-link', title: 'Premium Digital Scrapbooking Art' %>
|
|
56
|
-
<small class="dropdown-menu-nav-link-subhead">Art Kits and Templates for Artisan</small>
|
|
50
|
+
<%= link_to trademark('Forever Print'), forever_print_url, class: 'dropdown-menu-nav-link', title: 'Create Premium Photo Books in No Time' %>
|
|
51
|
+
<sup class='color-warning font-size-000 font-face-bold'>NEW</sup>
|
|
52
|
+
<small class="dropdown-menu-nav-link-subhead">Online Photo Books</small>
|
|
57
53
|
|
|
58
54
|
<ul class="list-unstyled dropdown-menu-nav-bullets">
|
|
59
55
|
<li>
|
|
60
|
-
<%= link_to '-
|
|
61
|
-
</li>
|
|
62
|
-
|
|
63
|
-
<li>
|
|
64
|
-
<%= link_to '- Free Kits', free_digital_art_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'On Sale Digital Scrapbooking Art and Embellishments' %>
|
|
56
|
+
<%= link_to '- Featured Photo Books', featured_photo_books_library_url, class: 'dropdown-menu-nav-link', title: 'Browse Featured Photo Books' %>
|
|
65
57
|
</li>
|
|
66
58
|
|
|
67
59
|
<li>
|
|
68
|
-
<%= link_to '- Browse All',
|
|
60
|
+
<%= link_to '- Browse All', forever_print_library_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'Browse All Photo Books' %>
|
|
69
61
|
</li>
|
|
70
62
|
</ul>
|
|
71
63
|
</li>
|
|
72
64
|
|
|
73
|
-
<li class="hide">
|
|
74
|
-
<%= link_to 'Forever Projects', projects_marketing_url, class: 'dropdown-menu-nav-link', title: 'Make Photo Books and Other Print Projects' %>
|
|
75
|
-
<small class="dropdown-menu-nav-link-subhead">Online Photo Books and More</small>
|
|
76
|
-
</li>
|
|
77
|
-
|
|
78
65
|
<li>
|
|
79
|
-
<%= link_to trademark('
|
|
80
|
-
|
|
66
|
+
<%= link_to trademark('Forever Artisan'), artisan_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan 5 Digital Scrapbooking Software' %>
|
|
67
|
+
<small class="dropdown-menu-nav-link-subhead">Windows Scrapbooking Software</small>
|
|
81
68
|
</li>
|
|
82
69
|
|
|
70
|
+
<ul class="list-unstyled dropdown-menu-nav-bullets">
|
|
71
|
+
<li>
|
|
72
|
+
<%= link_to '- Photo Books, Cards, Calendars, & More', artisan_print_url, class: 'dropdown-menu-nav-link', title: 'Artisan Photo Books, Cards, Calendars, & More' %>
|
|
73
|
+
</li>
|
|
74
|
+
</ul>
|
|
75
|
+
|
|
83
76
|
</ul>
|
|
84
77
|
</div>
|
|
85
78
|
|
|
86
|
-
<div class='col-grid-float-3 l-padded-thin'>
|
|
87
|
-
<
|
|
88
|
-
|
|
79
|
+
<div class='col-grid-float-3 l-padded-thin dropdown-menu-nav-extra_column'>
|
|
80
|
+
<div class="hidden-grid-float-breakpoint dropdown-menu-nav-spacer"></div>
|
|
89
81
|
<ul class="list-unstyled">
|
|
90
82
|
<li>
|
|
91
|
-
<%= link_to '
|
|
92
|
-
<small class="dropdown-menu-nav-link-subhead">
|
|
83
|
+
<%= link_to 'Digital Art', digital_art_url, class: 'dropdown-menu-nav-link', title: 'Premium Digital Scrapbooking Art' %>
|
|
84
|
+
<small class="dropdown-menu-nav-link-subhead">Art Kits and Templates for Artisan</small>
|
|
93
85
|
|
|
94
86
|
<ul class="list-unstyled dropdown-menu-nav-bullets">
|
|
95
87
|
<li>
|
|
96
|
-
<%= link_to '-
|
|
97
|
-
</li>
|
|
98
|
-
|
|
99
|
-
<li>
|
|
100
|
-
<%= link_to '- Cards', cards_url, class: 'dropdown-menu-nav-link', title: 'Create and Print Cards Online or with Artisan Scrapbooking Software' %>
|
|
101
|
-
</li>
|
|
102
|
-
|
|
103
|
-
<li>
|
|
104
|
-
<%= link_to '- Calendars', calendars_url, class: 'dropdown-menu-nav-link', title: 'Create and Print Calendars Online or with Artisan Scrapbooking Software' %>
|
|
88
|
+
<%= link_to '- New Digital Art', new_digital_art_url, class: 'dropdown-menu-nav-link', title: 'Newest Digital Scrapbooking Art and Embellishments' %>
|
|
105
89
|
</li>
|
|
106
90
|
|
|
107
91
|
<li>
|
|
108
|
-
<%= link_to '-
|
|
92
|
+
<%= link_to '- Free Kits', free_digital_art_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'Free Digital Scrapbooking Art and Embellishments' %>
|
|
109
93
|
</li>
|
|
110
94
|
|
|
111
95
|
<li>
|
|
112
|
-
<%= link_to '-
|
|
96
|
+
<%= link_to '- Pre-Designed Layouts', predesigned_layouts_digital_art_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'All Pre-Designed Layouts' %>
|
|
113
97
|
</li>
|
|
114
98
|
|
|
115
99
|
<li>
|
|
116
|
-
<%= link_to '-
|
|
100
|
+
<%= link_to '- Browse All', all_digital_art_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'All Digital Scrapbooking Art and Embellishments' %>
|
|
117
101
|
</li>
|
|
118
102
|
</ul>
|
|
119
103
|
</li>
|
|
104
|
+
|
|
105
|
+
<li>
|
|
106
|
+
<%= link_to trademark('pixels2Pages'), p2p_url, class: 'dropdown-menu-nav-link', title: 'Premium Training and Resources' %>
|
|
107
|
+
<small class="dropdown-menu-nav-link-subhead">Premium Training and Resources</small>
|
|
108
|
+
</li>
|
|
120
109
|
</ul>
|
|
121
110
|
</div>
|
|
122
111
|
|
|
@@ -140,6 +129,10 @@
|
|
|
140
129
|
<%= link_to 'Shipping Info', shipping_info_url, class: 'dropdown-menu-nav-link', title: 'Shipping Information' %>
|
|
141
130
|
</li>
|
|
142
131
|
|
|
132
|
+
<li>
|
|
133
|
+
<%= link_to 'Print Quality', print_quality_url, class: 'dropdown-menu-nav-link', title: 'Print Quality' %>
|
|
134
|
+
</li>
|
|
135
|
+
|
|
143
136
|
<li>
|
|
144
137
|
<%= link_to 'Volume Print Discounts', bulk_orders_url, class: 'dropdown-menu-nav-link', title: 'Save Money on Large Print Orders' %>
|
|
145
138
|
</li>
|
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.2.
|
|
4
|
+
version: 3.2.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas McClay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|