Sha256: 84b8cdec533e3b79ade1bb06aaadc0e0648afe9d4a285898f8665c7a45c8861e
Contents?: true
Size: 905 Bytes
Versions: 13
Compression:
Stored size: 905 Bytes
Contents
%header = yield :navbar #intro.view.hm-black-strong{ style: "background-image: url('#{block.background.url}')" } .container-fluid.full-bg-img.d-flex.align-items-center.justify-content-center .row.d-flex.justify-content-center .col-md-10.text-center %h2.display-3.font-bold.white-text.mb-2 = block.title %hr.hr-light %h4.white-text.my-4 = block.tagline - if defined?(buttons) && buttons&.any? - buttons.each do |button| - data_obj = {} - data_obj = data_obj.merge(href: button.link) if button.try :link - data_obj = data_obj.merge(anchor: button.anchor) if button.try :anchor %button.btn.btn-outline-white.waves-effect.waves-light.header-buttons.link{ type: :button, data: data_obj } = button.title - else = yield
Version data entries
13 entries across 13 versions & 1 rubygems