Sha256: 30d89c0c81bbe7c9afa94e7473f572998c8e3222298aee2de2c6283d65c34b7c

Contents?: true

Size: 799 Bytes

Versions: 10

Compression:

Stored size: 799 Bytes

Contents

# frozen_string_literal: true

require_relative '../../components/ccs/footer'

module CCS
  module FrontendHelpers
    module CCSFrontend
      # = CCS Footer
      #
      # This helper is used for generating the footer component from the
      # {https://github.com/tim-s-ccs/ts-ccs-frontend/tree/main/src/ccs/components/footer CCS - Components - Footer}

      module Footer
        # Generates the HTML for the CCS Footer component
        #
        # @param (see CCS::Components::CCS::Footer#initialize)
        #
        # @option (see CCS::Components::CCS::Footer#initialize)
        #
        # @return (see CCS::Components::CCS::Footer#render)

        def ccs_footer(**options)
          Components::CCS::Footer.new(context: self, **options).render
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ccs-frontend_helpers-0.3.0 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.2.0 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.2 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.1 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.1.rc.1 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.0.rc.7 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.0.rc.6 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.0.rc.5 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.0.rc.4 lib/ccs/frontend_helpers/ccs_frontend/footer.rb
ccs-frontend_helpers-0.1.0.rc.3 lib/ccs/frontend_helpers/ccs_frontend/footer.rb