Support ind.ie
This commit is contained in:
parent
525b76c661
commit
cc8e220bb5
@ -12,4 +12,5 @@
|
|||||||
*= require preview
|
*= require preview
|
||||||
*= require player
|
*= require player
|
||||||
*= require contributing
|
*= require contributing
|
||||||
|
*= require banner
|
||||||
*/
|
*/
|
||||||
|
16
app/assets/stylesheets/banner.sass
Normal file
16
app/assets/stylesheets/banner.sass
Normal 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
|
7
app/views/layouts/_banner.html.slim
Normal file
7
app/views/layouts/_banner.html.slim
Normal 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.
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user