Skip to content

Commit 2591906

Browse files
committed
Update theme gem and add skip_links partial
Why these changes are being introduced: We are trying out custom skip links for this application, as it has a relatively complex navigation structure. The theme gem has been updated to support this, using a new `_skip_links` partial. Relevant ticket(s): * [GDT-161](https://mitlibraries.atlassian.net/browse/GDT-161) How this addresses that need: This updates the theme gem and adds the new partial as-is. It will be customized in a subsequent commit. Side effects of this change: A small amount of technical debt may be added here, but incorporating a layout that needs to remain compatible with the upstream theme gem. However, the partial itself is very simple, so it's unlikely that any maintenance will be required.
1 parent 83d99c1 commit 2591906

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ gem 'graphql-client'
99
gem 'http'
1010
gem 'importmap-rails'
1111
gem 'jbuilder'
12-
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.2'
12+
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.4'
1313
gem 'puma'
1414
gem 'rails', '~> 7.0'
1515
gem 'sentry-rails'

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GIT
22
remote: https://github.com/mitlibraries/mitlibraries-theme
3-
revision: bcbe5d3de36a92d275085a045c5c4d8f30f33e62
4-
tag: v1.2
3+
revision: ba5bdc9840ef817ba0b92e522b92da3f52669fc3
4+
tag: v1.4
55
specs:
66
mitlibraries-theme (1.0.2)
77
rails (>= 6, < 8)
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a id="skip" class="sr sr-focusable" href="#content-main">Skip to main content</a>

0 commit comments

Comments
 (0)