Skip to content

Commit

Permalink
add hero layout, fix navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 6, 2020
1 parent 8da9a9f commit 2772d8d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
%link(rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png")
%link(rel="shortcut icon" href="/favicon.ico")
%link(rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png")
%body.has-navbar-fixed-top
= render 'navbar'
.main-section
%section.hero.is-fullheight-with-navbar#hero-section
.hero-head
.container
= render 'flashs'
= yield
.hero-body
.hero-foot
= render 'footer'
%body
%section.hero
.hero-head
= render 'navbar'
= render 'flashs'
- if content_for?(:hero_head)
= yield(:hero_head)
.hero-body
.container
= yield
.hero-foot
= render 'footer'

0 comments on commit 2772d8d

Please sign in to comment.