Support ind.ie

This commit is contained in:
Marcin Kulik 2014-12-05 23:44:04 +00:00
parent 525b76c661
commit cc8e220bb5
4 changed files with 25 additions and 0 deletions

View File

@ -12,4 +12,5 @@
*= require preview *= require preview
*= require player *= require player
*= require contributing *= require contributing
*= require banner
*/ */

View File

@ -0,0 +1,16 @@
.banner
padding: 10px
color: white
background-color: #333
p
margin: 0
font-weight: bold
.indie
background-image: url('https://ind.ie/static/build/images/site-header-balloon.svg')
background-repeat: no-repeat
background-size: 38px auto
background-position: 26px 0px
display: inline-block
width: 56px

View File

@ -0,0 +1,7 @@
.banner
.container
p
' Be the hope. Help
a href="https://ind.ie/" class="indie" ind.ie
' build independent technologies that protect your human rights.
a href="https://ind.ie/" Learn more.

View File

@ -11,6 +11,7 @@ html[lang="en"]
= favicon_link_tag 'favicon.png' = favicon_link_tag 'favicon.png'
= render 'layouts/ga' = render 'layouts/ga'
body body
= render 'layouts/banner'
= render 'layouts/header' = render 'layouts/header'
= render 'shared/flash' = render 'shared/flash'
.main = content_for?(:content) ? yield(:content) : yield .main = content_for?(:content) ? yield(:content) : yield