Skip to content

Commit

Permalink
😄
Browse files Browse the repository at this point in the history
  • Loading branch information
Serge Borbit authored and Serge Borbit committed Aug 27, 2015
1 parent cae09c1 commit 60c6ce8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
7 changes: 7 additions & 0 deletions public/blocks/body/body.coffee
Expand Up @@ -98,4 +98,11 @@ module.exports = React.createClass
<div className={classAbout}>
<About />
</div>}
<div className="body__ads">
<ins className="adsbygoogle"
style={{'display': 'block'}}
data-ad-client="ca-pub-9971465415163109"
data-ad-slot="6900512275"
data-ad-format="auto"/>
</div>
</main>
21 changes: 21 additions & 0 deletions public/blocks/body/body.less
Expand Up @@ -41,4 +41,25 @@
border-width: 2px 0;
}
}

&__ads {
position: relative;
margin-top: 20px;
margin-bottom: 20px;
border: solid currentColor;
border-width: 0 2px;
height: 120px;

&:after {
position: absolute;
z-index: -1;
top: -2px;
left: 0;
height: 100%;
width: 100%;
content: "";
border: solid currentColor;
border-width: 2px 0;
}
}
}
2 changes: 2 additions & 0 deletions public/pages/layout_foot.ejs
Expand Up @@ -18,7 +18,9 @@
});
</script>
<% } -%>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({})
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
Expand Down

0 comments on commit 60c6ce8

Please sign in to comment.