Sha256: 1d8338e0e908cf1d43e2b020d56bc2343d29395fb94f34cf009563cbd647f06a
Contents?: true
Size: 445 Bytes
Versions: 18
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module Blacklight class TopNavbarComponent < Blacklight::Component def initialize(blacklight_config:) @blacklight_config = blacklight_config end attr_reader :blacklight_config delegate :application_name, :container_classes, to: :helpers def logo_link(title: application_name) link_to title, blacklight_config.logo_link, class: 'mb-0 navbar-brand navbar-logo' end end end
Version data entries
18 entries across 17 versions & 2 rubygems