forever_style_guide 2.0.3 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/forever_style_guide/default_avatar.jpg +0 -0
- data/app/assets/images/forever_style_guide/forever-logo.jpg +0 -0
- data/app/assets/javascripts/forever_style_guide/account-popover.js +0 -26
- data/app/assets/javascripts/forever_style_guide/offcanvas.js +213 -0
- data/app/assets/stylesheets/forever_style_guide/base/_bootstrap_reset.scss +5 -0
- data/app/assets/stylesheets/forever_style_guide/globals/_breakpoints.scss +1 -1
- data/app/assets/stylesheets/forever_style_guide/globals/_effects.scss +6 -0
- data/app/assets/stylesheets/forever_style_guide/globals/_mixins.scss +3 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_all.scss +22 -22
- data/app/assets/stylesheets/forever_style_guide/modules/_button.scss +0 -5
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-account.scss +58 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns-ambassador.scss +93 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-dropdowns.scss +155 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-fixed.scss +0 -15
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-icons.scss +114 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-item-list.scss +53 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav-offcanvas.scss +77 -0
- data/app/assets/stylesheets/forever_style_guide/modules/_nav.scss +84 -73
- data/app/assets/stylesheets/style_guide/modules/_hero_simple.scss +0 -1
- data/app/helpers/forever_style_guide/application_helper.rb +309 -1
- data/app/views/forever_style_guide/demo/footer.html.erb +1 -1
- data/app/views/forever_style_guide/demo/hero.html.erb +1 -3
- data/app/views/forever_style_guide/demo/hero_simple.html.erb +1 -3
- data/app/views/forever_style_guide/demo/navigation.html.erb +43 -27
- data/app/views/forever_style_guide/demo/promo_banner.html.erb +1 -3
- data/app/views/forever_style_guide/sections/components/navigation/_nav.erb +60 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown.erb +37 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb +61 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb +6 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_ambassador_dropdown.erb +112 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_community_dropdown.erb +99 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb +142 -0
- data/app/views/forever_style_guide/sections/components/navigation/_nav_products_dropdown.erb +151 -0
- data/app/views/layouts/forever_style_guide/_navigation.erb +51 -29
- data/lib/forever_style_guide/version.rb +1 -1
- data/test/dummy/log/development.log +43794 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_all.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_button.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav-dropdowns-ambassador.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav-dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav-fixed.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav-icons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav-offcanvas.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/1fccdb6be9da19cc345d4b92b55eb0d4fbf7c363/_nav.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/44a991b1a17620dd9d4d80bb5c1b3e298e4ef98a/_breakpoints.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/44a991b1a17620dd9d4d80bb5c1b3e298e4ef98a/_effects.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/44a991b1a17620dd9d4d80bb5c1b3e298e4ef98a/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/77afe34ae60f4f73cffcc8a92e720a6db579269d/_hero_simple.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/b7a4a2cc1ae6dd8beea9163f40226a4c9c3e7926/_bootstrap_reset.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13c6cfef7d2dae6157cb1e9a83970e58 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16ae65fae89ac9713129ac86c08be0fd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4bdd1622b754cd161cd49f472086df2d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5889baf60874f32654f269b1976b11da +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/74ee448666a16d19f05d144192a607fd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/82e2ab0c7f220d85a3306094f9170995 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/93ba27aa64423f74732b1f2b12b84118 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a5339910db1afb33301cc638679d0cc2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b7c77fa9ddbae9998b1339d6c2c3eef0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d139d4c466cbb442154adf9c2b8149f4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e4a50f6ac0abd0a5af7071d8eb233a48 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ee286b59ae897606bfd68a7f060d5baf +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- metadata +19 -21
- data/app/assets/javascripts/forever_style_guide/nav-fixed.js +0 -28
- data/app/assets/javascripts/forever_style_guide/navbar.js +0 -9
- data/app/assets/stylesheets/forever_style_guide/modules/_account-popover.scss +0 -133
- data/app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu-more.scss +0 -60
- data/app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu-nav.scss +0 -66
- data/app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu-product-main.scss +0 -52
- data/app/assets/stylesheets/forever_style_guide/modules/_dropdown-menu-product.scss +0 -82
- data/app/assets/stylesheets/forever_style_guide/modules/_navbar.scss +0 -132
- data/app/views/forever_style_guide/demo/navigation-fixed-signed-in-app.html.erb +0 -22
- data/app/views/forever_style_guide/demo/navigation-fixed-signed-in.html.erb +0 -22
- data/app/views/forever_style_guide/demo/navigation-fixed.html.erb +0 -28
- data/app/views/forever_style_guide/sections/components/_navigation.html.erb +0 -69
- data/app/views/forever_style_guide/sections/components/navigation/_account_popover.erb +0 -71
- data/app/views/forever_style_guide/sections/components/navigation/_basic.erb +0 -33
- data/app/views/forever_style_guide/sections/components/navigation/_dropdown.erb +0 -119
- data/app/views/forever_style_guide/sections/components/navigation/_marketing.erb +0 -155
- data/app/views/forever_style_guide/sections/components/navigation/_marketing_signed_in.erb +0 -155
- data/app/views/forever_style_guide/sections/components/navigation/_signed_in.erb +0 -113
- data/app/views/forever_style_guide/sections/components/navigation/_stacked.erb +0 -22
@@ -0,0 +1,37 @@
|
|
1
|
+
<!-- Show cart in navbar right on desktop: see nav.erb for mobile -->
|
2
|
+
<!-- TODO show item count in cart -->
|
3
|
+
<li class='navbar-account_item navbar-account_item-cart' id='mini-cart' data-turbolinks-temporary>
|
4
|
+
<%= link_to cart_url, class: "nav-icon-stack hidden-grid-float-breakpoint" do %>
|
5
|
+
<i class='fa fa-shopping-cart'></i>
|
6
|
+
<span class="nav-icon-label">Cart</span>
|
7
|
+
<% end %>
|
8
|
+
</li>
|
9
|
+
|
10
|
+
<% if defined?(current_user) && current_user.present? %>
|
11
|
+
<li class='navbar-account_item-inbox navbar-account_item'>
|
12
|
+
<%= link_to library_url, class: "nav-icon-stack hidden-grid-float-breakpoint" do %>
|
13
|
+
<i class='fa fa-inbox'></i>
|
14
|
+
<span class="nav-icon-label">Inbox</span>
|
15
|
+
<% end %>
|
16
|
+
</li>
|
17
|
+
|
18
|
+
<li class='dropdown navbar-account_item'>
|
19
|
+
<%= link_to nil, class: 'nav-icon-stack dropdown-toggle dropdown-toggle-account', :data => { :toggle => 'dropdown' } do %>
|
20
|
+
<i class='fa fa-user hidden-grid-float-breakpoint'></i>
|
21
|
+
<span class="nav-icon-label">Account</span>
|
22
|
+
<i class='fa fa-chevron-down visible-grid-float-breakpoint'></i>
|
23
|
+
<% end %>
|
24
|
+
|
25
|
+
<div class='dropdown-menu dropdown-menu-nav dropdown-menu-account color_block-gray-700'>
|
26
|
+
<%= render partial: "forever_style_guide/sections/components/navigation/nav_account_dropdown_menu" %>
|
27
|
+
</div>
|
28
|
+
</li>
|
29
|
+
|
30
|
+
<% else %>
|
31
|
+
<li class='dropdown navbar-account_item hidden-grid-float-breakpoint'>
|
32
|
+
<%= link_to login_url, class: 'nav-icon-stack' do %>
|
33
|
+
<i class='fa fa-user hidden-grid-float-breakpoint'></i>
|
34
|
+
<span class='nav-icon-label'>Log In</span>
|
35
|
+
<% end %>
|
36
|
+
</li>
|
37
|
+
<% end %>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_account_dropdown_menu.erb
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
<div class='container-fluid'>
|
2
|
+
<div class='row'>
|
3
|
+
<div class='col-xs-12 l-padded-thin'>
|
4
|
+
|
5
|
+
<ul class="list-unstyled">
|
6
|
+
<li class="dropdown-menu-account-item">
|
7
|
+
<% if current_user.avatar_url_small %>
|
8
|
+
<%= image_tag current_user.avatar_url_small, class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: current_user.name, title: current_user.name %>
|
9
|
+
<% else %>
|
10
|
+
<%= image_tag "default_avatar.jpg", class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: current_user.name, title: current_user.name %>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<div class="dropdown-menu-account-user">
|
14
|
+
<p class="dropdown-menu-account-user-intro color-gray-300">Signed in as</p>
|
15
|
+
<h4 class="page-title color-gray-300"><%= current_user.name %></h4>
|
16
|
+
</div>
|
17
|
+
</li>
|
18
|
+
|
19
|
+
<li class="dropdown-menu-account-divider"></li>
|
20
|
+
|
21
|
+
<li class="dropdown-menu-account-item">
|
22
|
+
<p class="color-gray-300">
|
23
|
+
|
24
|
+
<!-- TODO actually display storage -->
|
25
|
+
<span class="dropdown-menu-account-storage">40% of 50Gb</span>
|
26
|
+
<%= link_to "Upgrade", upgrade_url, class: 'small', title: "Upgrade your Forever Guaranteed Permanent Storage" %>
|
27
|
+
</p>
|
28
|
+
|
29
|
+
<div class="progress progress-thin color_block-primary">
|
30
|
+
<div class="progress-bar color_block-gray-400" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"></div>
|
31
|
+
</div>
|
32
|
+
</li>
|
33
|
+
|
34
|
+
<li class="dropdown-menu-account-divider"></li>
|
35
|
+
|
36
|
+
<li class="dropdown-menu-account-item">
|
37
|
+
<%= link_to user_settings_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'View User Settings' do %>
|
38
|
+
<i class='fa fa-cog'></i>Settings
|
39
|
+
<% end %>
|
40
|
+
</li>
|
41
|
+
|
42
|
+
<% if current_user.linked_ambassador %>
|
43
|
+
<li class="dropdown-menu-account-item">
|
44
|
+
<%= link_to back_office_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'Ambassador Back Office Reports' do %>
|
45
|
+
<i class='fa fa-suitcase'></i>My Back Office
|
46
|
+
<% end %>
|
47
|
+
</li>
|
48
|
+
<% end %>
|
49
|
+
|
50
|
+
<li class="dropdown-menu-account-divider hidden-xs hidden-sm"></li>
|
51
|
+
|
52
|
+
<li class="dropdown-menu-account-item">
|
53
|
+
<%= link_to log_out_url, class: 'dropdown-menu-nav-link dropdown-menu-nav-link-no_margin', title: 'Log Out of Forever' do %>
|
54
|
+
<i class='fa fa-share'></i>Log Out
|
55
|
+
<% end %>
|
56
|
+
</li>
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_account_signed_out_mobile.erb
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
<% if !(defined?(current_user) && current_user.present?) %>
|
2
|
+
<%= link_to login_url, class: 'visible-grid-float-breakpoint btn btn-action btn-primary navbar-account-signed_out_btn is_fixed_bottom' do %>
|
3
|
+
<span class="btn-action-label">Log In or Sign Up</span>
|
4
|
+
<%= fa_icon "chevron-right", class: "btn-action-icon" %>
|
5
|
+
<% end %>
|
6
|
+
<% end %>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_ambassador_dropdown.erb
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
<li class='dropdown dropdown-full_width dropdown-ambassador navbar-account_item'>
|
2
|
+
<%= link_to nil, class: 'dropdown-toggle dropdown-toggle-ambassador', :data => { :toggle => 'dropdown' } do %>
|
3
|
+
<div>
|
4
|
+
<small class="dropdown-ambassador-intro_text">
|
5
|
+
<%= defined?(ambassador) && ambassador.present? ? 'Your Ambassador' : 'Find or join Forever' %>
|
6
|
+
</small>
|
7
|
+
</div>
|
8
|
+
<span class="dropdown-ambassador-primary_text">
|
9
|
+
<%= defined?(ambassador) && ambassador.present? ? ambassador.name : 'Ambassadors' %>
|
10
|
+
</span>
|
11
|
+
<i class='fa fa-chevron-down'></i>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<div class='dropdown-menu dropdown-menu-nav color_block-gray-700'>
|
15
|
+
<div class='container dropdown-menu-nav-container dropdown-ambassador-container'>
|
16
|
+
<div class='row'>
|
17
|
+
|
18
|
+
<div class='col-grid-float-6 col-grid-float-push-6 l-padded-thin'>
|
19
|
+
<h3 class='dropdown-menu-nav-title page-title color-ambassador-light'>Your Ambassador</h3>
|
20
|
+
|
21
|
+
<% if defined?(ambassador) && ambassador.present? %>
|
22
|
+
|
23
|
+
<%= link_to 'change', '/find-an-ambassador', title: 'Change Your Forever Ambassador', class: 'pull-right dropdown-ambassador-edit_btn' %>
|
24
|
+
<div class='dropdown-menu-account-divider'></div>
|
25
|
+
|
26
|
+
<div>
|
27
|
+
<% if ambassador.avatar_url_small %>
|
28
|
+
<%= image_tag ambassador.avatar_url_small, class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: ambassador.name, title: ambassador.name %>
|
29
|
+
<% else %>
|
30
|
+
<%= image_tag "default_avatar.jpg", class: "dropdown-menu-account-avatar avatar avatar-sm pull-left", alt: ambassador.name, title: ambassador.name %>
|
31
|
+
<% end %>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="dropdown-ambassador-basic_info">
|
35
|
+
<h4 class="color-ambassador-light dropdown-ambassador-name"><%= ambassador.email %></h4>
|
36
|
+
<p class="color-gray-300 page-title dropdown-ambassador-rank"><%= ambassador.rank %></p>
|
37
|
+
<p class="color-gray-300 page-title dropdown-ambassador-city"><%= ambassador.city %>, <%= ambassador.region %></p>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div class='dropdown-menu-account-divider'></div>
|
41
|
+
|
42
|
+
<div class="row">
|
43
|
+
<% if ambassador.email %>
|
44
|
+
<div class="col-grid-float-6">
|
45
|
+
<%= mail_to ambassador.email, title: ambassador.email, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
46
|
+
<i class="fa fa-envelope btn-action-icon"></i><span class="btn-action-label"><%= ambassador.email %></span>
|
47
|
+
<% end %>
|
48
|
+
</div>
|
49
|
+
<% end %>
|
50
|
+
|
51
|
+
<% if ambassador.phone %>
|
52
|
+
<div class="col-grid-float-6">
|
53
|
+
<%= link_to ('tel:+' + ambassador.phone), title: 'Call' + ambassador.name, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
54
|
+
<i class="fa fa-phone btn-action-icon"></i><span class="btn-action-label"><%= ambassador.phone %></span>
|
55
|
+
<% end %>
|
56
|
+
</div>
|
57
|
+
<% end %>
|
58
|
+
|
59
|
+
<% if ambassador.website %>
|
60
|
+
<div class="col-grid-float-6">
|
61
|
+
<%= link_to ambassador.website, title: ambassador.website, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
62
|
+
<i class="fa fa-link btn-action-icon"></i><span class="btn-action-label">ambassador.website</span>
|
63
|
+
<% end %>
|
64
|
+
</div>
|
65
|
+
<% end %>
|
66
|
+
|
67
|
+
<% if ambassador.facebook_url %>
|
68
|
+
<div class="col-grid-float-6">
|
69
|
+
<%= link_to ambassador.facebook_url, title: ambassador.facebook_url, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
70
|
+
<i class="fa fa-facebook btn-action-icon"></i><span class="btn-action-label">ambassador.facebook_url</span>
|
71
|
+
<% end %>
|
72
|
+
</div>
|
73
|
+
<% end %>
|
74
|
+
|
75
|
+
<% if ambassador.twitter_handle %>
|
76
|
+
<div class="col-grid-float-6">
|
77
|
+
<%= link_to ambassador.twitter_handle, title: ambassador.twitter_handle, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
78
|
+
<i class="fa fa-twitter btn-action-icon"></i><span class="btn-action-label">ambassador.twitter_handle</span>
|
79
|
+
<% end %>
|
80
|
+
</div>
|
81
|
+
<% end %>
|
82
|
+
|
83
|
+
<% if ambassador.instagram_url %>
|
84
|
+
<div class="col-grid-float-6">
|
85
|
+
<%= link_to ambassador.instagram_url, title: ambassador.instagram_url, class: 'btn btn-default btn-link btn-action dropdown-ambassador-contact_btn' do %>
|
86
|
+
<i class="fa fa-instagram btn-action-icon"></i><span class="btn-action-label">ambassador.instagram_url</span>
|
87
|
+
<% end %>
|
88
|
+
</div>
|
89
|
+
<% end %>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<% else %>
|
93
|
+
|
94
|
+
<div class='dropdown-menu-account-divider'></div>
|
95
|
+
<p class="dropdown-menu-nav-description">Ambassadors provide <strong><u>free</u></strong> training, product consultations, and advance knowledge of sales and new products!</p>
|
96
|
+
<%= link_to find_ambassador_url, class: 'btn btn-ambassador btn-inverse btn-lg l-section-close', title: 'Get Free Training and Support from Certified Ambassadors' do %>
|
97
|
+
Find <span class="hidden-xs">a Local</span><span class="hidden-sm hidden-md hidden-lg">an</span> Ambassador
|
98
|
+
<% end %>
|
99
|
+
|
100
|
+
<% end %>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div class='col-grid-float-6 l-padded-thin'>
|
104
|
+
<h3 class='dropdown-menu-nav-title page-title color-ambassador-light'>Join our team!</h3>
|
105
|
+
<div class='dropdown-menu-account-divider'></div>
|
106
|
+
<p class="dropdown-menu-nav-description">To reach the Forever vision, we need brand ambassadors who love helping people capture and share their life's stories.</p>
|
107
|
+
<%= link_to 'Learn More', opportunity_url, class: 'btn btn-ambassador btn-inverse btn-lg l-section-close', title: 'Make Money Helping People Save & Print their Photos' %>
|
108
|
+
</div>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
</li>
|
@@ -0,0 +1,99 @@
|
|
1
|
+
<%= link_to nil, class: 'dropdown-toggle dropdown-toggle-community', :data => { :toggle => 'dropdown' } do %>
|
2
|
+
Community
|
3
|
+
<i class='fa fa-chevron-down'></i>
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
<div class='dropdown-menu dropdown-menu-nav color_block-gray-700'>
|
7
|
+
<div class='container dropdown-menu-nav-container'>
|
8
|
+
<div class='row'>
|
9
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
10
|
+
<h3 class='dropdown-menu-nav-title page-title color-primary'>Customer Support</h3>
|
11
|
+
|
12
|
+
<ul class="list-unstyled">
|
13
|
+
<li>
|
14
|
+
<%= link_to 'Help Center', help_center_url, class: 'dropdown-menu-nav-link', title: 'Forever Help Center' %>
|
15
|
+
</li>
|
16
|
+
|
17
|
+
<li>
|
18
|
+
<%= link_to 'Web & Mobile App FAQ', web_faq_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan Frequently Asked Questions' %>
|
19
|
+
</li>
|
20
|
+
|
21
|
+
<li>
|
22
|
+
<%= link_to 'Artisan FAQ', artisan_faq_url, class: 'dropdown-menu-nav-link', title: 'Forever Artisan Frequently Asked Questions' %>
|
23
|
+
</li>
|
24
|
+
|
25
|
+
<li>
|
26
|
+
<%= link_to 'Historian FAQ', historian_faq_url, class: 'dropdown-menu-nav-link', title: 'Forever Historian Frequently Asked Questions' %>
|
27
|
+
</li>
|
28
|
+
|
29
|
+
<li>
|
30
|
+
<%= link_to 'Customer Commitments', customer_commitments_url, class: 'dropdown-menu-nav-link', title: 'Forever Customer Commitments' %>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
<li>
|
34
|
+
<%= link_to 'Contact Us', contact_us_url, class: 'dropdown-menu-nav-link', title: 'Contact Us' %>
|
35
|
+
</li>
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
40
|
+
<h3 class='dropdown-menu-nav-title page-title color-ambassador-light'>Ambassadors</h3>
|
41
|
+
|
42
|
+
<ul class="list-unstyled">
|
43
|
+
<li>
|
44
|
+
<%= link_to 'Become an Ambassador', opportunity_url, class: 'dropdown-menu-nav-link', title: 'Make Money Helping People Save & Print their Photos' %>
|
45
|
+
</li>
|
46
|
+
|
47
|
+
<li>
|
48
|
+
<%= link_to 'Find an Ambassador', find_ambassador_url, class: 'dropdown-menu-nav-link', title: 'Get Free Training and Support from Certified Ambassadors' %>
|
49
|
+
</li>
|
50
|
+
|
51
|
+
<li class="hide">
|
52
|
+
<%= link_to 'Ambassador Direct', ambassador_direct_url, class: 'dropdown-menu-nav-link', title: 'Make Money as a Forever Business Partner' %>
|
53
|
+
</li>
|
54
|
+
</ul>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
58
|
+
<h3 class='dropdown-menu-nav-title page-title color-secondary'>Events</h3>
|
59
|
+
|
60
|
+
<ul class="list-unstyled">
|
61
|
+
<li>
|
62
|
+
<%= link_to 'Forever Live!', forever_live_url, class: 'dropdown-menu-nav-link', title: 'Scrapbooking and Memory Keeping Conference' %>
|
63
|
+
</li>
|
64
|
+
|
65
|
+
<li>
|
66
|
+
<%= link_to 'Forever Retreats', retreats_url, class: 'dropdown-menu-nav-link', title: 'Creative Weekend Events for Scrapbooking and Memory Keeping' %>
|
67
|
+
</li>
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
72
|
+
<h3 class='dropdown-menu-nav-title page-title color-services'>Connect</h3>
|
73
|
+
|
74
|
+
<ul class="list-unstyled">
|
75
|
+
<li>
|
76
|
+
<%= link_to 'Facebook', facebook_url, target: '_blank', class: 'dropdown-menu-nav-link', title: 'Follow us on Facebook' %>
|
77
|
+
</li>
|
78
|
+
|
79
|
+
<li>
|
80
|
+
<%= link_to 'Twitter', twitter_url, target: '_blank', class: 'dropdown-menu-nav-link', title: 'Follow us on Twitter' %>
|
81
|
+
</li>
|
82
|
+
|
83
|
+
<li>
|
84
|
+
<%= link_to 'Instagram', instagram_url, target: '_blank', class: 'dropdown-menu-nav-link', title: 'Follow us on Instagram' %>
|
85
|
+
</li>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<%= link_to 'Blog', blog_url, class: 'dropdown-menu-nav-link', title: 'Learn more at the Forever Blog' %>
|
89
|
+
</li>
|
90
|
+
|
91
|
+
<li>
|
92
|
+
<%= link_to 'Press', press_url, class: 'dropdown-menu-nav-link', title: 'View Press Releases and News Stories' %>
|
93
|
+
</li>
|
94
|
+
</ul>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
</div>
|
data/app/views/forever_style_guide/sections/components/navigation/_nav_my_forever_dropdown.erb
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
<%= link_to nil, class: 'dropdown-toggle dropdown-toggle-my_forever', :data => { :toggle => 'dropdown' } do %>
|
2
|
+
My Forever
|
3
|
+
<i class='fa fa-chevron-down'></i>
|
4
|
+
<% end %>
|
5
|
+
|
6
|
+
<div class='dropdown-menu dropdown-menu-nav color_block-gray-700'>
|
7
|
+
<div class='container dropdown-menu-nav-container'>
|
8
|
+
<div class='row'>
|
9
|
+
|
10
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
11
|
+
<h3 class='dropdown-menu-nav-title page-title color-primary'>My Forever App</h3>
|
12
|
+
|
13
|
+
<ul class="list-unstyled">
|
14
|
+
<% if defined?(current_user) && current_user.present? %>
|
15
|
+
|
16
|
+
<li>
|
17
|
+
<%= link_to library_url, class: 'dropdown-menu-nav-link', title: 'Organize Photos in Your Forever Library' do %>
|
18
|
+
<i class='fa fa-th-large'></i>Library
|
19
|
+
<% end %>
|
20
|
+
</li>
|
21
|
+
|
22
|
+
<li>
|
23
|
+
<%= link_to projects_url, class: 'dropdown-menu-nav-link', title: 'Create Print Projects' do %>
|
24
|
+
<i class='fa fa-paint-brush'></i>Projects
|
25
|
+
<% end %>
|
26
|
+
</li>
|
27
|
+
|
28
|
+
<li>
|
29
|
+
<%= link_to people_url, class: 'dropdown-menu-nav-link', title: 'Share Photos with Friends and Family' do %>
|
30
|
+
<i class='fa fa-users'></i>People
|
31
|
+
<% end %>
|
32
|
+
</li>
|
33
|
+
|
34
|
+
<li>
|
35
|
+
<%= link_to app_home_url, class: 'dropdown-menu-nav-link', title: 'View Your Shared Photo Albums' do %>
|
36
|
+
<i class='fa fa-home'></i>Home
|
37
|
+
<% end %>
|
38
|
+
</li>
|
39
|
+
|
40
|
+
<% else %>
|
41
|
+
|
42
|
+
<li>
|
43
|
+
<%= link_to login_url, class: 'dropdown-menu-nav-link', title: 'Log in to your Forever account' do %>
|
44
|
+
<i class='fa fa-user'></i>Log In
|
45
|
+
<% end %>
|
46
|
+
</li>
|
47
|
+
|
48
|
+
<li>
|
49
|
+
<%= link_to sign_up_url, class: 'dropdown-menu-nav-link', title: 'Sign up for Forever' do %>
|
50
|
+
<i class='fa fa-user-plus'></i>Sign Up Free!
|
51
|
+
<% end %>
|
52
|
+
</li>
|
53
|
+
|
54
|
+
<% end %>
|
55
|
+
</ul>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
59
|
+
<h3 class='dropdown-menu-nav-title page-title color-secondary'>About</h3>
|
60
|
+
|
61
|
+
<ul class="list-unstyled">
|
62
|
+
<li>
|
63
|
+
<%= link_to 'The Forever Guarantee', guarantee_url, class: 'dropdown-menu-nav-link', title: 'Forever Guarantee' %>
|
64
|
+
</li>
|
65
|
+
|
66
|
+
<li>
|
67
|
+
<%= link_to 'About Us', about_url, class: 'dropdown-menu-nav-link', title: 'About Forever' %>
|
68
|
+
</li>
|
69
|
+
|
70
|
+
<li>
|
71
|
+
<%= link_to 'Our Team', team_url, class: 'dropdown-menu-nav-link', title: 'Meet the Forever Team' %>
|
72
|
+
</li>
|
73
|
+
|
74
|
+
<li>
|
75
|
+
<%= link_to 'Our Beliefs', beliefs_url, class: 'dropdown-menu-nav-link', title: 'Forever Beliefs and Values' %>
|
76
|
+
</li>
|
77
|
+
</ul>
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div class='col-grid-float-3 l-padded-thin'>
|
81
|
+
<h3 class='dropdown-menu-nav-title page-title color-services'>Get Started</h3>
|
82
|
+
|
83
|
+
<ul class="list-unstyled">
|
84
|
+
<li>
|
85
|
+
<%= link_to zendesk_overview_video_url, class: 'dropdown-menu-nav-link', title: 'View the Forever Overview Video', target: '_blank' do %>
|
86
|
+
<i class='fa fa-video-camera'></i>Forever Overview
|
87
|
+
<% end %>
|
88
|
+
</li>
|
89
|
+
|
90
|
+
<li>
|
91
|
+
<%= link_to zendesk_uploading_video_url, class: 'dropdown-menu-nav-link', title: 'View the Uploading Photos Tutorial Video', target: '_blank' do %>
|
92
|
+
<i class='fa fa-video-camera'></i>Uploading Photos
|
93
|
+
<% end %>
|
94
|
+
</li>
|
95
|
+
|
96
|
+
<li>
|
97
|
+
<%= link_to zendesk_organizing_video_url, class: 'dropdown-menu-nav-link', title: 'View the Organizing Photos Tutorial Video', target: '_blank' do %>
|
98
|
+
<i class='fa fa-video-camera'></i>Getting Organized
|
99
|
+
<% end %>
|
100
|
+
</li>
|
101
|
+
|
102
|
+
<li>
|
103
|
+
<%= link_to zendesk_sharing_video_url, class: 'dropdown-menu-nav-link', title: 'View the Sharing Photos Tutorial Video', target: '_blank' do %>
|
104
|
+
<i class='fa fa-video-camera'></i>Sharing
|
105
|
+
<% end %>
|
106
|
+
</li>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<div class='col-grid-float-3 l-padded-thin dropdown-menu-nav-extra_column'>
|
112
|
+
<div class="hidden-grid-float-breakpoint l-section-far"></div>
|
113
|
+
<ul class="list-unstyled">
|
114
|
+
<li>
|
115
|
+
<%= link_to zendesk_tour_video_url, class: 'dropdown-menu-nav-link', title: 'Video Tour of a Well Curated Forever Account', target: '_blank' do %>
|
116
|
+
<i class='fa fa-video-camera'></i>Account Tour
|
117
|
+
<% end %>
|
118
|
+
</li>
|
119
|
+
|
120
|
+
<li>
|
121
|
+
<%= link_to zendesk_albums_video_url, class: 'dropdown-menu-nav-link', title: 'Organizing Photos with Albums in Forever - Video Tutorial', target: '_blank' do %>
|
122
|
+
<i class='fa fa-video-camera'></i>Albums
|
123
|
+
<% end %>
|
124
|
+
</li>
|
125
|
+
|
126
|
+
<li>
|
127
|
+
<%= link_to zendesk_tags_video_url, class: 'dropdown-menu-nav-link', title: 'Organizing Photos with Tags in Forever - Video Tutorial', target: '_blank' do %>
|
128
|
+
<i class='fa fa-video-camera'></i>Tags
|
129
|
+
<% end %>
|
130
|
+
</li>
|
131
|
+
|
132
|
+
<li>
|
133
|
+
<%= link_to zendesk_dates_video_url, class: 'dropdown-menu-nav-link', title: 'Organizing Photos by Date in Forever - Video Tutorial', target: '_blank' do %>
|
134
|
+
<i class='fa fa-video-camera'></i>Dates
|
135
|
+
<% end %>
|
136
|
+
</li>
|
137
|
+
</ul>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
</div>
|