Sha256: 2ce23ac29763a9fcb6de882072c862642b0122baa046d399a23a28c68f492a55

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

= javascript_include_tag 'tramway/landing/smooth-scroll'
= render 'tramway/landing/blocks/templates/full_page', block: OpenStruct.new(title: yield(:application_name), tagline: yield(:application_tagline), background: block.background), buttons: @links&.select { |link| !link.is_a? Hash }
%script
  var scroll = new SmoothScroll('a[href*="#"]');

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-landing-2.2 app/views/tramway/landing/blocks/block_types/_header.html.haml