Skip to content

Commit

Permalink
Google ad also on coin overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Riou committed Mar 25, 2019
1 parent dc63bb9 commit 0e3555e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ a.coin:hover {
font-family:monospace;
}
.ad {
display: none;
/* display: none; */
text-align: center;
}
.ad span {
Expand Down
13 changes: 9 additions & 4 deletions templates/coin_overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@ <h1>{{ coin_symbol|coin_symbol_to_display_name }} Explorer</h1>
<div class="container">

<div class="ad">
<a id="ad-link" href="">
<img src=""/>
<span>Buy and Sell Instantly</span>
</a>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Main explorer -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8670884776365868"
data-ad-slot="7521279835"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

<div class="section">
Expand Down

0 comments on commit 0e3555e

Please sign in to comment.