Module: CCS::FrontendHelpers::CCSFrontend::Footer

Included in:
CCS::FrontendHelpers::CCSFrontend
Defined in:
lib/ccs/frontend_helpers/ccs_frontend/footer.rb

Overview

CCS Footer

This helper is used for generating the footer component from the CCS - Components - Footer

Instance Method Summary collapse

Instance Method Details

Generates the HTML for the CCS Footer component

Parameters:

  • navigation (Array<Hash>)

    an array of sections for the footer navigation. See Navigation#initialize for details of the items in the array.

  • meta (Hash)

    ptions for the meta section of the footer. See Meta#initialize for details of the options.

  • options (Hash)

    options that will be used in customising the HTML

Returns:

  • (ActiveSupport::SafeBuffer)


22
23
24
# File 'lib/ccs/frontend_helpers/ccs_frontend/footer.rb', line 22

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