Sha256: ef109b8ab40ae871675678ae38bb6326e49228d338a8390f2e28de9b1c3add20
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 Bytes
Contents
# frozen_string_literal: true module Blacklight class SkipLinkComponent < Blacklight::Component def link_to_search link_to t('blacklight.skip_links.search_field'), '#search_field', class: link_classes end def link_to_main link_to t('blacklight.skip_links.main_content'), '#main-container', class: link_classes end def link_classes 'd-inline-flex p-2 m-1' end end end
Version data entries
5 entries across 5 versions & 1 rubygems