Sha256: 8b763dde3f996223907360d6c8b2940a424e742fb7ac5fafae3253df23df0853
Contents?: true
Size: 478 Bytes
Versions: 5
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true class SolidusAdmin::Layout::SkipLink::Component < SolidusAdmin::BaseComponent def initialize(href:) @href = href end def call link_to t(".skip_link"), @href, class: %{ sr-only focus:not-sr-only inline-block focus:p-2 focus:absolute font-normal text-sm text-white bg-black } end end
Version data entries
5 entries across 5 versions & 1 rubygems