bootstrap_bux 0.1.15 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a8d8a788e089c8233c6a3264414e776a219021d1c48e26c62bb606e81cfd130
4
- data.tar.gz: 6f7cf0376cd97e92d1c00ba9f17178c720c9dfd03a5f4867058e35daccace9fd
3
+ metadata.gz: 838c3b5795dbf1e1c27ad6cc5f2560a447f3a0d299928df6f133b35915a3cb50
4
+ data.tar.gz: 0f167b6975a6f388d4ccc2cfbbc9e183437a733951a374d611457cb584211b0f
5
5
  SHA512:
6
- metadata.gz: acbc49029b75b6bdae38e5c11e7361a49a04e598d282d4915ae65053c654815e328c639345f15d2ddfd050eeb9a073bae73cc951906163b2a22c2988b3203b81
7
- data.tar.gz: ffceb8f2ba029dd5c70baf549855f634384bc45e37be8c61ff169c7d4ee82320c467a8c08bccf6f8a58fa33aae36cc9b4ea0676511b5675371d53b8f976cf7b5
6
+ metadata.gz: 05c7665f016e903a716f0bd3ed1c640b5f7cc110582d01ffcd1b28df994df6949af396136dfec1c995c27fde553d61de06228e6be4ac413c8caeda26f1cdef7b
7
+ data.tar.gz: 758b6317d75d1c289413f8b45f8c2d511bd97b039bf030f9bd1cac45709924d505119261df1b719d7371e9e694d936c965bb05eaac9699811fe773a708a14f88
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:
@@ -938,4 +938,12 @@ ol.bux-breadcrumb__list {
938
938
 
939
939
  .bux-accordion .accordion-button:not(.collapsed)::before {
940
940
  content: "\f007";
941
+ }
942
+
943
+ /* workaround for login link */
944
+ .bux-link.btn.btn-link {
945
+ border: none;
946
+ padding-right: 0;
947
+ font-size: small;
948
+ text-decoration: underline;
941
949
  }
@@ -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 btn btn-link') %>
98
+ <% else %>
99
+ <%= link_to('Log In', BootstrapBux.configuration.signin_link, method: :post, class: 'bux-link btn btn-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
- <div class="container">
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
- <div class="container">
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
- <div class="container">
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,4 +1,4 @@
1
- <a href="#main-content" class="visually-hidden focusable skip-link">
1
+ <a href="#main-content" class="visually-hidden-focusable skip-link">
2
2
  Skip to main content
3
3
  </a>
4
4
 
@@ -16,4 +16,8 @@ BootstrapBux.configure do |config|
16
16
  config.linkedin = nil
17
17
  config.youtube = nil
18
18
  config.tiktok = nil
19
+
20
+ # add values for these if you wish to include a login link in the footer
21
+ config.signin_link = nil
22
+ config.signout_link = nil
19
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BootstrapBux
4
- VERSION = "0.1.15"
4
+ VERSION = "0.2.2"
5
5
  end
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_bux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alison Furlong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-14 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -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: rubocop
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.64'
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.64'
83
+ version: '6.1'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 6.1.2
81
87
  - !ruby/object:Gem::Dependency
82
- name: rspec-rails
88
+ name: rubocop
83
89
  requirement: !ruby/object:Gem::Requirement
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: '6.1'
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: '6.1'
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