bootstrap_bux 0.1.15 → 0.2.0
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/README.md +9 -0
- data/app/views/bootstrap_bux/_osu_footer.html.erb +109 -0
- data/app/views/bootstrap_bux/_osu_footer_dark.html.erb +1 -99
- data/app/views/bootstrap_bux/_osu_footer_light.html.erb +1 -100
- data/app/views/bootstrap_bux/_osu_footer_white.html.erb +1 -100
- data/config/initializers/bootstrap_bux.rb +4 -0
- data/lib/bootstrap_bux/version.rb +1 -1
- data/lib/bootstrap_bux.rb +4 -5
- metadata +25 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d4cbefeb491e94a4f2230c4f2775c2c301eefaf649f087e7d18b2d7a2f5278
|
4
|
+
data.tar.gz: ce4a8869c5e489523385b311484766d67fcbcd308136341fb3f54700904141b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93f2b72928f59d86567170234cfb20e38418fd08f086f4fa5c125a2cb86153d1467f270fdcd53db3927d01793f25c2dc6551bd93f056744c11c546ad72fe1111
|
7
|
+
data.tar.gz: 586478b94df03d9d58b956f7dad47f8ef64e01d68921dbb88bbfe1e69567362c428d2911db6445db843462c5c78702a83bf9e42660de1274e6138dcfdb3a2806
|
data/README.md
CHANGED
@@ -34,6 +34,10 @@ Once the gem is installed, place a configuration file at `config/initializers/bo
|
|
34
34
|
config.linkedin = nil
|
35
35
|
config.youtube = nil
|
36
36
|
config.tiktok = nil
|
37
|
+
|
38
|
+
# add values for these if you wish to include a login link in the footer
|
39
|
+
config.signin_link = nil
|
40
|
+
config.signout_link = nil
|
37
41
|
end
|
38
42
|
|
39
43
|
|
@@ -61,6 +65,11 @@ or
|
|
61
65
|
|
62
66
|
= render 'bootstrap_bux/osu_footer_white'
|
63
67
|
|
68
|
+
If you wish to include a login link in your footer, be sure to include link information in the config file (see above), and add a `signed_in?` argument to your render statement. For a standard Devise setup, this might looks like:
|
69
|
+
|
70
|
+
= render 'bootstrap_bux/osu_footer_white', signed_in?: user_signed_in?
|
71
|
+
|
72
|
+
|
64
73
|
## Supported BUX CSS classes
|
65
74
|
|
66
75
|
### Links:
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<div class="row">
|
3
|
+
<div class="col">
|
4
|
+
<div class="bux-footer__logo">
|
5
|
+
<a href="http://osu.edu" target="_blank">
|
6
|
+
<%= render 'bootstrap_bux/footer_logo', fill1: fill1, fill2: fill2 %>
|
7
|
+
</a>
|
8
|
+
</div>
|
9
|
+
<div class="bux-footer__contact bux-footer__contact--address">
|
10
|
+
<p class="bux_footer__site-name"><%= BootstrapBux.configuration.department_name %></p>
|
11
|
+
<p class="bux_footer__address"><%= BootstrapBux.configuration.building_room %></p>
|
12
|
+
<p class="bux_footer__address"><%= BootstrapBux.configuration.address %></p>
|
13
|
+
<p class="bux_footer__address">Columbus, OH 43210</p>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="bux-footer__contact bux-footer__contact--email-phone">
|
17
|
+
<hr />
|
18
|
+
<p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
|
19
|
+
<p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
|
20
|
+
<p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
<div class="col text-end">
|
24
|
+
<% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin = nil.blank? && BootstrapBux.configuration.youtube = nil.blank? && BootstrapBux.configuration.tiktok = nil %>
|
25
|
+
<div class="bux-footer__social">
|
26
|
+
<ul class="bux-social-links">
|
27
|
+
<% unless BootstrapBux.configuration.facebook.blank? %>
|
28
|
+
<li class="bux-social-links__item bux-social-links__item--Facebook">
|
29
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.facebook %>" target="_blank">
|
30
|
+
<span class="visually-hidden">Facebook profile — external</span>
|
31
|
+
<span class="icon icon-facebook" aria-hidden="true"></span>
|
32
|
+
</a>
|
33
|
+
</li>
|
34
|
+
<% end %>
|
35
|
+
<% unless BootstrapBux.configuration.instagram.blank? %>
|
36
|
+
<li class="bux-social-links__item bux-social-links__item--Instagram">
|
37
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.instagram %>"
|
38
|
+
target="_blank">
|
39
|
+
<span class="visually-hidden">Instagram profile — external</span>
|
40
|
+
<span class="icon icon-instagram" aria-hidden="true"></span>
|
41
|
+
</a>
|
42
|
+
</li>
|
43
|
+
<% end %>
|
44
|
+
<% unless BootstrapBux.configuration.twitter.blank? %>
|
45
|
+
<li class="bux-social-links__item bux-social-links__item--X">
|
46
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.twitter %>" target="_blank">
|
47
|
+
<span class="visually-hidden">X profile — external</span>
|
48
|
+
<span class="icon icon-x" aria-hidden="true"></span>
|
49
|
+
</a>
|
50
|
+
</li>
|
51
|
+
<% end %>
|
52
|
+
<% unless BootstrapBux.configuration.linkedin.blank? %>
|
53
|
+
<li class="bux-social-links__item bux-social-links__item--LinkedIn">
|
54
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.linkedin %>"
|
55
|
+
target="_blank">
|
56
|
+
<span class="visually-hidden">LinkedIn profile — external</span>
|
57
|
+
<span class="icon icon-linkedin" aria-hidden="true"></span>
|
58
|
+
</a>
|
59
|
+
</li>
|
60
|
+
<% end %>
|
61
|
+
<% unless BootstrapBux.configuration.youtube.blank? %>
|
62
|
+
<li class="bux-social-links__item bux-social-links__item--YouTube">
|
63
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.youtube %>"
|
64
|
+
target="_blank">
|
65
|
+
<span class="visually-hidden">YouTube profile — external</span>
|
66
|
+
<span class="icon icon-youtube" aria-hidden="true"></span>
|
67
|
+
</a>
|
68
|
+
</li>
|
69
|
+
<% end %>
|
70
|
+
<% unless BootstrapBux.configuration.tiktok.blank? %>
|
71
|
+
<li class="bux-social-links__item bux-social-links__item--TikTok">
|
72
|
+
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.tiktok %>" target="_blank">
|
73
|
+
<span class="visually-hidden">TikTok profile — external</span>
|
74
|
+
<span class="icon icon-tiktok" aria-hidden="true"></span>
|
75
|
+
</a>
|
76
|
+
</li>
|
77
|
+
<% end %>
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
<% end %>
|
81
|
+
<div class="bux-footer__fine-print">
|
82
|
+
<div class="bux-footer__ada">
|
83
|
+
If you have a disability
|
84
|
+
and experience difficulty accessing this content,
|
85
|
+
please contact the Digital Accessibility Center
|
86
|
+
for assistance at <a class="bux-link" href="mailto:accessibility@osu.edu">
|
87
|
+
accessibility@osu.edu</a> or <a class="bux-link" href="tel:614-292-1760">614-292-1760</a>.
|
88
|
+
</div>
|
89
|
+
<div class="bux-footer__links">
|
90
|
+
<p class="bux_footer__link"><a class="bux-link"
|
91
|
+
href="https://go.osu.edu/privacy">Privacy Statement</a></p>
|
92
|
+
<p class="bux_footer__link"><a class="bux-link"
|
93
|
+
href="https://go.osu.edu/nondiscrimination-notice">Non-discrimination Notice</a></p>
|
94
|
+
<% unless BootstrapBux.configuration.signin_link.blank? || BootstrapBux.configuration.signout_link.blank? %>
|
95
|
+
<p class="bux_footer__link">
|
96
|
+
<% if signed_in? %>
|
97
|
+
<%= link_to('Log Out', BootstrapBux.configuration.signout_link, method: :delete, class: 'bux-link') %>
|
98
|
+
<% else %>
|
99
|
+
<%= link_to('Log In', BootstrapBux.configuration.signin_link, method: :post, class: 'bux-link') %>
|
100
|
+
<% end %>
|
101
|
+
</p>
|
102
|
+
<% end %>
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div class="bux-footer__copyright">© 2024 The Ohio State University</div>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
</div>
|
109
|
+
</div>
|
@@ -1,101 +1,3 @@
|
|
1
1
|
<footer class="bux-footer bux-footer--dark">
|
2
|
-
|
3
|
-
<div class="row">
|
4
|
-
<div class="col">
|
5
|
-
<div class="bux-footer__logo">
|
6
|
-
<a href="http://osu.edu" target="_blank">
|
7
|
-
<%= render 'bootstrap_bux/footer_logo', fill1: '#FFFFFF;', fill2: '#BA0C2F;' %>
|
8
|
-
</a>
|
9
|
-
</div>
|
10
|
-
<div class="bux-footer__contact bux-footer__contact--address">
|
11
|
-
<p class="bux_footer__site-name"><%= BootstrapBux.configuration.department_name %></p>
|
12
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.building_room %></p>
|
13
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.address %></p>
|
14
|
-
<p class="bux_footer__address">Columbus, OH 43210</p>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="bux-footer__contact bux-footer__contact--email-phone">
|
18
|
-
<hr />
|
19
|
-
<p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
|
20
|
-
<p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
|
21
|
-
<p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="col text-end">
|
25
|
-
<% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin = nil.blank? && BootstrapBux.configuration.youtube = nil.blank? && BootstrapBux.configuration.tiktok = nil %>
|
26
|
-
<div class="bux-footer__social">
|
27
|
-
<ul class="bux-social-links">
|
28
|
-
<% unless BootstrapBux.configuration.facebook.blank? %>
|
29
|
-
<li class="bux-social-links__item bux-social-links__item--Facebook">
|
30
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.facebook %>" target="_blank">
|
31
|
-
<span class="visually-hidden">Facebook profile — external</span>
|
32
|
-
<span class="icon icon-facebook" aria-hidden="true"></span>
|
33
|
-
</a>
|
34
|
-
</li>
|
35
|
-
<% end %>
|
36
|
-
<% unless BootstrapBux.configuration.instagram.blank? %>
|
37
|
-
<li class="bux-social-links__item bux-social-links__item--Instagram">
|
38
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.instagram %>"
|
39
|
-
target="_blank">
|
40
|
-
<span class="visually-hidden">Instagram profile — external</span>
|
41
|
-
<span class="icon icon-instagram" aria-hidden="true"></span>
|
42
|
-
</a>
|
43
|
-
</li>
|
44
|
-
<% end %>
|
45
|
-
<% unless BootstrapBux.configuration.twitter.blank? %>
|
46
|
-
<li class="bux-social-links__item bux-social-links__item--X">
|
47
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.twitter %>" target="_blank">
|
48
|
-
<span class="visually-hidden">X profile — external</span>
|
49
|
-
<span class="icon icon-x" aria-hidden="true"></span>
|
50
|
-
</a>
|
51
|
-
</li>
|
52
|
-
<% end %>
|
53
|
-
<% unless BootstrapBux.configuration.linkedin.blank? %>
|
54
|
-
<li class="bux-social-links__item bux-social-links__item--LinkedIn">
|
55
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.linkedin %>"
|
56
|
-
target="_blank">
|
57
|
-
<span class="visually-hidden">LinkedIn profile — external</span>
|
58
|
-
<span class="icon icon-linkedin" aria-hidden="true"></span>
|
59
|
-
</a>
|
60
|
-
</li>
|
61
|
-
<% end %>
|
62
|
-
<% unless BootstrapBux.configuration.youtube.blank? %>
|
63
|
-
<li class="bux-social-links__item bux-social-links__item--YouTube">
|
64
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.youtube %>"
|
65
|
-
target="_blank">
|
66
|
-
<span class="visually-hidden">YouTube profile — external</span>
|
67
|
-
<span class="icon icon-youtube" aria-hidden="true"></span>
|
68
|
-
</a>
|
69
|
-
</li>
|
70
|
-
<% end %>
|
71
|
-
<% unless BootstrapBux.configuration.tiktok.blank? %>
|
72
|
-
<li class="bux-social-links__item bux-social-links__item--TikTok">
|
73
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.tiktok %>" target="_blank">
|
74
|
-
<span class="visually-hidden">TikTok profile — external</span>
|
75
|
-
<span class="icon icon-tiktok" aria-hidden="true"></span>
|
76
|
-
</a>
|
77
|
-
</li>
|
78
|
-
<% end %>
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
<% end %>
|
82
|
-
<div class="bux-footer__fine-print">
|
83
|
-
<div class="bux-footer__ada">
|
84
|
-
If you have a disability
|
85
|
-
and experience difficulty accessing this content,
|
86
|
-
please contact the Digital Accessibility Center
|
87
|
-
for assistance at <a class="bux-link" href="mailto:accessibility@osu.edu">
|
88
|
-
accessibility@osu.edu</a> or <a class="bux-link" href="tel:614-292-1760">614-292-1760</a>.
|
89
|
-
</div>
|
90
|
-
<div class="bux-footer__links">
|
91
|
-
<p class="bux_footer__link"><a class="bux-link"
|
92
|
-
href="https://go.osu.edu/privacy">Privacy Statement</a></p>
|
93
|
-
<p class="bux_footer__link"><a class="bux-link"
|
94
|
-
href="https://go.osu.edu/nondiscrimination-notice">Non-discrimination Notice</a></p>
|
95
|
-
</div>
|
96
|
-
<div class="bux-footer__copyright">© 2024 The Ohio State University</div>
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
</div>
|
2
|
+
<%= render('bootstrap_bux/osu_footer', fill1: '#FFFFFF;', fill2: '#BA0C2F;') %>
|
101
3
|
</footer>
|
@@ -1,102 +1,3 @@
|
|
1
1
|
<footer class="bux-footer bux-footer--light">
|
2
|
-
|
3
|
-
<div class="row">
|
4
|
-
<div class="col">
|
5
|
-
<div class="bux-footer__logo">
|
6
|
-
<a href="http://osu.edu" target="_blank">
|
7
|
-
<%= render 'bootstrap_bux/footer_logo', fill1: '#666666;', fill2: '#BA0C2F;' %>
|
8
|
-
</a>
|
9
|
-
</div>
|
10
|
-
<div class="bux-footer__contact bux-footer__contact--address">
|
11
|
-
<p class="bux_footer__site-name"><%= BootstrapBux.configuration.department_name %></p>
|
12
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.building_room %></p>
|
13
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.address %></p>
|
14
|
-
<p class="bux_footer__address">Columbus, OH 43210</p>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="bux-footer__contact bux-footer__contact--email-phone">
|
18
|
-
<hr />
|
19
|
-
<p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
|
20
|
-
<p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
|
21
|
-
<p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="col text-end">
|
25
|
-
<% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin = nil.blank? && BootstrapBux.configuration.youtube = nil.blank? && BootstrapBux.configuration.tiktok = nil %>
|
26
|
-
<div class="bux-footer__social">
|
27
|
-
<ul class="bux-social-links">
|
28
|
-
<% unless BootstrapBux.configuration.facebook.blank? %>
|
29
|
-
<li class="bux-social-links__item bux-social-links__item--Facebook">
|
30
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.facebook %>" target="_blank">
|
31
|
-
<span class="visually-hidden">Facebook profile — external</span>
|
32
|
-
<span class="icon icon-facebook" aria-hidden="true"></span>
|
33
|
-
</a>
|
34
|
-
</li>
|
35
|
-
<% end %>
|
36
|
-
<% unless BootstrapBux.configuration.instagram.blank? %>
|
37
|
-
<li class="bux-social-links__item bux-social-links__item--Instagram">
|
38
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.instagram %>"
|
39
|
-
target="_blank">
|
40
|
-
<span class="visually-hidden">Instagram profile — external</span>
|
41
|
-
<span class="icon icon-instagram" aria-hidden="true"></span>
|
42
|
-
</a>
|
43
|
-
</li>
|
44
|
-
<% end %>
|
45
|
-
<% unless BootstrapBux.configuration.twitter.blank? %>
|
46
|
-
<li class="bux-social-links__item bux-social-links__item--X">
|
47
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.twitter %>" target="_blank">
|
48
|
-
<span class="visually-hidden">X profile — external</span>
|
49
|
-
<span class="icon icon-x" aria-hidden="true"></span>
|
50
|
-
</a>
|
51
|
-
</li>
|
52
|
-
<% end %>
|
53
|
-
<% unless BootstrapBux.configuration.linkedin.blank? %>
|
54
|
-
<li class="bux-social-links__item bux-social-links__item--LinkedIn">
|
55
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.linkedin %>"
|
56
|
-
target="_blank">
|
57
|
-
<span class="visually-hidden">LinkedIn profile — external</span>
|
58
|
-
<span class="icon icon-linkedin" aria-hidden="true"></span>
|
59
|
-
</a>
|
60
|
-
</li>
|
61
|
-
<% end %>
|
62
|
-
<% unless BootstrapBux.configuration.youtube.blank? %>
|
63
|
-
<li class="bux-social-links__item bux-social-links__item--YouTube">
|
64
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.youtube %>"
|
65
|
-
target="_blank">
|
66
|
-
<span class="visually-hidden">YouTube profile — external</span>
|
67
|
-
<span class="icon icon-youtube" aria-hidden="true"></span>
|
68
|
-
</a>
|
69
|
-
</li>
|
70
|
-
<% end %>
|
71
|
-
<% unless BootstrapBux.configuration.tiktok.blank? %>
|
72
|
-
<li class="bux-social-links__item bux-social-links__item--TikTok">
|
73
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.tiktok %>" target="_blank">
|
74
|
-
<span class="visually-hidden">TikTok profile — external</span>
|
75
|
-
<span class="icon icon-tiktok" aria-hidden="true"></span>
|
76
|
-
</a>
|
77
|
-
</li>
|
78
|
-
<% end %>
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
<% end %>
|
82
|
-
|
83
|
-
<div class="bux-footer__fine-print">
|
84
|
-
<div class="bux-footer__ada">
|
85
|
-
If you have a disability
|
86
|
-
and experience difficulty accessing this content,
|
87
|
-
please contact the Digital Accessibility Center
|
88
|
-
for assistance at <a class="bux-link" href="mailto:accessibility@osu.edu">
|
89
|
-
accessibility@osu.edu</a> or <a class="bux-link" href="tel:614-292-1760">614-292-1760</a>.
|
90
|
-
</div>
|
91
|
-
<div class="bux-footer__links">
|
92
|
-
<p class="bux_footer__link"><a class="bux-link"
|
93
|
-
href="https://go.osu.edu/privacy">Privacy Statement</a></p>
|
94
|
-
<p class="bux_footer__link"><a class="bux-link"
|
95
|
-
href="https://go.osu.edu/nondiscrimination-notice">Non-discrimination Notice</a></p>
|
96
|
-
</div>
|
97
|
-
<div class="bux-footer__copyright">© 2024 The Ohio State University</div>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
</div>
|
2
|
+
<%= render('bootstrap_bux/osu_footer', fill1: '#666666;', fill2: '#BA0C2F;') %>
|
102
3
|
</footer>
|
@@ -1,102 +1,3 @@
|
|
1
1
|
<footer class="bux-footer bux-footer--white">
|
2
|
-
|
3
|
-
<div class="row">
|
4
|
-
<div class="col">
|
5
|
-
<div class="bux-footer__logo">
|
6
|
-
<a href="http://osu.edu" target="_blank">
|
7
|
-
<%= render 'bootstrap_bux/footer_logo', fill1: '#666666;', fill2: '#BA0C2F;' %>
|
8
|
-
</a>
|
9
|
-
</div>
|
10
|
-
<div class="bux-footer__contact bux-footer__contact--address">
|
11
|
-
<p class="bux_footer__site-name"><%= BootstrapBux.configuration.department_name %></p>
|
12
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.building_room %></p>
|
13
|
-
<p class="bux_footer__address"><%= BootstrapBux.configuration.address %></p>
|
14
|
-
<p class="bux_footer__address">Columbus, OH 43210</p>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="bux-footer__contact bux-footer__contact--email-phone">
|
18
|
-
<hr />
|
19
|
-
<p class="bux_footer__email"><a class="bux-link" href="mailto:<%= BootstrapBux.configuration.email %>"><%= BootstrapBux.configuration.email %></a></p>
|
20
|
-
<p class="bux_footer__phone"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.phone %>">Phone: <%= BootstrapBux.configuration.phone %></a></p>
|
21
|
-
<p class="bux_footer__fax"><a class="bux-link" href="tel:<%= BootstrapBux.configuration.fax %>">Fax: <%= BootstrapBux.configuration.fax %></a></p>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="col text-end">
|
25
|
-
<% unless BootstrapBux.configuration.facebook.blank? && BootstrapBux.configuration.twitter.blank? && BootstrapBux.configuration.instagram.blank? && BootstrapBux.configuration.linkedin = nil.blank? && BootstrapBux.configuration.youtube = nil.blank? && BootstrapBux.configuration.tiktok = nil %>
|
26
|
-
<div class="bux-footer__social">
|
27
|
-
<ul class="bux-social-links">
|
28
|
-
<% unless BootstrapBux.configuration.facebook.blank? %>
|
29
|
-
<li class="bux-social-links__item bux-social-links__item--Facebook">
|
30
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.facebook %>" target="_blank">
|
31
|
-
<span class="visually-hidden">Facebook profile — external</span>
|
32
|
-
<span class="icon icon-facebook" aria-hidden="true"></span>
|
33
|
-
</a>
|
34
|
-
</li>
|
35
|
-
<% end %>
|
36
|
-
<% unless BootstrapBux.configuration.instagram.blank? %>
|
37
|
-
<li class="bux-social-links__item bux-social-links__item--Instagram">
|
38
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.instagram %>"
|
39
|
-
target="_blank">
|
40
|
-
<span class="visually-hidden">Instagram profile — external</span>
|
41
|
-
<span class="icon icon-instagram" aria-hidden="true"></span>
|
42
|
-
</a>
|
43
|
-
</li>
|
44
|
-
<% end %>
|
45
|
-
<% unless BootstrapBux.configuration.twitter.blank? %>
|
46
|
-
<li class="bux-social-links__item bux-social-links__item--X">
|
47
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.twitter %>" target="_blank">
|
48
|
-
<span class="visually-hidden">X profile — external</span>
|
49
|
-
<span class="icon icon-x" aria-hidden="true"></span>
|
50
|
-
</a>
|
51
|
-
</li>
|
52
|
-
<% end %>
|
53
|
-
<% unless BootstrapBux.configuration.linkedin.blank? %>
|
54
|
-
<li class="bux-social-links__item bux-social-links__item--LinkedIn">
|
55
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.linkedin %>"
|
56
|
-
target="_blank">
|
57
|
-
<span class="visually-hidden">LinkedIn profile — external</span>
|
58
|
-
<span class="icon icon-linkedin" aria-hidden="true"></span>
|
59
|
-
</a>
|
60
|
-
</li>
|
61
|
-
<% end %>
|
62
|
-
<% unless BootstrapBux.configuration.youtube.blank? %>
|
63
|
-
<li class="bux-social-links__item bux-social-links__item--YouTube">
|
64
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.youtube %>"
|
65
|
-
target="_blank">
|
66
|
-
<span class="visually-hidden">YouTube profile — external</span>
|
67
|
-
<span class="icon icon-youtube" aria-hidden="true"></span>
|
68
|
-
</a>
|
69
|
-
</li>
|
70
|
-
<% end %>
|
71
|
-
<% unless BootstrapBux.configuration.tiktok.blank? %>
|
72
|
-
<li class="bux-social-links__item bux-social-links__item--TikTok">
|
73
|
-
<a class="bux-social-links__link" href="<%= BootstrapBux.configuration.tiktok %>" target="_blank">
|
74
|
-
<span class="visually-hidden">TikTok profile — external</span>
|
75
|
-
<span class="icon icon-tiktok" aria-hidden="true"></span>
|
76
|
-
</a>
|
77
|
-
</li>
|
78
|
-
<% end %>
|
79
|
-
</ul>
|
80
|
-
</div>
|
81
|
-
<% end %>
|
82
|
-
|
83
|
-
<div class="bux-footer__fine-print">
|
84
|
-
<div class="bux-footer__ada">
|
85
|
-
If you have a disability
|
86
|
-
and experience difficulty accessing this content,
|
87
|
-
please contact the Digital Accessibility Center
|
88
|
-
for assistance at <a class="bux-link" href="mailto:accessibility@osu.edu">
|
89
|
-
accessibility@osu.edu</a> or <a class="bux-link" href="tel:614-292-1760">614-292-1760</a>.
|
90
|
-
</div>
|
91
|
-
<div class="bux-footer__links">
|
92
|
-
<p class="bux_footer__link"><a class="bux-link"
|
93
|
-
href="https://go.osu.edu/privacy">Privacy Statement</a></p>
|
94
|
-
<p class="bux_footer__link"><a class="bux-link"
|
95
|
-
href="https://go.osu.edu/nondiscrimination-notice">Non-discrimination Notice</a></p>
|
96
|
-
</div>
|
97
|
-
<div class="bux-footer__copyright">© 2024 The Ohio State University</div>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
</div>
|
2
|
+
<%= render('bootstrap_bux/osu_footer', fill1: '#666666;', fill2: '#BA0C2F;') %>
|
102
3
|
</footer>
|
data/lib/bootstrap_bux.rb
CHANGED
@@ -8,10 +8,6 @@ module BootstrapBux
|
|
8
8
|
|
9
9
|
class << self
|
10
10
|
attr_accessor :configuration
|
11
|
-
|
12
|
-
# if defined?(::Sprockets)
|
13
|
-
# Sprockets.append_path(File.join (File.expand_path '..', File.dirname(__FILE__)), 'assets', 'stylesheets', 'bootstrap_bux')
|
14
|
-
# end
|
15
11
|
end
|
16
12
|
|
17
13
|
def self.configure
|
@@ -22,7 +18,7 @@ module BootstrapBux
|
|
22
18
|
# grab the config options
|
23
19
|
class Configuration
|
24
20
|
attr_accessor :department_name, :building_room, :address, :email, :phone, :fax, :facebook, :twitter, :instagram,
|
25
|
-
:linkedin, :youtube, :tiktok
|
21
|
+
:linkedin, :youtube, :tiktok, :signin_link, :signout_link
|
26
22
|
|
27
23
|
@department_name = "My Office"
|
28
24
|
@building_room = "100 Building Name"
|
@@ -37,5 +33,8 @@ module BootstrapBux
|
|
37
33
|
@linkedin = nil
|
38
34
|
@youtube = nil
|
39
35
|
@tiktok = nil
|
36
|
+
|
37
|
+
@signin_link = nil
|
38
|
+
@signout_link = nil
|
40
39
|
end
|
41
40
|
end
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_bux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alison Furlong
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 7.0.0
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '7.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 7.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 7.0.0
|
30
27
|
- - "~>"
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '7.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 7.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sprockets-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,39 +65,39 @@ dependencies:
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 5.3.3
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
68
|
+
name: rspec-rails
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '1
|
73
|
+
version: '6.1'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 6.1.2
|
74
77
|
type: :development
|
75
78
|
prerelease: false
|
76
79
|
version_requirements: !ruby/object:Gem::Requirement
|
77
80
|
requirements:
|
78
81
|
- - "~>"
|
79
82
|
- !ruby/object:Gem::Version
|
80
|
-
version: '1
|
83
|
+
version: '6.1'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 6.1.2
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
88
|
+
name: rubocop
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|
84
90
|
requirements:
|
85
91
|
- - "~>"
|
86
92
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 6.1.2
|
93
|
+
version: '1.64'
|
91
94
|
type: :development
|
92
95
|
prerelease: false
|
93
96
|
version_requirements: !ruby/object:Gem::Requirement
|
94
97
|
requirements:
|
95
98
|
- - "~>"
|
96
99
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 6.1.2
|
100
|
+
version: '1.64'
|
101
101
|
description: A Rails-y way to install minimal Bux w/Bootstrap and generate OSU headers
|
102
102
|
and footers
|
103
103
|
email:
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- app/assets/stylesheets/bootstrap_bux/application.css
|
112
112
|
- app/views/bootstrap_bux/_footer_logo.html.erb
|
113
113
|
- app/views/bootstrap_bux/_header_logo.html.erb
|
114
|
+
- app/views/bootstrap_bux/_osu_footer.html.erb
|
114
115
|
- app/views/bootstrap_bux/_osu_footer_dark.html.erb
|
115
116
|
- app/views/bootstrap_bux/_osu_footer_light.html.erb
|
116
117
|
- app/views/bootstrap_bux/_osu_footer_white.html.erb
|
@@ -127,7 +128,7 @@ metadata:
|
|
127
128
|
homepage_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
|
128
129
|
source_code_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
|
129
130
|
changelog_uri: https://code.osu.edu/asctech/bootstrap_bux_gem/CHANGELOG.md
|
130
|
-
post_install_message:
|
131
|
+
post_install_message:
|
131
132
|
rdoc_options: []
|
132
133
|
require_paths:
|
133
134
|
- lib
|
@@ -144,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
145
|
- !ruby/object:Gem::Version
|
145
146
|
version: '0'
|
146
147
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
148
|
+
rubygems_version: 3.5.3
|
149
|
+
signing_key:
|
149
150
|
specification_version: 4
|
150
151
|
summary: Bootstrap + mini-Bux + Rails
|
151
152
|
test_files: []
|