Sha256: e772b60a8817ebc855345c04ea5d898d37df363e084cd11bb1d7c4bcf5529e47
Contents?: true
Size: 1.3 KB
Versions: 10
Compression:
Stored size: 1.3 KB
Contents
= javascript_include_tag 'tramway/landing/smooth-scroll' %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 %script var scroll = new SmoothScroll('a[href*="#"]');
Version data entries
10 entries across 10 versions & 1 rubygems