Sha256: fa256f823006e3e75289c245c511e3ac7f9633562d3adaacef0b187be3258607
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
%header %nav.navbar.navbar-expand-lg.navbar-dark.indigo.scrolling-navbar.fixed-top = link_to yield(:application_name), '#', class: 'navbar-brand' %button.navbar-toggler{ type: :button, data: { toggle: :collapse, target: '#navbarSupportedContent' }, aria: { controls: 'navbarSupportedContent', expanded: 'false', label: 'Toggle navigation' } } = fa_icon :bars .collapse.navbar-collapse#navbarSupportedContent %ul.navbar-nav.mr-auto - @blocks.with_navbar_link.each do |block| = menu_item block.title, "##{block.anchor}" #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 = yield(:application_name) %hr.hr-light %h4.white-text.my-4 = yield(:application_tagline) - @blocks.with_navbar_link.each do |block| %button.btn.btn-outline-white.waves-effect.waves-light.header-buttons{ type: :button, data: { anchor: "##{block.anchor}" } } = block.title
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-landing-1.0 | app/views/tramway/landing/blocks/block_types/_header.html.haml |